Help File:5 ptMainMenu

From Cheat Engine
Revision as of 10:27, 30 July 2021 by LeFiXER (talk | contribs) (Created page with "==ptMainMenu== With this PluginType you create a new plugin menu at the top of the main window. When the user clicks the menu item your callback routine will be called and al...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ptMainMenu

With this PluginType you create a new plugin menu at the top of the main window. When the user clicks the menu item your callback routine will be called and allows you to do whatever you like.

Callback Definition'

typedef void ( __stdcall *CEP_PLUGINTYPE5)( void );

Returns nothing.

Pointer to structure of init you have to pass

typedef struct _PLUGINTYPE5_INIT
{
  char * name;
  CEP_PLUGINTYPE5 callbackroutine;
  char * shortcut;
} PLUGINTYPE5_INIT, MAINMENUPLUGIN_INIT, *PPLUGINTYPE5_INIT, *PMAINMENUPLUGIN_INIT