Updated: October 28, 2024 |
Add the interfaces in a DLL to the global list of interfaces
#include <aoi.h> const AOICtrl_t *AoAdd(const char *dll);
This function examines the global list of interfaces and if necessary, loads the DLL found at the given path, registers the DLL's interfaces by adding them to the global list, then unloads the DLL. The function then returns a control handle for the registered interfaces. With this handle, you can access the interfaces with AoGetInterface(), or search for a specific set of interfaces with one of the AoFind*() functions.
A pointer to the control handle (of type AOICtrl_t) for the added interfaces, or NULL if an error occurred.
QNX Neutrino