// wdfusb.h
WDF_USB_PIPE_TYPE WdfUsbTargetPipeGetType(
[in] WDFUSBPIPE Pipe
);
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF and UMDF]
The WdfUsbTargetPipeGetType method returns the type of a specified USB pipe.
Pipe [in]A handle to a framework pipe object that was obtained by calling WdfUsbInterfaceGetConfiguredPipe.
WdfUsbTargetPipeGetType returns a WDF_USB_PIPE_TYPE-typed value that identifies the specified pipe's type.
A bug check occurs if the driver supplies an invalid object handle.
For more information about the WdfUsbTargetPipeGetType method and USB I/O targets, see USB I/O Targets.
The following code example determines the type of a USB pipe.
WDF_USB_PIPE_TYPEusbPipeType;
usbPipeType = WdfUsbTargetPipeGetType(usbPipe);
WdfUsbInterfaceGetConfiguredPipe