USB Driver Functions (Compact 2013)
3/26/2014
The following table shows the universal serial bus (USB) host controller driver functions.
Programming element |
Description |
---|---|
This function returns an error value associated with a USB transfer. |
|
This function aborts all transfers on an open USB pipe. |
|
This function aborts an active transfer. |
|
This function sends a CLEAR_FEATURE request to a USB device. |
|
This function closes an open pipe handle. |
|
This function closes a USB transfer handle. |
|
This function receives device notifications. Client drivers register this function with the USBD to receive device notifications. |
|
This function disables an attached device by disabling the port on the USB hub. After the attached device is disabled, it can be optionally re-enabled by the USB host controller. |
|
This function searches for a specific interface on a USB device. |
|
This function sends a GET_DESCRIPTOR request to a USB device. |
|
This function gets a pointer to a device information structure. |
|
This function gets a current USB frame length. |
|
This function gets a current USB frame number. |
|
This function sends a request to a USB device for information about alternate device settings. |
|
This function gets the status of an active isochronous transfer. |
|
This function sends a GET_STATUS request to a USB device. |
|
This function gets the status of an active transfer. |
|
This function retrieves the version number of the current USB driver interface. |
|
This function is deprecated. It always returns FALSE. The default pipe never halts. |
|
This function checks if a USB pipe is in a halted state. |
|
This function checks whether a transfer has completed. |
|
This function initiates a bulk transfer to a USB device on the specified endpoint. |
|
This function initiates a control transfer with a USB device on the specified endpoint. |
|
This function initiates an interrupt transfer with a USB device on the specified endpoint. |
|
This function initiates an isochronous transfer with a USB device. |
|
This function sends a vendor-specific control transfer to a USB device. |
|
This function load drivers for other interfaces on a device. USB drivers call this function. |
|
This function opens a registry key associated with a USB client driver. |
|
This function opens a pipe for communication with a USB device. |
|
This function registers a unique string to identify a USB client driver. |
|
This function registers settings for loading a USB client driver. |
|
This function registers a callback function for device notifications. |
|
This function releases exclusive access to USB frame-length control. |
|
This function resets the default pipe to a USB device. |
|
This function resets an open USB pipe. |
|
This function resumes the attached device by resuming the port on the USB hub. |
|
This function sends a SET_DESCRIPTOR request to a USB device. |
|
This function sends a SET_FEATURE request to a USB device. |
|
This function changes the USB frame length. |
|
This function sends a SET_INTERFACE request to a USB device to change the device's settings. |
|
This function suspends an attached device by suspending the port on the USB hub. After being suspended, the device can be resumed by the LPRESUME_DEVICE function or by a global resume sent by the USB system. |
|
This function sends a SYNCH_FRAME request to a USB device. |
|
This function registers for exclusive access to control the USB frame length. |
|
This function executes when a transfer completes. |
|
This function translates a USB string descriptor into a null-terminated string. |
|
This function unregisters a client driver's unique driver identifier. |
|
This function deregisters USB device driver settings. |
|
This function removes a device notification callback function. |
|
This function is a USB device attach routine. USB host client drivers must implement this function. |
|
This function installs a USB client driver. USB host client drivers must implement this function. |
|
This function uninstalls a USB client driver. USB host client drivers must implement this function. |