Help File:5 ptMainMenu

From Cheat Engine
Jump to navigation Jump to search

ptMainMenu[edit]

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