Process Hacker
|
Go to the source code of this file.
Data Structures | |
struct | _PH_PROCESS_ITEM |
struct | _PH_PROCESS_RECORD |
struct | _PH_SERVICE_ITEM |
struct | _PH_SERVICE_MODIFIED_DATA |
struct | _PH_NETWORK_ITEM |
struct | _PH_MODULE_ITEM |
struct | _PH_MODULE_PROVIDER |
struct | _PH_THREAD_ITEM |
struct | _PH_THREAD_PROVIDER |
struct | _PH_HANDLE_ITEM |
struct | _PH_HANDLE_PROVIDER |
struct | _PH_MEMORY_ITEM |
struct | _PH_MEMORY_ITEM_LIST |
Macros | |
#define | PH_RECORD_MAX_USAGE |
#define | PH_ENABLE_VERIFY_CACHE |
#define | DPCS_PROCESS_ID ((HANDLE)(LONG_PTR)-2) |
#define | INTERRUPTS_PROCESS_ID ((HANDLE)(LONG_PTR)-3) |
#define | PH_IS_REAL_PROCESS_ID(ProcessId) ((LONG_PTR)(ProcessId) > 0) |
#define | PH_IS_FAKE_PROCESS_ID(ProcessId) ((LONG_PTR)(ProcessId) < 0) |
#define | PH_PROCESS_ITEM_REMOVED 0x1 |
#define | PH_INTEGRITY_STR_LEN 10 |
#define | PH_INTEGRITY_STR_LEN_1 (PH_INTEGRITY_STR_LEN + 1) |
#define | PH_PROCESS_RECORD_DEAD 0x1 |
#define | PH_PROCESS_RECORD_STAT_REF 0x2 |
#define | PH_NETWORK_OWNER_INFO_SIZE 16 |
#define | PH_HANDLE_FILE_SHARED_READ 0x1 |
#define | PH_HANDLE_FILE_SHARED_WRITE 0x2 |
#define | PH_HANDLE_FILE_SHARED_DELETE 0x4 |
#define | PH_HANDLE_FILE_SHARED_MASK 0x7 |
#define | PH_QUERY_MEMORY_IGNORE_FREE 0x1 |
#define | PH_QUERY_MEMORY_REGION_TYPE 0x2 |
#define | PH_QUERY_MEMORY_WS_COUNTERS 0x4 |
#define DPCS_PROCESS_ID ((HANDLE)(LONG_PTR)-2) |
Definition at line 80 of file providers.h.
#define INTERRUPTS_PROCESS_ID ((HANDLE)(LONG_PTR)-3) |
Definition at line 81 of file providers.h.
#define PH_ENABLE_VERIFY_CACHE |
Definition at line 7 of file providers.h.
#define PH_HANDLE_FILE_SHARED_DELETE 0x4 |
Definition at line 788 of file providers.h.
#define PH_HANDLE_FILE_SHARED_MASK 0x7 |
Definition at line 789 of file providers.h.
#define PH_HANDLE_FILE_SHARED_READ 0x1 |
Definition at line 786 of file providers.h.
#define PH_HANDLE_FILE_SHARED_WRITE 0x2 |
Definition at line 787 of file providers.h.
#define PH_INTEGRITY_STR_LEN 10 |
Definition at line 94 of file providers.h.
#define PH_INTEGRITY_STR_LEN_1 (PH_INTEGRITY_STR_LEN + 1) |
Definition at line 95 of file providers.h.
Definition at line 88 of file providers.h.
Definition at line 85 of file providers.h.
#define PH_NETWORK_OWNER_INFO_SIZE 16 |
Definition at line 514 of file providers.h.
#define PH_PROCESS_ITEM_REMOVED 0x1 |
Definition at line 91 of file providers.h.
#define PH_PROCESS_RECORD_DEAD 0x1 |
Definition at line 235 of file providers.h.
#define PH_PROCESS_RECORD_STAT_REF 0x2 |
Definition at line 237 of file providers.h.
#define PH_QUERY_MEMORY_IGNORE_FREE 0x1 |
Definition at line 994 of file providers.h.
#define PH_QUERY_MEMORY_REGION_TYPE 0x2 |
Definition at line 995 of file providers.h.
#define PH_QUERY_MEMORY_WS_COUNTERS 0x4 |
Definition at line 996 of file providers.h.
#define PH_RECORD_MAX_USAGE |
Definition at line 6 of file providers.h.
typedef struct _PH_HANDLE_ITEM PH_HANDLE_ITEM |
typedef struct _PH_HANDLE_PROVIDER PH_HANDLE_PROVIDER |
typedef enum _PH_KNOWN_PROCESS_TYPE PH_KNOWN_PROCESS_TYPE |
Definition at line 701 of file providers.h.
typedef struct _PH_MEMORY_ITEM PH_MEMORY_ITEM |
typedef struct _PH_MEMORY_ITEM_LIST PH_MEMORY_ITEM_LIST |
typedef enum _PH_MEMORY_REGION_TYPE PH_MEMORY_REGION_TYPE |
typedef struct _PH_MODULE_ITEM PH_MODULE_ITEM |
typedef struct _PH_MODULE_PROVIDER PH_MODULE_PROVIDER |
typedef struct _PH_NETWORK_ITEM PH_NETWORK_ITEM |
typedef struct _PH_PROCESS_ITEM PH_PROCESS_ITEM |
typedef struct _PH_PROCESS_RECORD PH_PROCESS_RECORD |
typedef enum _PH_SERVICE_CHANGE PH_SERVICE_CHANGE |
typedef struct _PH_SERVICE_ITEM PH_SERVICE_ITEM |
typedef struct _PH_SERVICE_MODIFIED_DATA PH_SERVICE_MODIFIED_DATA |
typedef struct _PH_THREAD_ITEM PH_THREAD_ITEM |
typedef struct _PH_THREAD_PROVIDER PH_THREAD_PROVIDER |
typedef struct _PH_HANDLE_ITEM * PPH_HANDLE_ITEM |
typedef struct _PH_HANDLE_PROVIDER * PPH_HANDLE_PROVIDER |
typedef struct _PH_MEMORY_ITEM * PPH_MEMORY_ITEM |
typedef struct _PH_MEMORY_ITEM_LIST * PPH_MEMORY_ITEM_LIST |
typedef struct _PH_MODULE_ITEM * PPH_MODULE_ITEM |
typedef struct _PH_MODULE_PROVIDER * PPH_MODULE_PROVIDER |
typedef struct _PH_NETWORK_ITEM * PPH_NETWORK_ITEM |
typedef struct _PH_PROCESS_ITEM * PPH_PROCESS_ITEM |
typedef struct _PH_PROCESS_RECORD * PPH_PROCESS_RECORD |
Definition at line 99 of file providers.h.
typedef enum _PH_SERVICE_CHANGE * PPH_SERVICE_CHANGE |
typedef struct _PH_SERVICE_ITEM * PPH_SERVICE_ITEM |
typedef struct _PH_SERVICE_MODIFIED_DATA * PPH_SERVICE_MODIFIED_DATA |
typedef struct _PH_THREAD_ITEM * PPH_THREAD_ITEM |
typedef struct _PH_THREAD_PROVIDER * PPH_THREAD_PROVIDER |
typedef struct _PH_VERIFY_FILE_INFO* PPH_VERIFY_FILE_INFO |
Definition at line 307 of file providers.h.
typedef enum _VERIFY_RESULT VERIFY_RESULT |
Definition at line 98 of file providers.h.
Definition at line 867 of file providers.h.
enum _PH_SERVICE_CHANGE |
ServiceStarted | |
ServiceContinued | |
ServicePaused | |
ServiceStopped | |
ServiceStarted | |
ServiceContinued | |
ServicePaused | |
ServiceStopped |
Definition at line 456 of file providers.h.
PPH_HANDLE_ITEM PhCreateHandleItem | ( | _In_opt_ PSYSTEM_HANDLE_TABLE_ENTRY_INFO_EX | Handle | ) |
PPH_HANDLE_PROVIDER PhCreateHandleProvider | ( | _In_ HANDLE | ProcessId | ) |
PPH_MEMORY_ITEM PhCreateMemoryItem | ( | VOID | ) |
PPH_MODULE_ITEM PhCreateModuleItem | ( | VOID | ) |
PPH_MODULE_PROVIDER PhCreateModuleProvider | ( | _In_ HANDLE | ProcessId | ) |
PPH_NETWORK_ITEM PhCreateNetworkItem | ( | VOID | ) |
PPH_PROCESS_ITEM PhCreateProcessItem | ( | _In_ HANDLE | ProcessId | ) |
PPH_SERVICE_ITEM PhCreateServiceItem | ( | _In_opt_ LPENUM_SERVICE_STATUS_PROCESS | Information | ) |
PPH_THREAD_ITEM PhCreateThreadItem | ( | _In_ HANDLE | ThreadId | ) |
PPH_THREAD_PROVIDER PhCreateThreadProvider | ( | _In_ HANDLE | ProcessId | ) |
PHAPPAPI VOID NTAPI PhDeleteMemoryItemList | ( | _In_ PPH_MEMORY_ITEM_LIST | List | ) |
VOID PhDereferenceAllHandleItems | ( | _In_ PPH_HANDLE_PROVIDER | HandleProvider | ) |
VOID PhDereferenceAllModuleItems | ( | _In_ PPH_MODULE_PROVIDER | ModuleProvider | ) |
VOID PhDereferenceAllThreadItems | ( | _In_ PPH_THREAD_PROVIDER | ThreadProvider | ) |
PHAPPAPI VOID NTAPI PhDereferenceProcessRecord | ( | _In_ PPH_PROCESS_RECORD | ProcessRecord | ) |
NTSTATUS PhEnumHandlesGeneric | ( | _In_ HANDLE | ProcessId, |
_In_ HANDLE | ProcessHandle, | ||
_Out_ PSYSTEM_HANDLE_INFORMATION_EX * | Handles, | ||
_Out_ PBOOLEAN | FilterNeeded | ||
) |
Enumerates all handles in a process.
ProcessId | The ID of the process. |
ProcessHandle | A handle to the process. |
Handles | A variable which receives a pointer to a buffer containing information about the handles. |
FilterNeeded | A variable which receives a boolean indicating whether the handle information needs to be filtered by process ID. |
PHAPPAPI VOID NTAPI PhEnumProcessItems | ( | _Out_opt_ PPH_PROCESS_ITEM ** | ProcessItems, |
_Out_ PULONG | NumberOfProcessItems | ||
) |
Enumerates the process items.
ProcessItems | A variable which receives an array of pointers to process items. You must free the buffer with PhFree() when you no longer need it. |
NumberOfProcessItems | A variable which receives the number of process items returned in ProcessItems. |
PHAPPAPI PPH_PROCESS_RECORD NTAPI PhFindProcessRecord | ( | _In_opt_ HANDLE | ProcessId, |
_In_ PLARGE_INTEGER | Time | ||
) |
Finds a process record.
ProcessId | The ID of the process. |
Time | A time in which the process was active. |
VOID PhFlushProcessQueryData | ( | _In_ BOOLEAN | SendModifiedEvent | ) |
PHAPPAPI PPH_STRING NTAPI PhGetClientIdName | ( | _In_ PCLIENT_ID | ClientId | ) |
PHAPPAPI PPH_STRING NTAPI PhGetClientIdNameEx | ( | _In_ PCLIENT_ID | ClientId, |
_In_opt_ PPH_STRING | ProcessName | ||
) |
PPH_STRING PhGetHostNameFromAddress | ( | _In_ PPH_IP_ADDRESS | Address | ) |
VOID PhGetMemoryProtectionString | ( | _In_ ULONG | Protection, |
_Out_writes_(17) PWSTR | String | ||
) |
PHAPPAPI PWSTR NTAPI PhGetProcessPriorityClassString | ( | _In_ ULONG | PriorityClass | ) |
PHAPPAPI PWSTR NTAPI PhGetProtocolTypeName | ( | _In_ ULONG | ProtocolType | ) |
PHAPPAPI PH_SERVICE_CHANGE NTAPI PhGetServiceChange | ( | _In_ PPH_SERVICE_MODIFIED_DATA | Data | ) |
PHAPPAPI BOOLEAN NTAPI PhGetStatisticsTime | ( | _In_opt_ PPH_PROCESS_ITEM | ProcessItem, |
_In_ ULONG | Index, | ||
_Out_ PLARGE_INTEGER | Time | ||
) |
Retrieves a time value recorded by the statistics system.
ProcessItem | A process item to synchronize with, or NULL if no synchronization is necessary. |
Index | The history index. |
Time | A variable which receives the time at Index. |
PHAPPAPI PPH_STRING NTAPI PhGetStatisticsTimeString | ( | _In_opt_ PPH_PROCESS_ITEM | ProcessItem, |
_In_ ULONG | Index | ||
) |
PHAPPAPI PPH_STRING NTAPI PhGetThreadPriorityWin32String | ( | _In_ LONG | PriorityWin32 | ) |
VOID PhLoadSymbolsThreadProvider | ( | _In_ PPH_THREAD_PROVIDER | ThreadProvider | ) |
PHAPPAPI PPH_MEMORY_ITEM NTAPI PhLookupMemoryItemList | ( | _In_ PPH_MEMORY_ITEM_LIST | List, |
_In_ PVOID | Address | ||
) |
VOID PhMarkNeedsConfigUpdateServiceItem | ( | _In_ PPH_SERVICE_ITEM | ServiceItem | ) |
PHAPPAPI NTSTATUS NTAPI PhQueryMemoryItemList | ( | _In_ HANDLE | ProcessId, |
_In_ ULONG | Flags, | ||
_Out_ PPH_MEMORY_ITEM_LIST | List | ||
) |
PPH_HANDLE_ITEM PhReferenceHandleItem | ( | _In_ PPH_HANDLE_PROVIDER | HandleProvider, |
_In_ HANDLE | Handle | ||
) |
PPH_MODULE_ITEM PhReferenceModuleItem | ( | _In_ PPH_MODULE_PROVIDER | ModuleProvider, |
_In_ PVOID | BaseAddress | ||
) |
PHAPPAPI PPH_NETWORK_ITEM NTAPI PhReferenceNetworkItem | ( | _In_ ULONG | ProtocolType, |
_In_ PPH_IP_ENDPOINT | LocalEndpoint, | ||
_In_ PPH_IP_ENDPOINT | RemoteEndpoint, | ||
_In_ HANDLE | ProcessId | ||
) |
PHAPPAPI PPH_PROCESS_ITEM NTAPI PhReferenceProcessItem | ( | _In_ HANDLE | ProcessId | ) |
PHAPPAPI PPH_PROCESS_ITEM NTAPI PhReferenceProcessItemForParent | ( | _In_ HANDLE | ParentProcessId, |
_In_ HANDLE | ProcessId, | ||
_In_ PLARGE_INTEGER | CreateTime | ||
) |
PHAPPAPI PPH_PROCESS_ITEM NTAPI PhReferenceProcessItemForRecord | ( | _In_ PPH_PROCESS_RECORD | Record | ) |
PHAPPAPI VOID NTAPI PhReferenceProcessRecord | ( | _In_ PPH_PROCESS_RECORD | ProcessRecord | ) |
PHAPPAPI VOID NTAPI PhReferenceProcessRecordForStatistics | ( | _In_ PPH_PROCESS_RECORD | ProcessRecord | ) |
PHAPPAPI BOOLEAN NTAPI PhReferenceProcessRecordSafe | ( | _In_ PPH_PROCESS_RECORD | ProcessRecord | ) |
PHAPPAPI PPH_SERVICE_ITEM NTAPI PhReferenceServiceItem | ( | _In_ PWSTR | Name | ) |
PPH_THREAD_ITEM PhReferenceThreadItem | ( | _In_ PPH_THREAD_PROVIDER | ThreadProvider, |
_In_ HANDLE | ThreadId | ||
) |
VOID PhRegisterThreadProvider | ( | _In_ PPH_THREAD_PROVIDER | ThreadProvider, |
_Out_ PPH_CALLBACK_REGISTRATION | CallbackRegistration | ||
) |
VOID PhSetTerminatingThreadProvider | ( | _Inout_ PPH_THREAD_PROVIDER | ThreadProvider | ) |
VOID PhThreadProviderInitialUpdate | ( | _In_ PPH_THREAD_PROVIDER | ThreadProvider | ) |
VOID PhUnregisterThreadProvider | ( | _In_ PPH_THREAD_PROVIDER | ThreadProvider, |
_In_ PPH_CALLBACK_REGISTRATION | CallbackRegistration | ||
) |
VOID PhUpdateProcessItemServices | ( | _In_ PPH_PROCESS_ITEM | ProcessItem | ) |
VERIFY_RESULT PhVerifyFileCached | ( | _In_ PPH_STRING | FileName, |
_In_opt_ PWSTR | PackageFullName, | ||
_Out_opt_ PPH_STRING * | SignerName, | ||
_In_ BOOLEAN | CachedOnly | ||
) |
Verifies a file's digital signature, using a cached result if possible.
FileName | A file name. |
ProcessItem | An associated process item. |
SignerName | A variable which receives a pointer to a string containing the signer name. You must free the string using PhDereferenceObject() when you no longer need it. Note that the signer name may be NULL if it is not valid. |
CachedOnly | Specify TRUE to fail the function when no cached result exists. |
VERIFY_RESULT PhVerifyFileWithAdditionalCatalog | ( | _In_ PPH_VERIFY_FILE_INFO | Information, |
_In_opt_ PWSTR | PackageFullName, | ||
_Out_opt_ PPH_STRING * | SignerName | ||
) |
PH_UINT64_DELTA PhCpuIdleCycleDelta |
PH_UINT64_DELTA PhCpuIdleDelta |
PSYSTEM_PROCESSOR_PERFORMANCE_INFORMATION PhCpuInformation |
PH_UINT64_DELTA PhCpuKernelDelta |
PPH_UINT64_DELTA PhCpusIdleDelta |
PPH_UINT64_DELTA PhCpusKernelDelta |
PPH_UINT64_DELTA PhCpusUserDelta |
PH_UINT64_DELTA PhCpuSystemCycleDelta |
SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION PhCpuTotals |
PH_UINT64_DELTA PhCpuUserDelta |
PPH_OBJECT_TYPE PhHandleItemType |
PPH_OBJECT_TYPE PhHandleProviderType |
PH_UINT64_DELTA PhIoOtherDelta |
PH_UINT64_DELTA PhIoReadDelta |
PH_UINT64_DELTA PhIoWriteDelta |
PH_CIRCULAR_BUFFER_FLOAT PhMaxCpuUsageHistory |
PH_CIRCULAR_BUFFER_ULONG64 PhMaxIoReadOtherHistory |
PH_CIRCULAR_BUFFER_ULONG64 PhMaxIoWriteHistory |
PPH_OBJECT_TYPE PhMemoryItemType |
PPH_OBJECT_TYPE PhModuleItemType |
PPH_OBJECT_TYPE PhModuleProviderType |
PHAPPAPI PH_CALLBACK PhNetworkItemAddedEvent |
PHAPPAPI PH_CALLBACK PhNetworkItemModifiedEvent |
PHAPPAPI PH_CALLBACK PhNetworkItemRemovedEvent |
PHAPPAPI PH_CALLBACK PhNetworkItemsUpdatedEvent |
PPH_OBJECT_TYPE PhNetworkItemType |
SYSTEM_PERFORMANCE_INFORMATION PhPerfInformation |
PHAPPAPI PH_CALLBACK PhProcessAddedEvent |
PHAPPAPI PH_CALLBACK PhProcessesUpdatedEvent |
ULONG PhProcessInformationSequenceNumber |
PPH_OBJECT_TYPE PhProcessItemType |
PHAPPAPI PH_CALLBACK PhProcessModifiedEvent |
PH_QUEUED_LOCK PhProcessRecordListLock |
PHAPPAPI PH_CALLBACK PhProcessRemovedEvent |
PHAPPAPI PH_CALLBACK PhServiceAddedEvent |
PPH_OBJECT_TYPE PhServiceItemType |
PHAPPAPI PH_CALLBACK PhServiceModifiedEvent |
PHAPPAPI PH_CALLBACK PhServiceRemovedEvent |
PHAPPAPI PH_CALLBACK PhServicesUpdatedEvent |
PPH_OBJECT_TYPE PhThreadItemType |
PPH_OBJECT_TYPE PhThreadProviderType |