Windows Driver Kit: Kernel-Mode Driver Framework
WdfUsbTargetPipeGetInformation

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

VOID
  WdfUsbTargetPipeGetInformation(
    IN WDFUSBPIPE  Pipe,
    OUT PWDF_USB_PIPE_INFORMATION  PipeInformation,
    );

Parameters

Pipe
A handle to a framework pipe object that was obtained by calling WdfUsbInterfaceGetConfiguredPipe.
PipeInformation
A pointer to a caller-allocated WDF_USB_PIPE_INFORMATION structure that receives information about the pipe and endpoint.

Return Value

None.

A bug check occurs if a driver-supplied object handle is invalid.

Comments

For more information about the WdfUsbTargetPipeGetInformation method and USB I/O targets, see USB I/O Targets.

Example

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

Requirements

Versions: The WdfUsbTargetPipeGetInformation method is available in version 1.0 and later versions of KMDF.

IRQL: <=DISPATCH_LEVEL

Headers: Declared in Wdfusb.h. Include Wdfusb.h.

See Also

WDF_USB_PIPE_INFORMATION, WDF_USB_PIPE_INFORMATION_INIT, WdfUsbInterfaceGetConfiguredPipe


Send feedback on this topic
Built on October 01, 2009
Page view tracker