There was an error while loading. Please reload this page.
Set a function as exported, allowing for it to be called by other plugins.
This function should only be called from the PluginEntry or PluginPreload routines.
YYTKStatus PmSetExported( PluginAttributes_t* pObjectAttributes, const char* szRoutineName, void* pfnRoutine );
The attributes of the plugin object to which the function belongs to.
Plugins can get a pointer to this opaque structure via the PmGetPluginAttributes function.
A unique identifier for the function. Other plugins may only use this identifier to call the function.
This identifier mustn't overlap with exports set-up by other plugins.
A pointer to the function which is linked to the szRoutineName identifier.
szRoutineName
Plugins that get the export by using the identifier will receive this pointer.
The function returns YYTK_OK if the function succeeds and the export is successfully registered.
YYTK_OK
The function returns YYTK_INVALIDARG if one or more arguments are invalid.
YYTK_INVALIDARG