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/aohold.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/aohold.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/aohold.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/aohold.html on line 8

AoHold()

Increment the hold counter for a control

Synopsis:

#include <aoi.h>

int32_t AoHold(const AOICtrl_t *ctrl);

Arguments:

ctrl
A pointer to the AOICtrl_t structure for the AOI control you want to hold.

Library:

libaoi.so

Description:

This function increments the hold counter for a control. If the control was previously not held, and it's a DLL, the DLL is loaded and initialized if necessary. You must hold a control before you attempt to get one of its interfaces, and release it with AoRelease() when you're finished using the interface.

Returns:

0 if successful.

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

AOICtrl_t, AoGetInterface(), AoIterateHoldGet(), AoRelease()


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/aohold.html on line 95

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/aohold.html on line 95