RegisterClientSettings

This function sets up USB driver load settings.

BOOL RegisterClientSettings(
  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 routine. It sets up appropriate registry keys based on lpDriverSettings so that the driver is loaded whenever the device is attached.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Usbdi.h.

See Also

UnRegisterClientSettings | USB_DRIVER_SETTINGS | USB Drivers

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.