IWDFUsbTargetDevice interface (wudfusb.h)

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

The IWDFUsbTargetDevice interface exposes a USB device I/O target object.

Inheritance

The IWDFUsbTargetDevice interface inherits from IWDFIoTarget. IWDFUsbTargetDevice also has these types of members:

  • Methods

Methods

The IWDFUsbTargetDevice interface has these methods.

 
IWDFUsbTargetDevice::FormatRequestForControlTransfer

The FormatRequestForControlTransfer method formats an I/O request object for a USB control transfer.
IWDFUsbTargetDevice::GetNumInterfaces

The GetNumInterfaces method retrieves the number of USB interfaces for the USB device.
IWDFUsbTargetDevice::GetWinUsbHandle

The GetWinUsbHandle method retrieves the WinUsb interface handle that is associated with an I/O target device object.
IWDFUsbTargetDevice::RetrieveDescriptor

The RetrieveDescriptor method retrieves a USB descriptor, which can describe a device, configuration, or string.
IWDFUsbTargetDevice::RetrieveDeviceInformation

The RetrieveDeviceInformation method retrieves device information of the specified type.
IWDFUsbTargetDevice::RetrievePowerPolicy

The RetrievePowerPolicy method retrieves a WinUsb power policy.
IWDFUsbTargetDevice::RetrieveUsbInterface

The RetrieveUsbInterface method retrieves the specified USB interface for a USB device.
IWDFUsbTargetDevice::SetPowerPolicy

The SetPowerPolicy method sets the WinUsb power policy.

Requirements

Requirement Value
End of support Unavailable in UMDF 2.0 and later.
Target Platform Desktop
Minimum UMDF version 1.5
Header wudfusb.h