AoRelease()

Updated: April 19, 2023

Decrement the hold counter for a control

Synopsis:

#include <aoi.h>

int32_t AoRelease(const AOICtrl_t *ctrl);

Arguments:

ctrl
A pointer to an AOICtrl_t structure for the control you want to release.

Library:

libaoi.so

Description:

This function decrements the hold counter for the given control. If the control represents a DLL, the DLL is unloaded if the control's hold counter has reached 0 and the global hold counter (which is controlled by AoHoldAll() and AoReleaseAll()) is also 0.

Returns:

0 if successful, -1 if the hold counter was already 0 (which indicates an error).

Classification:

QNX Neutrino