// wdfusb.h
VOID WdfUsbTargetPipeGetInformation(
[in] WDFUSBPIPE Pipe,
[out] PWDF_USB_PIPE_INFORMATION PipeInformation
);
View the official Windows Driver Kit DDI reference
No description available.
[Applies to KMDF and UMDF]
The WdfUsbTargetPipeGetInformation method retrieves information about a USB pipe and its endpoint.
Pipe
[in]A handle to a framework pipe object that was obtained by calling WdfUsbInterfaceGetConfiguredPipe.
PipeInformation
[out]A pointer to a caller-allocated WDF_USB_PIPE_INFORMATION structure that receives information about the pipe and endpoint.
A bug check occurs if the driver supplies an invalid object handle.
For more information about the WdfUsbTargetPipeGetInformation method and USB I/O targets, see USB I/O Targets.
The following code example initializes a WDF_USB_PIPE_INFORMATION structure and calls WdfUsbTargetPipeGetInformation.
WDF_USB_PIPE_INFORMATION pipeInfo;
WDF_USB_PIPE_INFORMATION_INIT(&pipeInfo);
WdfUsbTargetPipeGetInformation(
Pipe,
&pipeInfo
);
WdfUsbInterfaceGetConfiguredPipe