simGetPluginInfo

Returns auxiliary information about a loaded plugin

C++ synopsis

int simGetPluginInfo(const char* pluginName, int infoType, char** stringInfo, int* intInfo)

Arguments

  • pluginName: name of the plugin. See sim.getPluginName.
  • infoType: type of information to retrieve
  • stringInfo: pointer to a string information, in case the information type is for a string. The user is in charge of releasing the string buffer with sim.releaseBuffer
  • intInfo: pointer to an integer information, in case the information type is for an integer.

Return

  • -1 in case of an error


See also: