Native (C++):
HRESULT
OnConnection
(
_FILETIME *
fTime,long
bConnected,wchar_t *
DeviceName)
;
Parameters
fTime
The time of the event.
bConnected
The value of this parameter is TRUE if device is connected and FALSE if device is disconnected.
DeviceName
Name of the device. You can get it by retrieving IDevice.Name at any time.
Return Value
S_OK or standard OLE error code.