---
title: GetEndpointProperties
framework: kernel
role: pseudoSymbol
path: kernel/iousbinterface/1809546-getendpointproperties
---

# GetEndpointProperties

Returns the properties of an endpoint, possibly in an alternate interface.

## Declaration

```occ
virtual IOReturn GetEndpointProperties(
 UInt8alternateSetting,
 UInt8endpointNumber,
 UInt8direction,
 UInt8 *transferType,
 UInt16 *maxPacketSize,
 UInt8 *interval); 
```

## Parameters

- `alternateSetting`: specifies the desired alternate setting
- `endpointNumber`: specifies the endpoint number
- `direction`: specifies the direction (kUSBIn, kUSBOut)
- `transferType`: a pointer to hold the transfer type (kUSBControl, kUSBBulk, etc.) of the endpoint if found.
- `maxPacketSize`: a pointer to hold the maxPacketSize in the endpoint descriptor.
- `interval`: a pointer to hold the interval value in the endpoint descriptor.

## Return Value

Return Value returns kIOReturnSuccess if the endpoint is found, and kIOUSBEndpointNotFound if it is not.

## 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)
- [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)
- [GetPipeObj](kernel/iousbinterface/1809591-getpipeobj.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)
