IWDFUsbTargetPipe::GetType method

The GetType method retrieves the type of a USB pipe.

Syntax


USBD_PIPE_TYPE  GetType();

Parameters

This method has no parameters.

Return value

GetType returns a USBD_PIPE_TYPE value that identifies the type of the USB pipe.

Remarks

The GetType method is provided for convenience because a UMDF driver can obtain the type of the USB pipe from the PipeType member of the WINUSB_PIPE_INFORMATION structure that the driver retrieves when it calls the IWDFUsbTargetPipe::GetInformation method.

For a code example of how to use the GetType method, see IWDFUsbInterface::GetNumEndPoints.

Requirements

End of support

Unavailable in UMDF 2.0 and later.

Minimum UMDF version

1.5

Header

Wudfusb.h (include Wudfusb.h)

DLL

WUDFx.dll

See also

IWDFUsbTargetPipe
IWDFUsbTargetPipe::GetInformation

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.