// wdfusb.h
BYTE WdfUsbInterfaceGetNumConfiguredPipes(
[in] WDFUSBINTERFACE UsbInterface
);
View the official Windows Driver Kit DDI reference
No description available.
[Applies to KMDF and UMDF]
The WdfUsbInterfaceGetNumConfiguredPipes method returns the number of pipes that are configured for a specified USB device interface.
UsbInterface
[in]A handle to a USB interface object that was obtained by calling WdfUsbTargetDeviceGetInterface.
WdfUsbInterfaceGetNumConfiguredPipes returns the number of pipes that are configured for the specified interface.
A bug check occurs if the driver supplies an invalid object handle.
Your driver can call WdfUsbInterfaceGetNumConfiguredPipes after it has called WdfUsbTargetDeviceSelectConfig.
For more information about the WdfUsbInterfaceGetNumConfiguredPipes method and USB I/O targets, see USB I/O Targets.
The following code example obtains the number of pipes that are configured for a specified USB interface.
BYTE pipeCount;
pipeCount = WdfUsbInterfaceGetNumConfiguredPipes(UsbInterface);
WdfUsbTargetDeviceGetInterface
WdfUsbTargetDeviceSelectConfig