Share via


LPUN_REGISTER_CLIENT_SETTINGS (Windows Embedded CE 6.0)

1/6/2010

This function deregisters the conditions under which a driver will be loaded.

Syntax

typedef BOOL (* LPUN_REGISTER_CLIENT_SETTINGS)(
  LPCWSTR szUniqueDriverId,
  LPCWSTR szReserved, 
  LPCUSB_DRIVER_SETTINGS lpDriverSettings
);

Parameters

  • szUniqueDriverId
    [in] Client driver DLL name.
  • szReserved
    [in] Reserved, set to zero (0) to ensure compatibility with future versions.
  • lpDriverSettings
    [in] Pointer to a USB_DRIVER_SETTINGS structure that must match the settings with which the client was registered.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

Client drivers call this function in their installation routine. It sets up appropriate registry keys based on lpDriverSettings so that the driver is loaded whenever the device is attached.

Requirements

Header usbdi.h
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

USB Host Driver Functions
LPREGISTER_CLIENT_SETTINGS
USB_DRIVER_SETTINGS