AoRemove()

Updated: April 19, 2023

Remove the interfaces in a control from the global list of interfaces

Synopsis:

#include <aoi.h>

int32_t AoRemove(const AOICtrl_t *ctrl);

Arguments:

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

Library:

libaoi.so

Description:

This function removes the interfaces in the given control from the global list of interfaces. The DLL is unloaded if necessary, and the control is cleaned up. Before calling this function, you should be certain that all holds for the control are released by calling AoRelease() for every hold you placed.

Returns:

0 if successful, a positive value indicating the number of holds still in place (which indicates failure), or -1 if an unknown error occurred.

Classification:

QNX Neutrino