Increment the hold counter for a control
#include <aoi.h> int32_t AoHold(const AOICtrl_t *ctrl);
libaoi.so
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.
0 if successful.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
AOICtrl_t, AoGetInterface(), AoIterateHoldGet(), AoRelease()