Microsoft Windows CE 3.0  

USB_DRIVER_SETTINGS

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This structure contains the members for USB drivers.

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
Specifies the size, in bytes, of the structure.
dwVendorId
Specifies the vendor identifier in the device descriptor.
dwProductId
Specifies the product identifier in the device descriptor.
dwReleaseNumber
Specifies the release number in the device descriptor.
dwDeviceClass
Specifies the device class in the device descriptor.
dwDeviceSubClass
Specifies the device subclass in the device descriptor.
dwDeviceProtocol
Specifies the protocol in the device descriptor.
dwInterfaceClass
Specifies the class in the interface descriptor.
dwInterfaceSubClass
Specifies the subclass in the interface descriptor.
dwInterfaceProtocol
Specifies the protocol in the interface descriptor.

Remarks

This structure is passed to the RegisterClientSettingsfunction to enable the USBD module to recognize a USB driver. The contents of this structure control how the USBD module matches this driver against the members of actual USB devices at the time when a device is connected to a Windows CE–based platform. Any of the members may 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

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Usbdi.h    
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.


 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.