Framework USB Device Object Methods

In this section

TopicDescription

WdfUsbTargetDeviceAllocAndQueryString method

The WdfUsbTargetDeviceAllocAndQueryString method allocates a buffer, then it retrieves the Unicode string that is associated with a specified USB device and descriptor index value.

WdfUsbTargetDeviceCreate method

The WdfUsbTargetDeviceCreate method creates a framework USB device object for a specified framework device object and opens the USB device for I/O operations.

WdfUsbTargetDeviceCreateIsochUrb method

The WdfUsbTargetDeviceCreateIsochUrb method allocates an isochronous USB request block (URB).

WdfUsbTargetDeviceCreateUrb method

The WdfUsbTargetDeviceCreateUrb method allocates a USB request block (URB).

WdfUsbTargetDeviceCreateWithParameters method

The WdfUsbTargetDeviceCreateWithParameters method creates a framework USB device object for a specified framework device object and opens the USB device for I/O operations. The method also specifies configuration information for the framework USB device object.

WdfUsbTargetDeviceCyclePortSynchronously method

The WdfUsbTargetDeviceCyclePortSynchronously method power-cycles the USB port to which a specified device is attached.

WdfUsbTargetDeviceFormatRequestForControlTransfer method

The WdfUsbTargetDeviceFormatRequestForControlTransfer method builds a USB control transfer request, but it does not send the request.

WdfUsbTargetDeviceFormatRequestForCyclePort method

The WdfUsbTargetDeviceFormatRequestForCyclePort method builds a power-cycle request for the port to which a specified device is attached, but it does not send the request.

WdfUsbTargetDeviceFormatRequestForString method

The WdfUsbTargetDeviceFormatRequestForString method builds a request for the USB string descriptor that is associated with a USB device's string index value.

WdfUsbTargetDeviceFormatRequestForUrb method

The WdfUsbTargetDeviceFormatRequestForUrb method builds an USB request for a specified USB device, using request parameters that are described by a URB, but it does not send the request.

WdfUsbTargetDeviceGetDeviceDescriptor method

The WdfUsbTargetDeviceGetDeviceDescriptor method retrieves the USB device descriptor for the USB device that is associated with a specified framework USB device object.

WdfUsbTargetDeviceGetInterface method

The WdfUsbTargetDeviceGetInterface method returns a handle to the framework USB interface object that is associated with a specified interface index.

WdfUsbTargetDeviceGetIoTarget method

The WdfUsbTargetDeviceGetIoTarget method returns a handle to the I/O target object that is associated with a specified USB device.

WdfUsbTargetDeviceGetNumInterfaces method

The WdfUsbTargetDeviceGetNumInterfaces method returns the number of USB device interfaces that are supported by a specified USB device.

WdfUsbTargetDeviceIsConnectedSynchronous method

The WdfUsbTargetDeviceIsConnectedSynchronous method determines if the specified USB device is connected.

WdfUsbTargetDeviceQueryString method

The WdfUsbTargetDeviceQueryString method retrieves the Unicode string that is associated with a specified USB device and descriptor index value.

WdfUsbTargetDeviceQueryUsbCapability method

The WdfUsbTargetDeviceQueryUsbCapability method determines whether the host controller and USB driver stack support a specific capability.

WdfUsbTargetDeviceResetPortSynchronously method

The WdfUsbTargetDeviceResetPortSynchronously method resets the USB port that is associated with the specified USB device.

WdfUsbTargetDeviceRetrieveConfigDescriptor method

The WdfUsbTargetDeviceRetrieveConfigDescriptor method retrieves the USB configuration descriptor for the USB device that is associated with a specified framework USB device object.

WdfUsbTargetDeviceRetrieveCurrentFrameNumber method

The WdfUsbTargetDeviceRetrieveCurrentFrameNumber method retrieves the current USB frame number.

WdfUsbTargetDeviceRetrieveInformation method

The WdfUsbTargetDeviceRetrieveInformation method retrieves information about the USB device that is associated with a specified framework USB device object.

WdfUsbTargetDeviceSelectConfig method

The WdfUsbTargetDeviceSelectConfig method selects a USB configuration for a device, or it deconfigures the device.

WdfUsbTargetDeviceSendControlTransferSynchronously method

The WdfUsbTargetDeviceSendControlTransferSynchronously method builds a USB control transfer request and sends it synchronously to an I/O target.

WdfUsbTargetDeviceSendUrbSynchronously method

The WdfUsbTargetDeviceSendUrbSynchronously method sends a USB request synchronously to a specified USB device, using request parameters that are described by a URB.

WdfUsbTargetDeviceWdmGetConfigurationHandle method

The WdfUsbTargetDeviceWdmGetConfigurationHandle method returns the USBD_CONFIGURATION_HANDLE-typed handle that is associated with the current configuration of a specified USB device.

 

 

 

Send comments about this topic to Microsoft

Build date: 4/23/2013

Show:
© 2014 Microsoft