Help File:RegisterFunction

From Cheat Engine
Revision as of 18:14, 29 July 2021 by LeFiXER (talk | contribs) (Created page with "==RegisterFunction== 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

RegisterFunction

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.