blob: f9c13d516b022dd63d351d088ad101f3824be997 [file] [log] [blame] [view]
<!-- Generated by zircon/scripts/update-docs-from-fidl, do not edit! -->
# zx_pci_get_nth_device
## Summary
This function is obsolete and should not be used.
## Declaration
```c
#include <zircon/syscalls.h>
zx_status_t zx_pci_get_nth_device(zx_handle_t handle,
uint32_t index,
zx_pcie_device_info_t* out_info,
zx_handle_t* out_handle);
```
## Description
This function is obsolete and should not be used. Drivers should instead use the PCI protocol
Typically, you obtain this in your **bind()** function through **device_get_protocol()**.
## Rights
*handle* must have resource kind **ZX_RSRC_KIND_ROOT**.
## Return value
TODO(fxbug.dev/32938)
## Errors
TODO(fxbug.dev/32938)
## See also
TODO(fxbug.dev/32938)