ado_pci_device
![]() |
![]() |
![]() |
![]() |
ado_pci_device()
Try to connect to a specified PCI card
Synopsis:
#include <audio_driver.h>
struct ado_pci *ado_pci_device( int32_t vendor,
int32_t device,
char *options );
Arguments:
- vendor
- The vendor ID.
- device
- The device ID.
- options
- The command-line arguments passed to your Audio HW DLL as the args argument to ctrl_init() (see the Organization of a Driver chapter).
Description:
This function tries to connect to a PCI card that matches the given vendor and device IDs.
Returns:
A pointer to a ado_pci structure that describes the PCI card, or NULL if an error occurred (e.g. there was no card to attach to).
Classification:
QNX Neutrino
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
![]() |
![]() |
![]() |
![]() |
![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)