AoAddStatic()

Updated: May 06, 2022

Add a static list of interfaces to the global list of interfaces

Synopsis:

#include <aoi.h>

const AOICtrl_t *AoAddStatic(AOInterface_t *interfaces);

Arguments:

interfaces
An array of AOInterface_t structures representing the interfaces you want to make available to your application.

Library:

libaoi.so

Description:

This function makes statically defined (i.e., not loaded from a DLL) interfaces available through the AOI library API. Use this function when you want to directly link your application with a set of interfaces. With the returned control handle, you can access the control's interfaces with AoGetInterface(), or search for a specific set of interfaces with one of the AoFind*() functions.

Returns:

A pointer to the control handle (of type AOICtrl_t) for the added interfaces, or NULL if an error occurred.

Classification:

QNX Neutrino