WdfUsbTargetPipeGetType - NtDoc

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

WDF_USB_PIPE_TYPE WdfUsbTargetPipeGetType(
  [in] WDFUSBPIPE Pipe
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

WdfUsbTargetPipeGetType function

Description

[Applies to KMDF and UMDF]

The WdfUsbTargetPipeGetType method returns the type of a specified USB pipe.

Parameters

Pipe [in]

A handle to a framework pipe object that was obtained by calling WdfUsbInterfaceGetConfiguredPipe.

Return value

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.

Remarks

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

Examples

The following code example determines the type of a USB pipe.

WDF_USB_PIPE_TYPEusbPipeType;

usbPipeType = WdfUsbTargetPipeGetType(usbPipe);

See also

WDF_USB_PIPE_TYPE

WdfUsbInterfaceGetConfiguredPipe