title | description | keywords | ms.date | |||
---|---|---|---|---|---|---|
Calling WinUSB from UMDF |
Calling WinUSB from UMDF |
|
04/20/2017 |
[!includeUMDF 1 Deprecation]
A UMDF driver can call WinUSB Functions directly if the driver cannot use the USB-specific UMDF interfaces to perform a specific operation. To call WinUSB Functions, the driver must first obtain a WinUSB interface handle by calling IWDFUsbTargetDevice::GetWinUsbHandle or IWDFUsbInterface::GetWinUsbHandle. A WinUSB interface handle is used to define the first interface in the selected configuration.
For more information, see How to Access a USB Device by Using WinUSB Functions.