WdfUsbTargetPipeGetInformation - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfusb.h

VOID WdfUsbTargetPipeGetInformation(
  [in]  WDFUSBPIPE                Pipe,
  [out] PWDF_USB_PIPE_INFORMATION PipeInformation
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfusb-wdfusbtargetpipegetinformation)

WdfUsbTargetPipeGetInformation function

Description

[Applies to KMDF and UMDF]

The WdfUsbTargetPipeGetInformation method retrieves information about a USB pipe and its endpoint.

Parameters

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.

Remarks

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.

Examples

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
                               );

See also

WDF_USB_PIPE_INFORMATION

WDF_USB_PIPE_INFORMATION_INIT

WdfUsbInterfaceGetConfiguredPipe