Process Hacker
main.c File Reference
#include "exttools.h"
#include "resource.h"

Go to the source code of this file.

Functions

VOID NTAPI LoadCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI UnloadCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI ShowOptionsCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI MenuItemCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI TreeNewMessageCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI MainWindowShowingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI ProcessPropertiesInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI HandlePropertiesInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI ProcessMenuInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI ThreadMenuInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI ModuleMenuInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI ProcessTreeNewInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI NetworkTreeNewInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI SystemInformationInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI MiniInformationInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI ProcessesUpdatedCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI NetworkItemsUpdatedCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI ProcessItemCreateCallback (_In_ PVOID Object, _In_ PH_EM_OBJECT_TYPE ObjectType, _In_ PVOID Extension)
 
VOID NTAPI ProcessItemDeleteCallback (_In_ PVOID Object, _In_ PH_EM_OBJECT_TYPE ObjectType, _In_ PVOID Extension)
 
VOID NTAPI NetworkItemCreateCallback (_In_ PVOID Object, _In_ PH_EM_OBJECT_TYPE ObjectType, _In_ PVOID Extension)
 
VOID NTAPI NetworkItemDeleteCallback (_In_ PVOID Object, _In_ PH_EM_OBJECT_TYPE ObjectType, _In_ PVOID Extension)
 
LOGICAL DllMain (_In_ HINSTANCE Instance, _In_ ULONG Reason, _Reserved_ PVOID Reserved)
 
PET_PROCESS_BLOCK EtGetProcessBlock (_In_ PPH_PROCESS_ITEM ProcessItem)
 
PET_NETWORK_BLOCK EtGetNetworkBlock (_In_ PPH_NETWORK_ITEM NetworkItem)
 
VOID EtInitializeProcessBlock (_Out_ PET_PROCESS_BLOCK Block, _In_ PPH_PROCESS_ITEM ProcessItem)
 
VOID EtDeleteProcessBlock (_In_ PET_PROCESS_BLOCK Block)
 
VOID EtInitializeNetworkBlock (_Out_ PET_NETWORK_BLOCK Block, _In_ PPH_NETWORK_ITEM NetworkItem)
 
VOID EtDeleteNetworkBlock (_In_ PET_NETWORK_BLOCK Block)
 

Variables

PPH_PLUGIN PluginInstance
 
LIST_ENTRY EtProcessBlockListHead
 
LIST_ENTRY EtNetworkBlockListHead
 
HWND ProcessTreeNewHandle
 
HWND NetworkTreeNewHandle
 
PH_CALLBACK_REGISTRATION PluginLoadCallbackRegistration
 
PH_CALLBACK_REGISTRATION PluginUnloadCallbackRegistration
 
PH_CALLBACK_REGISTRATION PluginShowOptionsCallbackRegistration
 
PH_CALLBACK_REGISTRATION PluginMenuItemCallbackRegistration
 
PH_CALLBACK_REGISTRATION PluginTreeNewMessageCallbackRegistration
 
PH_CALLBACK_REGISTRATION MainWindowShowingCallbackRegistration
 
PH_CALLBACK_REGISTRATION ProcessPropertiesInitializingCallbackRegistration
 
PH_CALLBACK_REGISTRATION HandlePropertiesInitializingCallbackRegistration
 
PH_CALLBACK_REGISTRATION ProcessMenuInitializingCallbackRegistration
 
PH_CALLBACK_REGISTRATION ThreadMenuInitializingCallbackRegistration
 
PH_CALLBACK_REGISTRATION ModuleMenuInitializingCallbackRegistration
 
PH_CALLBACK_REGISTRATION ProcessTreeNewInitializingCallbackRegistration
 
PH_CALLBACK_REGISTRATION NetworkTreeNewInitializingCallbackRegistration
 
PH_CALLBACK_REGISTRATION SystemInformationInitializingCallbackRegistration
 
PH_CALLBACK_REGISTRATION MiniInformationInitializingCallbackRegistration
 
PH_CALLBACK_REGISTRATION ProcessesUpdatedCallbackRegistration
 
PH_CALLBACK_REGISTRATION NetworkItemsUpdatedCallbackRegistration
 

Function Documentation

LOGICAL DllMain ( _In_ HINSTANCE  Instance,
_In_ ULONG  Reason,
_Reserved_ PVOID  Reserved 
)

Definition at line 160 of file main.c.

VOID EtDeleteNetworkBlock ( _In_ PET_NETWORK_BLOCK  Block)

Definition at line 678 of file main.c.

VOID EtDeleteProcessBlock ( _In_ PET_PROCESS_BLOCK  Block)

Definition at line 651 of file main.c.

PET_NETWORK_BLOCK EtGetNetworkBlock ( _In_ PPH_NETWORK_ITEM  NetworkItem)

Definition at line 633 of file main.c.

PET_PROCESS_BLOCK EtGetProcessBlock ( _In_ PPH_PROCESS_ITEM  ProcessItem)

Definition at line 626 of file main.c.

VOID EtInitializeNetworkBlock ( _Out_ PET_NETWORK_BLOCK  Block,
_In_ PPH_NETWORK_ITEM  NetworkItem 
)

