Retrieve an interface from a control
#include <aoi.h> void *AoGetInterface(const AOICtrl_t *control, const char *name, const int32_t version, const int32_t nth);
libaoi.so
This function searches for the nth (starting at 0) interface with the given name and minimum version number in the given control, if specified.
You must hold the control (using AoHold()) before calling this function.
The nth interface control, if found, or NULL if no interface control is found.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
AOICtrl_t, AoHold(), AoIterate(), AoIterateHoldGet()