Help File:RegisterFunction
								
								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.
- Plugin system
 - GetVersion
 - DisablePlugin
 - InitializePlugin
 - PluginVersion
- ExportedFunctions
 - sizeofExportedFunctions
 - ShowMessage
 - RegisterFunction
 - UnregisterFunction
 - OpenedProcessID
 - OpenedProcessHandle
 - GetMainWindowHandle
 - AutoAssemble
 - Assembler
 - Disassembler
 - ChangeRegistersAtAddress
 - InjectDLL
 - FreezeMem
 - UnfreezeMem
 - FixMem
 - ProcessList
 - ReloadSettings
 - GetAddressFromPointer
 - sym_nameToAddress
 - sym_addressToName
 - sym_generateAPIHookScript
 - loadDBK32
 - loaddbvmifneeded
 - previousOpcode
 - nextOpcode
 - disassembleEx
 - loadModule
 - aa_AddExtraCommand
 - aa_RemoveExtraCommand