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);
return 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 a interpretable shortcut
} PLUGINTYPE1_INIT, MEMORYVIEWPLUGIN_INIT, *PPLUGINTYPE1_INIT,
*PMEMORYVIEWPLUGIN_INIT;