

Returns the number of endpoints that are associated with one of the alternate settings of a USB interface. Retrieves that USB interface descriptor that is associated with one of the alternate settings of a USB interface. Returns the USB interface number that is associated with a USB interface object. Your driver can call the following methods anytime after it has called WdfUsbTargetDeviceCreateWithParameters:

Then your driver can call several methods that the USB interface object defines for obtaining information about the USB interface. Select an alternate setting for a USB interface.Īfter your driver has called WdfUsbTargetDeviceCreateWithParameters, it can call WdfUsbTargetDeviceGetInterface to obtain a handle to a framework USB interface object that represents one of the device's USB interfaces. If your driver supports USB devices that provide multiple interfaces or alternate settings, interface object methods enable the driver to perform the following operations: Drivers for such devices typically do not need to use the object methods that the framework's USB interface object defines. Most USB devices have only one interface, and the interface has only one alternate setting.
:max_bytes(150000):strip_icc()/002-how-long-does-it-take-the-oculus-quest-and-quest-2-to-charge-5114313-bb190846a8214225a992d1d6935a36aa.jpg)
When a driver creates a framework USB device object, the framework creates a framework USB interface object for each USB interface that the device's first USB configuration contains. The framework represents each USB interface as a framework USB interface object.
