LPREGISTER_CLIENT_SETTINGS (Windows Embedded CE 6.0)
1/6/2010
This function registers settings for loading a USB client driver.
Syntax
typedef BOOL (* LPREGISTER_CLIENT_SETTINGS)(
LPCWSTR szDriverLibFile,
LPCWSTR szUniqueDriverId,
LPCWSTR szReserved,
LPCUSB_DRIVER_SETTINGS lpDriverSettings
);
Parameters
- szDriverLibFile
[in] Client driver DLL name.
- szUniqueDriverId
[in] Unique client driver identifier string.
- szReserved
[in] Reserved, set to zero (0) to ensure compatibility with future versions.
- lpDriverSettings
[in] Pointer to a USB_DRIVER_SETTINGS structure that specifies how the driver is to be loaded.
Return Value
TRUE indicates success. FALSE indicates failure.
Remarks
Client drivers call this function during their installation functions. It sets up appropriate registry keys based on lpDriverSettings so that the driver is loaded whenever the device is attached.
Pass USB_NO_INFO to LPREGISTER_CLIENT_SETTINGS to load the client driver by default for any of the parameters in the USB_DRIVER_SETTINGS structure.
Requirements
Header | usbdi.h |
Windows Embedded CE | Windows CE 2.10 and later |
See Also
Reference
USB Host Driver Functions
LPUN_REGISTER_CLIENT_SETTINGS
USB_DRIVER_SETTINGS