Process Hacker
|
#include <phdk.h>
#include <phappresource.h>
#include <windowsx.h>
#include "db.h"
#include "resource.h"
Go to the source code of this file.
Macros | |
#define | INTENT_PROCESS_COMMENT 0x1 |
#define | INTENT_PROCESS_PRIORITY_CLASS 0x2 |
#define | INTENT_PROCESS_IO_PRIORITY 0x4 |
#define | PROCESS_PRIORITY_SAVE_ID 1 |
#define | PROCESS_PRIORITY_SAVE_FOR_THIS_COMMAND_LINE_ID 2 |
#define | PROCESS_IO_PRIORITY_SAVE_ID 3 |
#define | PROCESS_IO_PRIORITY_SAVE_FOR_THIS_COMMAND_LINE_ID 4 |
#define | COMMENT_COLUMN_ID 1 |
Typedefs | |
typedef struct _PROCESS_EXTENSION | PROCESS_EXTENSION |
typedef struct _PROCESS_EXTENSION * | PPROCESS_EXTENSION |
typedef struct _PROCESS_COMMENT_PAGE_CONTEXT | PROCESS_COMMENT_PAGE_CONTEXT |
typedef struct _PROCESS_COMMENT_PAGE_CONTEXT * | PPROCESS_COMMENT_PAGE_CONTEXT |
typedef struct _SERVICE_EXTENSION | SERVICE_EXTENSION |
typedef struct _SERVICE_EXTENSION * | PSERVICE_EXTENSION |
typedef struct _SERVICE_COMMENT_PAGE_CONTEXT | SERVICE_COMMENT_PAGE_CONTEXT |
typedef struct _SERVICE_COMMENT_PAGE_CONTEXT * | PSERVICE_COMMENT_PAGE_CONTEXT |
Functions | |
INT_PTR CALLBACK | OptionsDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam) |
INT_PTR CALLBACK | ProcessCommentPageDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam) |
INT_PTR CALLBACK | ServiceCommentPageDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam) |
BOOLEAN | MatchDbObjectIntent (_In_ PDB_OBJECT Object, _In_ ULONG Intent) |
PDB_OBJECT | FindDbObjectForProcess (_In_ PPH_PROCESS_ITEM ProcessItem, _In_ ULONG Intent) |
VOID | DeleteDbObjectForProcessIfUnused (_In_ PDB_OBJECT Object) |
ULONG | GetProcessIoPriority (_In_ HANDLE ProcessId) |
ULONG | GetPriorityClassFromId (_In_ ULONG Id) |
ULONG | GetIoPriorityFromId (_In_ ULONG Id) |
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 | MenuHookCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context) |
VOID | InvalidateProcessComments (VOID) |
VOID | UpdateProcessComment (_In_ PPH_PROCESS_NODE Node, _In_ PPROCESS_EXTENSION Extension) |
VOID | InvalidateServiceComments (VOID) |
VOID | UpdateServiceComment (_In_ PPH_SERVICE_NODE Node, _In_ PSERVICE_EXTENSION Extension) |
VOID | TreeNewMessageCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context) |
VOID | MainWindowShowingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context) |
VOID | ProcessPropertiesInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context) |
VOID | AddSavePriorityMenuItemsAndHook (_In_ PPH_PLUGIN_MENU_INFORMATION MenuInfo, _In_ PPH_PROCESS_ITEM ProcessItem, _In_ BOOLEAN UseSelectionForHook) |
VOID | ProcessMenuInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context) |
LONG NTAPI | ProcessCommentSortFunction (_In_ PVOID Node1, _In_ PVOID Node2, _In_ ULONG SubId, _In_ PVOID Context) |
VOID | ProcessTreeNewInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context) |
VOID | ServicePropertiesInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context) |
LONG NTAPI | ServiceCommentSortFunction (_In_ PVOID Node1, _In_ PVOID Node2, _In_ ULONG SubId, _In_ PVOID Context) |
VOID | ServiceTreeNewInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context) |
VOID | MiListSectionMenuInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context) |
VOID | ProcessModifiedCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context) |
VOID | ProcessesUpdatedCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context) |
VOID | ProcessItemCreateCallback (_In_ PVOID Object, _In_ PH_EM_OBJECT_TYPE ObjectType, _In_ PVOID Extension) |
VOID | ProcessItemDeleteCallback (_In_ PVOID Object, _In_ PH_EM_OBJECT_TYPE ObjectType, _In_ PVOID Extension) |
VOID | ServiceItemCreateCallback (_In_ PVOID Object, _In_ PH_EM_OBJECT_TYPE ObjectType, _In_ PVOID Extension) |
VOID | ServiceItemDeleteCallback (_In_ PVOID Object, _In_ PH_EM_OBJECT_TYPE ObjectType, _In_ PVOID Extension) |
LOGICAL | DllMain (_In_ HINSTANCE Instance, _In_ ULONG Reason, _Reserved_ PVOID Reserved) |
typedef struct _PROCESS_COMMENT_PAGE_CONTEXT * PPROCESS_COMMENT_PAGE_CONTEXT |
typedef struct _PROCESS_EXTENSION * PPROCESS_EXTENSION |
typedef struct _PROCESS_COMMENT_PAGE_CONTEXT PROCESS_COMMENT_PAGE_CONTEXT |
typedef struct _PROCESS_EXTENSION PROCESS_EXTENSION |
typedef struct _SERVICE_COMMENT_PAGE_CONTEXT * PSERVICE_COMMENT_PAGE_CONTEXT |
typedef struct _SERVICE_EXTENSION * PSERVICE_EXTENSION |
typedef struct _SERVICE_COMMENT_PAGE_CONTEXT SERVICE_COMMENT_PAGE_CONTEXT |
typedef struct _SERVICE_EXTENSION SERVICE_EXTENSION |
VOID AddSavePriorityMenuItemsAndHook | ( | _In_ PPH_PLUGIN_MENU_INFORMATION | MenuInfo, |
_In_ PPH_PROCESS_ITEM | ProcessItem, | ||
_In_ BOOLEAN | UseSelectionForHook | ||
) |
VOID DeleteDbObjectForProcessIfUnused | ( | _In_ PDB_OBJECT | Object | ) |
LOGICAL DllMain | ( | _In_ HINSTANCE | Instance, |
_In_ ULONG | Reason, | ||
_Reserved_ PVOID | Reserved | ||
) |
PDB_OBJECT FindDbObjectForProcess | ( | _In_ PPH_PROCESS_ITEM | ProcessItem, |
_In_ ULONG | Intent | ||
) |
VOID NTAPI LoadCallback | ( | _In_opt_ PVOID | Parameter, |
_In_opt_ PVOID | Context | ||
) |
VOID MainWindowShowingCallback | ( | _In_opt_ PVOID | Parameter, |
_In_opt_ PVOID | Context | ||
) |
BOOLEAN MatchDbObjectIntent | ( | _In_ PDB_OBJECT | Object, |
_In_ ULONG | Intent | ||
) |
VOID NTAPI MenuHookCallback | ( | _In_opt_ PVOID | Parameter, |
_In_opt_ PVOID | Context | ||
) |
VOID NTAPI MenuItemCallback | ( | _In_opt_ PVOID | Parameter, |
_In_opt_ PVOID | Context | ||
) |
VOID MiListSectionMenuInitializingCallback | ( | _In_opt_ PVOID | Parameter, |
_In_opt_ PVOID | Context | ||
) |
INT_PTR CALLBACK OptionsDlgProc | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ WPARAM | wParam, | ||
_In_ LPARAM | lParam | ||
) |
INT_PTR CALLBACK ProcessCommentPageDlgProc | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ WPARAM | wParam, | ||
_In_ LPARAM | lParam | ||
) |
LONG NTAPI ProcessCommentSortFunction | ( | _In_ PVOID | Node1, |
_In_ PVOID | Node2, | ||
_In_ ULONG | SubId, | ||
_In_ PVOID | Context | ||
) |
VOID ProcessesUpdatedCallback | ( | _In_opt_ PVOID | Parameter, |
_In_opt_ PVOID | Context | ||
) |
VOID ProcessItemCreateCallback | ( | _In_ PVOID | Object, |
_In_ PH_EM_OBJECT_TYPE | ObjectType, | ||
_In_ PVOID | Extension | ||
) |
VOID ProcessItemDeleteCallback | ( | _In_ PVOID | Object, |
_In_ PH_EM_OBJECT_TYPE | ObjectType, | ||
_In_ PVOID | Extension | ||
) |
VOID ProcessMenuInitializingCallback | ( | _In_opt_ PVOID | Parameter, |
_In_opt_ PVOID | Context | ||
) |
VOID ProcessModifiedCallback | ( | _In_opt_ PVOID | Parameter, |
_In_opt_ PVOID | Context | ||
) |
VOID ProcessPropertiesInitializingCallback | ( | _In_opt_ PVOID | Parameter, |
_In_opt_ PVOID | Context | ||
) |
VOID ProcessTreeNewInitializingCallback | ( | _In_opt_ PVOID | Parameter, |
_In_opt_ PVOID | Context | ||
) |
INT_PTR CALLBACK ServiceCommentPageDlgProc | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ WPARAM | wParam, | ||
_In_ LPARAM | lParam | ||
) |
LONG NTAPI ServiceCommentSortFunction | ( | _In_ PVOID | Node1, |
_In_ PVOID | Node2, | ||
_In_ ULONG | SubId, | ||
_In_ PVOID | Context | ||
) |
VOID ServiceItemCreateCallback | ( | _In_ PVOID | Object, |
_In_ PH_EM_OBJECT_TYPE | ObjectType, | ||
_In_ PVOID | Extension | ||
) |
VOID ServiceItemDeleteCallback | ( | _In_ PVOID | Object, |
_In_ PH_EM_OBJECT_TYPE | ObjectType, | ||
_In_ PVOID | Extension | ||
) |
VOID ServicePropertiesInitializingCallback | ( | _In_opt_ PVOID | Parameter, |
_In_opt_ PVOID | Context | ||
) |
VOID ServiceTreeNewInitializingCallback | ( | _In_opt_ PVOID | Parameter, |
_In_opt_ PVOID | Context | ||
) |
VOID NTAPI ShowOptionsCallback | ( | _In_opt_ PVOID | Parameter, |
_In_opt_ PVOID | Context | ||
) |
VOID TreeNewMessageCallback | ( | _In_opt_ PVOID | Parameter, |
_In_opt_ PVOID | Context | ||
) |
VOID NTAPI UnloadCallback | ( | _In_opt_ PVOID | Parameter, |
_In_opt_ PVOID | Context | ||
) |
VOID UpdateProcessComment | ( | _In_ PPH_PROCESS_NODE | Node, |
_In_ PPROCESS_EXTENSION | Extension | ||
) |
VOID UpdateServiceComment | ( | _In_ PPH_SERVICE_NODE | Node, |
_In_ PSERVICE_EXTENSION | Extension | ||
) |
PH_CALLBACK_REGISTRATION MainWindowShowingCallbackRegistration |
PH_CALLBACK_REGISTRATION MiListSectionMenuInitializingCallbackRegistration |
PPH_PLUGIN PluginInstance |
PH_CALLBACK_REGISTRATION PluginLoadCallbackRegistration |
PH_CALLBACK_REGISTRATION PluginMenuHookCallbackRegistration |
PH_CALLBACK_REGISTRATION PluginMenuItemCallbackRegistration |
PH_CALLBACK_REGISTRATION PluginShowOptionsCallbackRegistration |
PH_CALLBACK_REGISTRATION PluginUnloadCallbackRegistration |
PH_CALLBACK_REGISTRATION ProcessesUpdatedCallbackRegistration |
LIST_ENTRY ProcessListHead = { &ProcessListHead, &ProcessListHead } |
PH_QUEUED_LOCK ProcessListLock = PH_QUEUED_LOCK_INIT |
PH_CALLBACK_REGISTRATION ProcessMenuInitializingCallbackRegistration |
PH_CALLBACK_REGISTRATION ProcessModifiedCallbackRegistration |
PH_CALLBACK_REGISTRATION ProcessPropertiesInitializingCallbackRegistration |
PH_CALLBACK_REGISTRATION ProcessTreeNewInitializingCallbackRegistration |
LIST_ENTRY ServiceListHead = { &ServiceListHead, &ServiceListHead } |
PH_QUEUED_LOCK ServiceListLock = PH_QUEUED_LOCK_INIT |
PH_CALLBACK_REGISTRATION ServicePropertiesInitializingCallbackRegistration |
PH_CALLBACK_REGISTRATION ServiceTreeNewInitializingCallbackRegistration |
PH_CALLBACK_REGISTRATION TreeNewMessageCallbackRegistration |