Help File:GetVersion
Revision as of 01:19, 28 May 2021 by Hidden-r3d (talk | contribs) (copy/pasted from: https://cheatengine.org/help/getversion.htm)
The GetVersion routine is a routine that will get called when the dll is queried for the first time.
BOOL GetVersion(
PPluginVersion pv, //pointer to structure you have to fill in
int sizeofpluginversion //size of pluginversion
);
Parameters
pv
Pointer to a PluginVersion struct that you'll have to fill in.
sizeofpluginversion Size of the PluginVersion struct provided in the pv parameter. You can use this to make sure that your plugin version is compatible with the current implementation of Cheat Engine's plugin system. Currently, it should be 8.
Return Value Return value has to be TRUE