AoHoldAll()

Updated: April 19, 2023

Increment the global hold counter

Synopsis:

#include <aoi.h>

int32_t AoHoldAll(void);

Library:

libaoi.so

Description:

This function increments the global hold counter for the AOI library. When this counter is non-zero, no DLL is unloaded from memory, even when its own hold counter reaches zero. This is useful for applications that use media-processing filters implemented in separate libraries and often need to query those filters to decide which one to use for a particular operation. By keeping a filter's addon library in memory, the application avoids the overhead of loading and unloading the DLL between queries.

Returns:

0 if successful, or -1 if an error occurred.

Classification:

QNX Neutrino