Home |
Function RTUEndpointPacketSize Function RTUParentDevice |
Function RTUParentDeviceRTUParentDevice retrieves the device handle of the hub a device is connected to: RTUDeviceHandle RTUParentDevice(RTUDeviceHandle Device); ParametersDeviceHandle of a USB device. return valueThe device's parent or NULL if Device is NULL, a virtual root hub, or has been disconnected. Since devices can be attached and detached at any time, the returned handle may be invalid if used in a subsequent call (the device might have been removed in the mean time). To guard against device attachment and detachment while the application steps through the device tree, it is recommended to temporarily disable the RTUSB-32 internal Hub class driver using RTUSuspendHubs.
|