LPREGISTER_CLIENT_SETTINGS (Windows CE 5.0)
This function registers settings for loading a USB client driver.
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 Values
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
OS Versions: Windows CE 2.10 and later.
Header: Usbdi.h.
See Also
LPUN_REGISTER_CLIENT_SETTINGS | USB_DRIVER_SETTINGS
Send Feedback on this topic to the authors