Help File:RegisterFunction

From Cheat Engine
Revision as of 18:33, 29 July 2021 by LeFiXER (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.