UnRegisterClientSettings

This function deregisters USB device driver settings.

Syntax

BOOL UnRegisterClientSettings( LPCWSTR szUniqueDriverId,
LPCWSTR
szReserved, LPCUSB_DRIVER_SETTINGS lpDriverSettings );

Parameters

szUniqueDriverId
[IN] Specifies the client driver DLL name.
szReserved
[IN] Reserved. Set to 0 to ensure compatibility with future versions of Windows CE.
lpDriverSettings
[IN] Pointer to a driver settings structure that must match the settings the client was registered with.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

This function is called by client drivers in their installation routine. It sets up appropriate registry keys, based on lpDriverSettings so that the driver is loaded whenever the device is attached.

This function is defined in the Mousedrv.cpp file.

See Also

USB_DRIVER_SETTINGS, RegisterClientSettings