Process Hacker
|
#include <phapp.h>
#include <secedit.h>
#include <kphuser.h>
#include <settings.h>
#include <cpysave.h>
#include <emenu.h>
#include <phplug.h>
#include <extmgri.h>
#include <verify.h>
#include <procprpp.h>
#include <windowsx.h>
Go to the source code of this file.
Macros | |
#define | SET_BUTTON_BITMAP(Id, Bitmap) SendMessage(GetDlgItem(hwndDlg, (Id)), BM_SETIMAGE, IMAGE_BITMAP, (LPARAM)(Bitmap)) |
#define | PROPSHEET_ADD_STYLE (WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_THICKFRAME); |
#define | ADD_BL_ITEM(Id) PhAddPropPageLayoutItem(hwndDlg, GetDlgItem(hwndDlg, Id), dialogItem, PH_ANCHOR_LEFT | PH_ANCHOR_BOTTOM) |
Functions | |
BOOLEAN | PhProcessPropInitialization (VOID) |
PPH_PROCESS_PROPCONTEXT | PhCreateProcessPropContext (_In_ HWND ParentWindowHandle, _In_ PPH_PROCESS_ITEM ProcessItem) |
VOID NTAPI | PhpProcessPropContextDeleteProcedure (_In_ PVOID Object, _In_ ULONG Flags) |
VOID | PhRefreshProcessPropContext (_Inout_ PPH_PROCESS_PROPCONTEXT PropContext) |
VOID | PhSetSelectThreadIdProcessPropContext (_Inout_ PPH_PROCESS_PROPCONTEXT PropContext, _In_ HANDLE ThreadId) |
INT CALLBACK | PhpPropSheetProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ LPARAM lParam) |
PPH_PROCESS_PROPSHEETCONTEXT | PhpGetPropSheetContext (_In_ HWND hwnd) |
LRESULT CALLBACK | PhpPropSheetWndProc (_In_ HWND hwnd, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam) |
BOOLEAN | PhpInitializePropSheetLayoutStage1 (_In_ HWND hwnd) |
VOID | PhpInitializePropSheetLayoutStage2 (_In_ HWND hwnd) |
BOOLEAN | PhAddProcessPropPage (_Inout_ PPH_PROCESS_PROPCONTEXT PropContext, _In_ _Assume_refs_(1) PPH_PROCESS_PROPPAGECONTEXT PropPageContext) |
BOOLEAN | PhAddProcessPropPage2 (_Inout_ PPH_PROCESS_PROPCONTEXT PropContext, _In_ HPROPSHEETPAGE PropSheetPageHandle) |
PPH_PROCESS_PROPPAGECONTEXT | PhCreateProcessPropPageContext (_In_ LPCWSTR Template, _In_ DLGPROC DlgProc, _In_opt_ PVOID Context) |
PPH_PROCESS_PROPPAGECONTEXT | PhCreateProcessPropPageContextEx (_In_opt_ PVOID InstanceHandle, _In_ LPCWSTR Template, _In_ DLGPROC DlgProc, _In_opt_ PVOID Context) |
VOID NTAPI | PhpProcessPropPageContextDeleteProcedure (_In_ PVOID Object, _In_ ULONG Flags) |
INT CALLBACK | PhpStandardPropPageProc (_In_ HWND hwnd, _In_ UINT uMsg, _In_ LPPROPSHEETPAGE ppsp) |
FORCEINLINE BOOLEAN | PhpPropPageDlgProcHeader (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ LPARAM lParam, _Out_ LPPROPSHEETPAGE *PropSheetPage, _Out_ PPH_PROCESS_PROPPAGECONTEXT *PropPageContext, _Out_ PPH_PROCESS_ITEM *ProcessItem) |
BOOLEAN | PhPropPageDlgProcHeader (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ LPARAM lParam, _Out_ LPPROPSHEETPAGE *PropSheetPage, _Out_ PPH_PROCESS_PROPPAGECONTEXT *PropPageContext, _Out_ PPH_PROCESS_ITEM *ProcessItem) |
VOID | PhpPropPageDlgProcDestroy (_In_ HWND hwndDlg) |
VOID | PhPropPageDlgProcDestroy (_In_ HWND hwndDlg) |
PPH_LAYOUT_ITEM | PhAddPropPageLayoutItem (_In_ HWND hwnd, _In_ HWND Handle, _In_ PPH_LAYOUT_ITEM ParentItem, _In_ ULONG Anchor) |
VOID | PhDoPropPageLayout (_In_ HWND hwnd) |
NTSTATUS | PhpProcessGeneralOpenProcess (_Out_ PHANDLE Handle, _In_ ACCESS_MASK DesiredAccess, _In_opt_ PVOID Context) |
FORCEINLINE PWSTR | PhpGetStringOrNa (_In_ PPH_STRING String) |
VOID | PhpUpdateProcessDep (_In_ HWND hwndDlg, _In_ PPH_PROCESS_ITEM ProcessItem) |
INT_PTR CALLBACK | PhpProcessGeneralDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam) |
VOID | PhpUpdateProcessStatistics (_In_ HWND hwndDlg, _In_ PPH_PROCESS_ITEM ProcessItem, _In_ PPH_STATISTICS_CONTEXT Context) |
INT_PTR CALLBACK | PhpProcessStatisticsDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam) |
INT_PTR CALLBACK | PhpProcessPerformanceDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam) |
VOID | PhpInitializeThreadMenu (_In_ PPH_EMENU Menu, _In_ HANDLE ProcessId, _In_ PPH_THREAD_ITEM *Threads, _In_ ULONG NumberOfThreads) |
VOID | PhpUpdateThreadDetails (_In_ HWND hwndDlg, _In_ PPH_THREADS_CONTEXT Context, _In_ BOOLEAN Force) |
VOID | PhShowThreadContextMenu (_In_ HWND hwndDlg, _In_ PPH_PROCESS_ITEM ProcessItem, _In_ PPH_THREADS_CONTEXT Context, _In_ PPH_TREENEW_CONTEXT_MENU ContextMenu) |
INT_PTR CALLBACK | PhpProcessThreadsDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam) |
INT_PTR CALLBACK | PhpProcessTokenHookProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam) |
VOID | PhpInitializeModuleMenu (_In_ PPH_EMENU Menu, _In_ HANDLE ProcessId, _In_ PPH_MODULE_ITEM *Modules, _In_ ULONG NumberOfModules) |
VOID | PhShowModuleContextMenu (_In_ HWND hwndDlg, _In_ PPH_PROCESS_ITEM ProcessItem, _In_ PPH_MODULES_CONTEXT Context, _In_ PPH_TREENEW_CONTEXT_MENU ContextMenu) |
INT_PTR CALLBACK | PhpProcessModulesDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam) |
VOID | PhpRefreshProcessMemoryList (_In_ HWND hwndDlg, _In_ PPH_PROCESS_PROPPAGECONTEXT PropPageContext) |
VOID | PhpInitializeMemoryMenu (_In_ PPH_EMENU Menu, _In_ HANDLE ProcessId, _In_ PPH_MEMORY_NODE *MemoryNodes, _In_ ULONG NumberOfMemoryNodes) |
VOID | PhShowMemoryContextMenu (_In_ HWND hwndDlg, _In_ PPH_PROCESS_ITEM ProcessItem, _In_ PPH_MEMORY_CONTEXT Context, _In_ PPH_TREENEW_CONTEXT_MENU ContextMenu) |
INT_PTR CALLBACK | PhpProcessMemoryDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam) |
INT_PTR CALLBACK | PhpProcessEnvironmentDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam) |
VOID | PhInsertHandleObjectPropertiesEMenuItems (_In_ struct _PH_EMENU_ITEM *Menu, _In_ ULONG InsertBeforeId, _In_ BOOLEAN EnableShortcut, _In_ PPH_HANDLE_ITEM_INFO Info) |
VOID | PhShowHandleObjectProperties1 (_In_ HWND hWnd, _In_ PPH_HANDLE_ITEM_INFO Info) |
VOID | PhShowHandleObjectProperties2 (_In_ HWND hWnd, _In_ PPH_HANDLE_ITEM_INFO Info) |
VOID | PhpInitializeHandleMenu (_In_ PPH_EMENU Menu, _In_ HANDLE ProcessId, _In_ PPH_HANDLE_ITEM *Handles, _In_ ULONG NumberOfHandles, _Inout_ PPH_HANDLES_CONTEXT HandlesContext) |
VOID | PhShowHandleContextMenu (_In_ HWND hwndDlg, _In_ PPH_PROCESS_ITEM ProcessItem, _In_ PPH_HANDLES_CONTEXT Context, _In_ PPH_TREENEW_CONTEXT_MENU ContextMenu) |
INT_PTR CALLBACK | PhpProcessHandlesDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam) |
INT_PTR CALLBACK | PhpProcessJobHookProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam) |
INT_PTR CALLBACK | PhpProcessServicesDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam) |
NTSTATUS | PhpProcessPropertiesThreadStart (_In_ PVOID Parameter) |
BOOLEAN | PhShowProcessProperties (_In_ PPH_PROCESS_PROPCONTEXT Context) |
Variables | |
PPH_OBJECT_TYPE | PhpProcessPropContextType |
PPH_OBJECT_TYPE | PhpProcessPropPageContextType |
#define ADD_BL_ITEM | ( | Id | ) | PhAddPropPageLayoutItem(hwndDlg, GetDlgItem(hwndDlg, Id), dialogItem, PH_ANCHOR_LEFT | PH_ANCHOR_BOTTOM) |
#define PROPSHEET_ADD_STYLE (WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_THICKFRAME); |
#define SET_BUTTON_BITMAP | ( | Id, | |
Bitmap | |||
) | SendMessage(GetDlgItem(hwndDlg, (Id)), BM_SETIMAGE, IMAGE_BITMAP, (LPARAM)(Bitmap)) |
BOOLEAN PhAddProcessPropPage | ( | _Inout_ PPH_PROCESS_PROPCONTEXT | PropContext, |
_In_ _Assume_refs_(1) PPH_PROCESS_PROPPAGECONTEXT | PropPageContext | ||
) |
BOOLEAN PhAddProcessPropPage2 | ( | _Inout_ PPH_PROCESS_PROPCONTEXT | PropContext, |
_In_ HPROPSHEETPAGE | PropSheetPageHandle | ||
) |
PPH_LAYOUT_ITEM PhAddPropPageLayoutItem | ( | _In_ HWND | hwnd, |
_In_ HWND | Handle, | ||
_In_ PPH_LAYOUT_ITEM | ParentItem, | ||
_In_ ULONG | Anchor | ||
) |
PPH_PROCESS_PROPCONTEXT PhCreateProcessPropContext | ( | _In_ HWND | ParentWindowHandle, |
_In_ PPH_PROCESS_ITEM | ProcessItem | ||
) |
PPH_PROCESS_PROPPAGECONTEXT PhCreateProcessPropPageContext | ( | _In_ LPCWSTR | Template, |
_In_ DLGPROC | DlgProc, | ||
_In_opt_ PVOID | Context | ||
) |
PPH_PROCESS_PROPPAGECONTEXT PhCreateProcessPropPageContextEx | ( | _In_opt_ PVOID | InstanceHandle, |
_In_ LPCWSTR | Template, | ||
_In_ DLGPROC | DlgProc, | ||
_In_opt_ PVOID | Context | ||
) |
VOID PhInsertHandleObjectPropertiesEMenuItems | ( | _In_ struct _PH_EMENU_ITEM * | Menu, |
_In_ ULONG | InsertBeforeId, | ||
_In_ BOOLEAN | EnableShortcut, | ||
_In_ PPH_HANDLE_ITEM_INFO | Info | ||
) |
PPH_PROCESS_PROPSHEETCONTEXT PhpGetPropSheetContext | ( | _In_ HWND | hwnd | ) |
FORCEINLINE PWSTR PhpGetStringOrNa | ( | _In_ PPH_STRING | String | ) |
VOID PhpInitializeHandleMenu | ( | _In_ PPH_EMENU | Menu, |
_In_ HANDLE | ProcessId, | ||
_In_ PPH_HANDLE_ITEM * | Handles, | ||
_In_ ULONG | NumberOfHandles, | ||
_Inout_ PPH_HANDLES_CONTEXT | HandlesContext | ||
) |
VOID PhpInitializeMemoryMenu | ( | _In_ PPH_EMENU | Menu, |
_In_ HANDLE | ProcessId, | ||
_In_ PPH_MEMORY_NODE * | MemoryNodes, | ||
_In_ ULONG | NumberOfMemoryNodes | ||
) |
VOID PhpInitializeModuleMenu | ( | _In_ PPH_EMENU | Menu, |
_In_ HANDLE | ProcessId, | ||
_In_ PPH_MODULE_ITEM * | Modules, | ||
_In_ ULONG | NumberOfModules | ||
) |
BOOLEAN PhpInitializePropSheetLayoutStage1 | ( | _In_ HWND | hwnd | ) |
VOID PhpInitializeThreadMenu | ( | _In_ PPH_EMENU | Menu, |
_In_ HANDLE | ProcessId, | ||
_In_ PPH_THREAD_ITEM * | Threads, | ||
_In_ ULONG | NumberOfThreads | ||
) |
INT_PTR CALLBACK PhpProcessEnvironmentDlgProc | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ WPARAM | wParam, | ||
_In_ LPARAM | lParam | ||
) |
INT_PTR CALLBACK PhpProcessGeneralDlgProc | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ WPARAM | wParam, | ||
_In_ LPARAM | lParam | ||
) |
NTSTATUS PhpProcessGeneralOpenProcess | ( | _Out_ PHANDLE | Handle, |
_In_ ACCESS_MASK | DesiredAccess, | ||
_In_opt_ PVOID | Context | ||
) |
INT_PTR CALLBACK PhpProcessHandlesDlgProc | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ WPARAM | wParam, | ||
_In_ LPARAM | lParam | ||
) |
INT_PTR CALLBACK PhpProcessJobHookProc | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ WPARAM | wParam, | ||
_In_ LPARAM | lParam | ||
) |
INT_PTR CALLBACK PhpProcessMemoryDlgProc | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ WPARAM | wParam, | ||
_In_ LPARAM | lParam | ||
) |
INT_PTR CALLBACK PhpProcessModulesDlgProc | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ WPARAM | wParam, | ||
_In_ LPARAM | lParam | ||
) |
INT_PTR CALLBACK PhpProcessPerformanceDlgProc | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ WPARAM | wParam, | ||
_In_ LPARAM | lParam | ||
) |
VOID NTAPI PhpProcessPropContextDeleteProcedure | ( | _In_ PVOID | Object, |
_In_ ULONG | Flags | ||
) |
NTSTATUS PhpProcessPropertiesThreadStart | ( | _In_ PVOID | Parameter | ) |
VOID NTAPI PhpProcessPropPageContextDeleteProcedure | ( | _In_ PVOID | Object, |
_In_ ULONG | Flags | ||
) |
INT_PTR CALLBACK PhpProcessServicesDlgProc | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ WPARAM | wParam, | ||
_In_ LPARAM | lParam | ||
) |
INT_PTR CALLBACK PhpProcessStatisticsDlgProc | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ WPARAM | wParam, | ||
_In_ LPARAM | lParam | ||
) |
INT_PTR CALLBACK PhpProcessThreadsDlgProc | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ WPARAM | wParam, | ||
_In_ LPARAM | lParam | ||
) |
INT_PTR CALLBACK PhpProcessTokenHookProc | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ WPARAM | wParam, | ||
_In_ LPARAM | lParam | ||
) |
FORCEINLINE BOOLEAN PhpPropPageDlgProcHeader | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ LPARAM | lParam, | ||
_Out_ LPPROPSHEETPAGE * | PropSheetPage, | ||
_Out_ PPH_PROCESS_PROPPAGECONTEXT * | PropPageContext, | ||
_Out_ PPH_PROCESS_ITEM * | ProcessItem | ||
) |
INT CALLBACK PhpPropSheetProc | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ LPARAM | lParam | ||
) |
LRESULT CALLBACK PhpPropSheetWndProc | ( | _In_ HWND | hwnd, |
_In_ UINT | uMsg, | ||
_In_ WPARAM | wParam, | ||
_In_ LPARAM | lParam | ||
) |
VOID PhpRefreshProcessMemoryList | ( | _In_ HWND | hwndDlg, |
_In_ PPH_PROCESS_PROPPAGECONTEXT | PropPageContext | ||
) |
BOOLEAN PhPropPageDlgProcHeader | ( | _In_ HWND | hwndDlg, |
_In_ UINT | uMsg, | ||
_In_ LPARAM | lParam, | ||
_Out_ LPPROPSHEETPAGE * | PropSheetPage, | ||
_Out_ PPH_PROCESS_PROPPAGECONTEXT * | PropPageContext, | ||
_Out_ PPH_PROCESS_ITEM * | ProcessItem | ||
) |
INT CALLBACK PhpStandardPropPageProc | ( | _In_ HWND | hwnd, |
_In_ UINT | uMsg, | ||
_In_ LPPROPSHEETPAGE | ppsp | ||
) |
VOID PhpUpdateProcessDep | ( | _In_ HWND | hwndDlg, |
_In_ PPH_PROCESS_ITEM | ProcessItem | ||
) |
VOID PhpUpdateProcessStatistics | ( | _In_ HWND | hwndDlg, |
_In_ PPH_PROCESS_ITEM | ProcessItem, | ||
_In_ PPH_STATISTICS_CONTEXT | Context | ||
) |
VOID PhpUpdateThreadDetails | ( | _In_ HWND | hwndDlg, |
_In_ PPH_THREADS_CONTEXT | Context, | ||
_In_ BOOLEAN | Force | ||
) |
VOID PhRefreshProcessPropContext | ( | _Inout_ PPH_PROCESS_PROPCONTEXT | PropContext | ) |
VOID PhSetSelectThreadIdProcessPropContext | ( | _Inout_ PPH_PROCESS_PROPCONTEXT | PropContext, |
_In_ HANDLE | ThreadId | ||
) |
VOID PhShowHandleContextMenu | ( | _In_ HWND | hwndDlg, |
_In_ PPH_PROCESS_ITEM | ProcessItem, | ||
_In_ PPH_HANDLES_CONTEXT | Context, | ||
_In_ PPH_TREENEW_CONTEXT_MENU | ContextMenu | ||
) |
VOID PhShowHandleObjectProperties1 | ( | _In_ HWND | hWnd, |
_In_ PPH_HANDLE_ITEM_INFO | Info | ||
) |
VOID PhShowHandleObjectProperties2 | ( | _In_ HWND | hWnd, |
_In_ PPH_HANDLE_ITEM_INFO | Info | ||
) |
VOID PhShowMemoryContextMenu | ( | _In_ HWND | hwndDlg, |
_In_ PPH_PROCESS_ITEM | ProcessItem, | ||
_In_ PPH_MEMORY_CONTEXT | Context, | ||
_In_ PPH_TREENEW_CONTEXT_MENU | ContextMenu | ||
) |
VOID PhShowModuleContextMenu | ( | _In_ HWND | hwndDlg, |
_In_ PPH_PROCESS_ITEM | ProcessItem, | ||
_In_ PPH_MODULES_CONTEXT | Context, | ||
_In_ PPH_TREENEW_CONTEXT_MENU | ContextMenu | ||
) |
BOOLEAN PhShowProcessProperties | ( | _In_ PPH_PROCESS_PROPCONTEXT | Context | ) |
VOID PhShowThreadContextMenu | ( | _In_ HWND | hwndDlg, |
_In_ PPH_PROCESS_ITEM | ProcessItem, | ||
_In_ PPH_THREADS_CONTEXT | Context, | ||
_In_ PPH_TREENEW_CONTEXT_MENU | ContextMenu | ||
) |
PPH_OBJECT_TYPE PhpProcessPropContextType |
PPH_OBJECT_TYPE PhpProcessPropPageContextType |