Updated: October 28, 2024 |
Increment the global hold counter
#include <aoi.h> int32_t AoHoldAll(void);
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.
0 if successful, or -1 if an error occurred.
QNX Neutrino