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/neutrino/addon/ao/aogetinterface.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/neutrino/addon/ao/aogetinterface.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/neutrino/addon/ao/aogetinterface.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/neutrino/addon/ao/aogetinterface.html on line 8

AoGetInterface()

Retrieve an interface from a control

Synopsis:

#include <aoi.h>

void *AoGetInterface(const AOICtrl_t *control,
                     const char *name,
                     const int32_t version,
                     const int32_t nth);

Arguments:

control
A pointer to an AOICtrl_t structure for the control that contains the interface you want to retrieve.
name
Optional. The name of the interface you want to retrieve, or NULL if you don't want to find an interface using the “Name” interface.
version
Optional. The minimum version of the interface you want to retrieve. This argument is used only if name is specified.
nth
The instance number of the interface you want to retrieve.

Library:

libaoi.so

Description:

This function searches for the nth (starting at 0) interface with the given name and minimum version number in the given control, if specified.

You must hold the control (using AoHold()) before calling this function.

Returns:

The nth interface control, if found, or NULL if no interface control is found.

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

AOICtrl_t, AoHold(), AoIterate(), AoIterateHoldGet()


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/neutrino/addon/ao/aogetinterface.html on line 114

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/neutrino/addon/ao/aogetinterface.html on line 114