次の方法で共有


USB Host Client Driver Functions (Compact 2013)

3/26/2014

The following table shows the universal serial bus (USB) driver functions.

Programming element

Description

AbortTransfer

This function aborts an active transfer.

AcquireRemoveLock

This function acquires a remove lock. It attempts to call InterlockedIncrement on Lock.

ClearOrSetFeature

This function sends a CLEAR_FEATURE or SET_FEATURE request to a USB device.

CloseTransferHandle

This function closes a USB transfer handle.

DefaultTransferComplete

This function signals the event passed in when USB signals that a transfer has completed.

GetSetKeyValues

This function gets or sets values under the HKEY_LOCAL_MACHINE\KeyName registry key.

GetStatus

This function sends a GET_STATUS request to a USB device.

GetTransferStatus

This function gets the status of an active transfer.

InitializeRemoveLock

This function creates a remove lock.

IssueBulkTransfer

This function initiates a bulk transfer to a USB device on the specified endpoint.

IssueInterruptTransfer

This function initiates an interrupt transfer with a USB device on the specified endpoint.

IssueVendorTransfer

This function sends a vendor-specific control transfer to a USB device.

ReleaseRemoveLock

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.

ReleaseRemoveLockAndWait

This function closes the lock event handle so the same lock cannot be reentered. This is the final function called on the remove lock.

ResetBulkEndpoint

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.

ResetDefaultEndpoint

This function attempts to reset the default endpoint zero.

ResetPipe

This function resets an open USB pipe.

See Also

Reference

USB Host Client Driver Reference