Partager via


LoadGenericInterfaceDriver

This function load drivers for other interfaces on a device. USB drivers call this function.

BOOL LoadGenericInterfaceDriver(
  USB_HANDLE hDevice,
  LPCUSB_INTERFACE lpInterface 
);

Parameters

  • hDevice
    [in] Handle to a USB device, which is passed in the USBDeviceAttach function.
  • lpInterface
    [in] Pointer to a USB_INTERFACE structure for an interface.

Return Values

TRUE indicates that a driver was successfully loaded for an interface. FALSE indicates failure.

Remarks

If a client accepts control of a device, this function must execute to load a driver for any uncontrolled interfaces.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Usbd.hpp.

See Also

USBDeviceAttach | USB_INTERFACE | USB Drivers

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.