Partager via


USBInstallDriver (Compact 2013)

3/26/2014

This function installs a universal serial bus (USB) client driver. USB host client drivers must implement this function.

Syntax

BOOL USBInstallDriver(
  LPCWSTR szDriverLibFile 
);

Parameters

  • szDriverLibFile
    [in] Driver DLL name.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

The USB driver module calls this function when an unrecognized device is attached to the USB port and the user enters the client driver's DLL name. It registers a unique client identifier string with the USB driver module and sets up client driver settings.

Requirements

Header

usbdi.h

See Also

Reference

USB Driver Functions
USBUnInstallDriver