Data structure which is populated by MVInfo with basic information about the plug-in.
More...
#include <mv_plugin_info.h>
Data Fields | |
| uint32_t | ApiMajor |
| Major version of API used to compile the plug-in; plug-ins should set this field to MV_API_MAJOR. | |
| uint32_t | ApiMinor |
| Minor version of API used to compile the plug-in; plug-ins should set this field to MV_API_MINOR. | |
| uint32_t | ApiPatch |
| Patch version of API used to compile the plug-in; plug-ins should set this field to MV_API_PATCH. | |
| uint32_t | Flags |
| Plug-ins should set this to a bitmask of the values in MVPluginCapabilities_t, reflecting the restricted API features supported by it. | |
| uint32_t | Reserved |
| Reserved for future use for binary compatibility. | |
Data structure which is populated by MVInfo with basic information about the plug-in.
When a dynamic library is considered as a possible plug-in, the Communicator looks for the symbol MVInfo and calls it with a pointer to this structure. The plug-in is then expected to populate the fields with the appropriate information about itself and its capabilities, including the API version it was developed against.