Manuals
General operations
USB Device operations
Packet function operations
Serial function operations
Stream function operations
ECUSB_Packet_IsApplicationConnected
The ECUSB_Packet_IsApplicationConnected function reports if an application on the USB host has opened the Windows USB driver that connects to this device.
BOOL ECUSB_Packet_IsApplicationConnected(
struct ECUSB_Packet_Function *pPacketFunction
);
struct ECUSB_Packet_Function *pPacketFunction
);
Parameters
pPacketFunction
A pointer to the struct ECUSB_Packet_Function previously initialized by ECUSB_Packet_Init().
Return value
Returns TRUE if an application has opened the driver on the host.