Difference between revisions of "Help File:GetVersion"

From Cheat Engine
Jump to navigation Jump to search
m
m
 
Line 19: Line 19:
  
 
Currently, it should be 8.
 
Currently, it should be 8.
 +
 +
  
 
Return Value
 
Return Value
  
 
Return value has to be TRUE
 
Return value has to be TRUE

Latest revision as of 01:23, 28 May 2021

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