USB_DRIVER_SETTINGS (Compact 2013)
3/26/2014
This structure contains the members for universal serial bus (USB) drivers.
Syntax
typedef struct {
DWORD dwCount;
DWORD dwVendorId;
DWORD dwProductId;
DWORD dwReleaseNumber;
DWORD dwDeviceClass;
DWORD dwDeviceSubClass;
DWORD dwDeviceProtocol;
DWORD dwInterfaceClass;
DWORD dwInterfaceSubClass;
DWORD dwInterfaceProtocol;
} USB_DRIVER_SETTINGS;
Members
- dwCount
Size, in bytes, of the structure.
- dwVendorId
Vendor identifier in the device descriptor.
- dwProductId
Product identifier in the device descriptor.
- dwReleaseNumber
Release number in the device descriptor.
- dwDeviceClass
Device class in the device descriptor.
- dwDeviceSubClass
Device subclass in the device descriptor.
- dwDeviceProtocol
Protocol in the device descriptor.
- dwInterfaceClass
Class in the interface descriptor.
- dwInterfaceSubClass
Subclass in the interface descriptor.
- dwInterfaceProtocol
Protocol in the interface descriptor.
Remarks
This structure is passed to the LPREGISTER_CLIENT_SETTINGS function to enable the USB driver module to recognize a USB driver. The contents of this structure control how the USB driver module matches this driver against the members of actual USB devices when a device is connected to a hardware platform. Any of the members can be set to USB_NO_INFO, which indicates that the driver is loaded by default if all other members match and no other driver is a better match.
Requirements
Header |
usbdi.h |
See Also
Reference
USB Driver Structures
LPREGISTER_CLIENT_SETTINGS
LPUN_REGISTER_CLIENT_SETTINGS