Updated: October 28, 2024 |
Get a pointer to the strings exposed by an addon
#include <aoi.h> const char* const *AoGetStrings(const AOICtrl_t *ctrl);
This function gets a pointer to the addon strings accessible through the given control. An application can call this function to get access to the strings published by the addon through the Strings interface, even after the addon's DLL is unloaded. Then, the application can use AoFindString() to find the settings associated with these strings.
When the application is finished using the strings, it should call AoUngetStrings() to inform the library that it no longer needs this pointer.
A constant pointer to an array of immutable copies of the strings exposed by the addon, or NULL if an error occurred.
QNX Neutrino