USBInstallDriver (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

USB Host Driver Functions
USBUnInstallDriver