USB Host Client Driver Functions (Compact 2013)
3/26/2014
The following table shows the universal serial bus (USB) driver functions.
Programming element |
Description |
---|---|
This function aborts an active transfer. |
|
This function acquires a remove lock. It attempts to call InterlockedIncrement on Lock. |
|
This function sends a CLEAR_FEATURE or SET_FEATURE request to a USB device. |
|
This function closes a USB transfer handle. |
|
This function signals the event passed in when USB signals that a transfer has completed. |
|
This function gets or sets values under the HKEY_LOCAL_MACHINE\KeyName registry key. |
|
This function sends a GET_STATUS request to a USB device. |
|
This function gets the status of an active transfer. |
|
This function creates a remove lock. |
|
This function initiates a bulk transfer to a USB device on the specified endpoint. |
|
This function initiates an interrupt transfer with a USB device on the specified endpoint. |
|
This function sends a vendor-specific control transfer to a USB device. |
|
This function releases the removal lock, decrements the lock count with InterlockedDecrement, and notifies the system that the device is safe to be removed with SetEvent. |
|
This function closes the lock event handle so the same lock cannot be reentered. This is the final function called on the remove lock. |
|
This function resets the pipe, and then checks the endpoint status on the device. If the endpoint is halted, this function sends a clear feature request through ClearOrSetFeature. |
|
This function attempts to reset the default endpoint zero. |
|
This function resets an open USB pipe. |