---
title: getHIDDescriptorInfo
framework: hiddriverkit
role: symbol
role_heading: Instance Method
path: hiddriverkit/iouserusbhosthiddevice/gethiddescriptorinfo
---

# getHIDDescriptorInfo

## Declaration

```occ
kern_return_t getHIDDescriptorInfo(uint8_t type, const IOUSBHostHIDDescriptorInfo **info, uint8_t *index);
```

## Return Value

Return Value kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.

## See Also

### Configuring Private Settings

- [initPipes](hiddriverkit/iouserusbhosthiddevice/initpipes.md)
- [CompleteZLP](hiddriverkit/iouserusbhosthiddevice/completezlp.md)
- [copyStringAtIndex](hiddriverkit/iouserusbhosthiddevice/copystringatindex.md)
