Help File:1 ptMemoryView

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

ptMemoryView[edit]

With this PluginType you create a new plugin menu at the top of the MemoryView window. When the user clicks the menu item, your callback routine will get pointers to the address of the disassembler window, the address of the currently selected line in the disassembler, and the address of the hexadecimal view at the bottom. You can change these pointers to anything you like.

Callback Definition

typedef BOOL ( __stdcall *CEP_PLUGINTYPE1)(ULONG *disassembleraddress, ULONG *selected_disassembler_address, ULONG *hexviewaddress );

Returns TRUE if you changed any of the pointers so the MemoryView will execute an update.

Pointer to structure of init you have to pass

typedef struct _PLUGINTYPE1_INIT
{
  char * name;
  CEP_PLUGINTYPE1 callbackroutine;
  char * shortcut;  //String to an interpretable shortcut
} PLUGINTYPE1_INIT, MEMORYVIEWPLUGIN_INIT, *PPLUGINTYPE1_INIT, *PMEMORYVIEWPLUGIN_INIT;