Difference between revisions of "Help File:RegisterFunction"

From Cheat Engine
Jump to navigation Jump to search
m
m
 
(No difference)

Latest revision as of 18:33, 29 July 2021

RegisterFunction[edit]

This function will register a callback function that is called when a certain event happens. In some cases also creates an extra menu item.


Function Definition:

int RegisterFunction(int pluginid, PluginType functiontype, PVOID init);


pluginid has to be the pluginid that you got from InitializePlugin functiontype defines what type of function you want to register (See PluginType) init holds a pointer to a structure that is dependent on the type of function.