Home |
Function RTUCallOnDisconnect |
Function RTUCallOnDisconnectRTUCallOnDisconnect requests RTUSB-32 to inform the calling callback of a device's disconnect event, even if it does not claim any interface: int RTUCallOnDisconnect(RTUDeviceHandle Device, RTUConnectCallback ClientCallback); ParametersDeviceDevice handle passed to an attachment/detachment callback. ClientCallbackAddress of the attachment/detachment callback to call for the RTUDisconnect event. This callback will be called when Device is detached. ClientCallback must have been registered previously with RTURegisterCallback. return valueRTU_SUCCESS if the function succeeds, a negative error code on failure. This function needs only be called if RTUClaimInterface is not called. This function must only be called from an attachment/detachment callback for the RTUConnect event.
|