Cheat Engine:Plugin System:GetVersion

The GetVersion routine is a routine that will get called when the dll is queried for the first time. The plugin developer will have to implement this function

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. (32-bit) Return Value Return value has to be TRUE