---
title: GetPipeObj
framework: kernel
role: pseudoSymbol
path: kernel/iousbinterface/1809591-getpipeobj
---

# GetPipeObj

## Declaration

```occ
virtual IOUSBPipe *GetPipeObj(
 UInt8index); 
```

## Parameters

- `index`: value from zero to kUSBMaxPipes-1

## Return Value

Return Value The IOUSBPipe object. Note that the client does not own a reference to this pipe, so the client should retain() the IOUSBPipe object if necessary.

## Overview

Overview returns a handle to the pipe at the corresponding index

## See Also

### Miscellaneous

- [DeviceRequest(IOUSBDevRequest *, IOUSBCompletion *)](kernel/iousbinterface/1809501-devicerequest.md)
- [DeviceRequest(IOUSBDevRequestDesc *, IOUSBCompletion *)](kernel/iousbinterface/1809505-devicerequest.md)
- [EnableRemoteWake](kernel/iousbinterface/1809508-enableremotewake.md)
- [FindNextAltInterface](kernel/iousbinterface/1809512-findnextaltinterface.md)
- [FindNextAssociatedDescriptor](kernel/iousbinterface/1809516-findnextassociateddescriptor.md)
- [FindNextPipe(IOUSBPipe *, IOUSBFindEndpointRequest *)](kernel/iousbinterface/1809521-findnextpipe.md)
- [FindNextPipe(IOUSBPipe *, IOUSBFindEndpointRequest *, bool)](kernel/iousbinterface/1809527-findnextpipe.md)
- [GetAlternateSetting](kernel/iousbinterface/1809532-getalternatesetting.md)
- [GetConfigValue](kernel/iousbinterface/1809537-getconfigvalue.md)
- [GetDevice](kernel/iousbinterface/1809542-getdevice.md)
- [GetEndpointProperties](kernel/iousbinterface/1809546-getendpointproperties.md)
- [GetEndpointPropertiesV3](kernel/iousbinterface/1809552-getendpointpropertiesv3.md)
- [GetInterfaceClass](kernel/iousbinterface/1809556-getinterfaceclass.md)
- [GetInterfaceNumber](kernel/iousbinterface/1809561-getinterfacenumber.md)
- [GetInterfaceProtocol](kernel/iousbinterface/1809564-getinterfaceprotocol.md)
- [GetInterfaceStatus](kernel/iousbinterface/1809569-getinterfacestatus.md)
- [GetInterfaceStringIndex](kernel/iousbinterface/1809572-getinterfacestringindex.md)
- [GetInterfaceSubClass](kernel/iousbinterface/1809576-getinterfacesubclass.md)
- [GetNumEndpoints](kernel/iousbinterface/1809584-getnumendpoints.md)
- [RecreateStreams](kernel/iousbinterface/1809596-recreatestreams.md)
- [RememberStreams](kernel/iousbinterface/1809603-rememberstreams.md)
- [RememberStreams.](kernel/iousbinterface/1809609-rememberstreams.md)
- [SetAlternateInterface](kernel/iousbinterface/1809615-setalternateinterface.md)
- [SetFunctionSuspendFeature](kernel/iousbinterface/1809621-setfunctionsuspendfeature.md)
