Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pci_device.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pci_device.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pci_device.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pci_device.html on line 8

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:

ado_pci


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pci_device.html on line 109

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pci_device.html on line 109