Share via


LPUN_REGISTER_CLIENT_SETTINGS (Compact 2013)

3/26/2014

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).
  • 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

See Also

Reference

USB Driver Functions
LPREGISTER_CLIENT_SETTINGS
USB_DRIVER_SETTINGS