IWDFUsbTargetDevice::GetNumInterfaces method
The GetNumInterfaces method retrieves the number of USB interfaces for the USB device.
Syntax
UCHAR GetNumInterfaces();
Parameters
This method has no parameters.
Return value
GetNumInterfaces returns the number of IWDFUsbInterface interfaces for the USB device in the default configuration. The default configuration is identified by index zero.
Remarks
UMDF USB I/O target devices do not support multiple configurations.
Examples
The following code example retrieves the number of USB interfaces for the USB device.
UCHAR NumInterfaces = pIUsbTargetDevice->GetNumInterfaces();
Requirements
End of support | Unavailable in UMDF 2.0 and later. |
---|---|
Minimum UMDF version | 1.5 |
Header |
|
DLL |
|
See also
Show: