USBInstallDriver

This function installs a USB client driver.

Syntax

BOOL USBInstallDriver( LPCWSTR szDriverLibFile );

Parameters

szDriverLibFile
[IN] Specifies the driver DLL name.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

This function is called by the USBD module when an unrecognized device is attached to the USB and the user enters the client driver DLL name. It registers a unique client identifier string with the USBD module and sets up any client driver settings.

This function is defined in the Mousedrv.cpp file.

See Also

USBUnInstallDriver