Definition at line 667 of file main.c.

VOID EtInitializeProcessBlock ( _Out_ PET_PROCESS_BLOCK  Block,
_In_ PPH_PROCESS_ITEM  ProcessItem 
)

Definition at line 640 of file main.c.

VOID NTAPI HandlePropertiesInitializingCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)

Definition at line 420 of file main.c.

VOID NTAPI LoadCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)
VOID NTAPI MainWindowShowingCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)

Definition at line 403 of file main.c.

VOID NTAPI MenuItemCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)
VOID NTAPI MiniInformationInitializingCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)

Definition at line 559 of file main.c.

VOID NTAPI ModuleMenuInitializingCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)
VOID NTAPI NetworkItemCreateCallback ( _In_ PVOID  Object,
_In_ PH_EM_OBJECT_TYPE  ObjectType,
_In_ PVOID  Extension 
)

Definition at line 710 of file main.c.

VOID NTAPI NetworkItemDeleteCallback ( _In_ PVOID  Object,
_In_ PH_EM_OBJECT_TYPE  ObjectType,
_In_ PVOID  Extension 
)

Definition at line 719 of file main.c.

VOID NTAPI NetworkItemsUpdatedCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)
VOID NTAPI NetworkTreeNewInitializingCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)

Definition at line 537 of file main.c.

VOID NTAPI ProcessesUpdatedCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)

Definition at line 399 of file etwdisk.c.

VOID NTAPI ProcessItemCreateCallback ( _In_ PVOID  Object,
_In_ PH_EM_OBJECT_TYPE  ObjectType,
_In_ PVOID  Extension 
)

Definition at line 692 of file main.c.

VOID NTAPI ProcessItemDeleteCallback ( _In_ PVOID  Object,
_In_ PH_EM_OBJECT_TYPE  ObjectType,
_In_ PVOID  Extension 
)

Definition at line 701 of file main.c.

VOID NTAPI ProcessMenuInitializingCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)
VOID NTAPI ProcessPropertiesInitializingCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)
VOID NTAPI ProcessTreeNewInitializingCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)
VOID NTAPI ShowOptionsCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)

Definition at line 285 of file main.c.

VOID NTAPI SystemInformationInitializingCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)

Definition at line 548 of file main.c.

VOID NTAPI ThreadMenuInitializingCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)
VOID NTAPI TreeNewMessageCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)
VOID NTAPI UnloadCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)

Variable Documentation

LIST_ENTRY EtNetworkBlockListHead

Definition at line 137 of file main.c.

LIST_ENTRY EtProcessBlockListHead

Definition at line 136 of file main.c.

PH_CALLBACK_REGISTRATION HandlePropertiesInitializingCallbackRegistration

Definition at line 147 of file main.c.

PH_CALLBACK_REGISTRATION MainWindowShowingCallbackRegistration

Definition at line 145 of file main.c.

PH_CALLBACK_REGISTRATION MiniInformationInitializingCallbackRegistration

Definition at line 154 of file main.c.

PH_CALLBACK_REGISTRATION ModuleMenuInitializingCallbackRegistration

Definition at line 150 of file main.c.

PH_CALLBACK_REGISTRATION NetworkItemsUpdatedCallbackRegistration

Definition at line 156 of file main.c.

HWND NetworkTreeNewHandle

Definition at line 139 of file main.c.

PH_CALLBACK_REGISTRATION NetworkTreeNewInitializingCallbackRegistration

Definition at line 152 of file main.c.

PPH_PLUGIN PluginInstance

Definition at line 135 of file main.c.

PH_CALLBACK_REGISTRATION PluginLoadCallbackRegistration

Definition at line 140 of file main.c.

PH_CALLBACK_REGISTRATION PluginMenuItemCallbackRegistration

Definition at line 143 of file main.c.

PH_CALLBACK_REGISTRATION PluginShowOptionsCallbackRegistration

Definition at line 142 of file main.c.

PH_CALLBACK_REGISTRATION PluginTreeNewMessageCallbackRegistration

Definition at line 144 of file main.c.

PH_CALLBACK_REGISTRATION PluginUnloadCallbackRegistration

Definition at line 141 of file main.c.

PH_CALLBACK_REGISTRATION ProcessesUpdatedCallbackRegistration

Definition at line 155 of file main.c.

PH_CALLBACK_REGISTRATION ProcessMenuInitializingCallbackRegistration

Definition at line 148 of file main.c.

PH_CALLBACK_REGISTRATION ProcessPropertiesInitializingCallbackRegistration

Definition at line 146 of file main.c.

HWND ProcessTreeNewHandle

Definition at line 138 of file main.c.

PH_CALLBACK_REGISTRATION ProcessTreeNewInitializingCallbackRegistration

Definition at line 151 of file main.c.

PH_CALLBACK_REGISTRATION SystemInformationInitializingCallbackRegistration

Definition at line 153 of file main.c.

PH_CALLBACK_REGISTRATION ThreadMenuInitializingCallbackRegistration

Definition at line 149 of file main.c.