---
title: getTargetAndMethodForIndexGated
framework: kernel
role: symbol
role_heading: Instance Method
path: kernel/iostreamuserclient/3684909-gettargetandmethodforindexgated
---

# getTargetAndMethodForIndexGated

## Declaration

```occ
IOReturn getTargetAndMethodForIndexGated(IOService **targetP, UInt32 index, IOExternalMethod **method);
```
