Поделиться через


LPLOAD_GENERIC_INTERFACE_DRIVER (Compact 2013)

3/26/2014

This function load drivers for other interfaces on a device. universal serial bus (USB) drivers call this function.

Syntax

typedef BOOL (* LPLOAD_GENERIC_INTERFACE_DRIVER)(
  USB_HANDLE hDevice,
  LPCUSB_INTERFACE lpInterface
);

Parameters

  • hDevice
    [in] Handle to a USB device, which is passed in the USBDeviceAttach function.

Return Value

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

Header

usbdi.h

See Also

Reference

USB Driver Functions
USBDeviceAttach
USB_INTERFACE