Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This structure contains the universal serial bus (USB) driver function table.
struct _USB_FUNCS { DWORD dwCount; LPGET_USBD_VERSION lpGetUSBDVersion; LPOPEN_CLIENT_REGISTRY_KEY lpOpenClientRegistyKey; LPREGISTER_NOTIFICATION_ROUTINE lpRegisterNotificationRoutine; LPUN_REGISTER_NOTIFICATION_ROUTINE lpUnRegisterNotificationRoutine; LPLOAD_GENERIC_INTERFACE_DRIVER lpLoadGenericInterfaceDriver; LPTRANSLATE_STRING_DESCR lpTranslateStringDesc; LPFIND_INTERFACE lpFindInterface; LPGET_FRAME_NUMBER lpGetFrameNumber; LPGET_FRAME_LENGTH lpGetFrameLength; LPTAKE_FRAME_LENGTH_CONTROL lpTakeFrameLengthControl; LPRELEASE_FRAME_LENGTH_CONTROL lpReleaseFrameLengthControl; LPSET_FRAME_LENGTH lpSetFrameLength; LPGET_DEVICE_INFO lpGetDeviceInfo; LPISSUE_VENDOR_TRANSFER lpIssueVendorTransfer; LPGET_INTERFACE lpGetInterface; LPSET_INTERFACE lpSetInterface; LPGET_DESCRIPTOR lpGetDescriptor; LPSET_DESCRIPTOR lpSetDescriptor; LPSET_FEATURE lpSetFeature; LPCLEAR_FEATURE lpClearFeature; LPGET_STATUS lpGetStatus; LPSYNC_FRAME lpSyncFrame; LPOPEN_PIPE lpOpenPipe; LPABORT_PIPE_TRANSFERS lpAbortPipeTransfers; LPRESET_PIPE lpResetPipe; LPCLOSE_PIPE lpClosePipe; LPIS_PIPE_HALTED lpIsPipeHalted; LPISSUE_CONTROL_TRANSFER lpIssueControlTransfer; LPISSUE_BULK_TRANSFER lpIssueBulkTransfer; LPISSUE_INTERRUPT_TRANSFER lpIssueInterruptTransfer; LPISSUE_ISOCH_TRANSFER lpIssueIsochTransfer; LPIS_TRANSFER_COMPLETE lpIsTransferComplete; LPGET_TRANSFER_STATUS lpGetTransferStatus; LPGET_ISOCH_RESULTS lpGetIsochResults; LPABORT_TRANSFER lpAbortTransfer; LPCLOSE_TRANSFER lpCloseTransfer; LPRESET_DEFAULT_PIPE lpResetDefaultPipe; LPIS_DEFAULT_PIPE_HALTED lpIsDefaultPipeHalted; LPDISABLE_DEVICE lpDisableDevice; LPSUSPEND_DEVICE lpSuspendDevice; LPRESUME_DEVICE lpResumeDevice;};
Members
- dwCount
Size of this structure in bytes. - lpGetUSBDVersion
Pointer to a LPGET_USBD_VERSION function. - lpOpenClientRegistyKey
Pointer to a LPOPEN_CLIENT_REGISTRY_KEY function. - lpRegisterNotificationRoutine
Pointer to a LPGET_USBD_VERSION function. - lpUnRegisterNotificationRoutine
Pointer to a LPREGISTER_NOTIFICATION_ROUTINE function. - lpLoadGenericInterfaceDriver
Pointer to a LPLOAD_GENERIC_INTERFACE_DRIVER function. - lpTranslateStringDesc
Pointer to a LPTRANSLATE_STRING_DESCR function. - lpFindInterface
Pointer to a LPFIND_INTERFACE function. - lpGetFrameNumber
Pointer to a LPGET_FRAME_NUMBER function. - lpGetFrameLength
Pointer to a LPGET_FRAME_LENGTH function. - lpTakeFrameLengthControl
Pointer to a LPTAKE_FRAME_LENGTH_CONTROL function. - lpReleaseFrameLengthControl
Pointer to a LPRELEASE_FRAME_LENGTH_CONTROL function. - lpSetFrameLength
Pointer to a LPSET_FRAME_LENGTH function. - lpGetDeviceInfo
Pointer to a LPGET_DEVICE_INFO function. - lpIssueVendorTransfer
Pointer to a LPISSUE_VENDOR_TRANSFER function. - lpGetInterface
Pointer to a LPGET_INTERFACE function. - lpSetInterface
Pointer to a LPSET_INTERFACE function. - lpGetDescriptor
Pointer to a LPGET_DESCRIPTOR function. - lpSetDescriptor
Pointer to a LPSET_DESCRIPTOR function. - lpSetFeature
Pointer to a LPSET_FEATURE function. - lpClearFeature
Pointer to a LPCLEAR_FEATURE function. - lpGetStatus
Pointer to a LPGET_STATUS function. - lpSyncFrame
Pointer to a LPSYNC_FRAME function. - lpOpenPipe
Pointer to a LPOPEN_PIPE function. - lpAbortPipeTransfers
Pointer to a LPABORT_PIPE_TRANSFERS function. - lpResetPipe
Pointer to a LPRESET_PIPE function. - lpClosePipe
Pointer to a LPCLOSE_PIPE function. - lpIsPipeHalted
Pointer to a LPIS_PIPE_HALTED function. - lpIssueControlTransfer
Pointer to a LPISSUE_CONTROL_TRANSFER function. - lpIssueBulkTransfer
Pointer to a LPISSUE_BULK_TRANSFER function. - lpIssueInterruptTransfer
Pointer to a LPISSUE_INTERRUPT_TRANSFER function. - lpIssueIsochTransfer
Pointer to a LPISSUE_ISOCH_TRANSFER function. - lpIsTransferComplete
Pointer to a LPIS_TRANSFER_COMPLETE function. - lpGetTransferStatus
Pointer to a LPGET_TRANSFER_STATUS function. - lpGetIsochResults
Pointer to a LPGET_ISOCH_RESULTS function. - lpAbortTransfer
Pointer to a LPABORT_TRANSFER function. - lpCloseTransfer
Pointer to a LPCLOSE_TRANSFER function. - lpResetDefaultPipe
Pointer to a LPRESET_DEFAULT_PIPE function. - lpIsDefaultPipeHalted
Pointer to a LPIS_DEFAULT_PIPE_HALTED function. - lpDisableDevice
Pointer to a LPDISABLE_DEVICE function. - lpSuspendDevice
Pointer to a LPSUSPEND_DEVICE function. - lpResumeDevice
Pointer to a LPRESUME_DEVICE function.
Remarks
The following code example shows how this structure is declared in Usbd.cpp.
struct _USB_FUNCS;
typedef struct _USB_FUNCS USB_FUNCS, * PUSB_FUNCS, * LPUSB_FUNCS;
typedef struct _USB_FUNCS const * PCUSB_FUNCS;
typedef struct _USB_FUNCS const * LPCUSB_FUNCS;
Requirements
OS Versions: Windows CE 2.10 and later.
Header: Usbdi.h.
See Also
Send Feedback on this topic to the authors