6 #define PH_RECORD_MAX_USAGE
7 #define PH_ENABLE_VERIFY_CACHE
73 #ifdef PH_RECORD_MAX_USAGE
80 #define DPCS_PROCESS_ID ((HANDLE)(LONG_PTR)-2)
81 #define INTERRUPTS_PROCESS_ID ((HANDLE)(LONG_PTR)-3)
85 #define PH_IS_REAL_PROCESS_ID(ProcessId) ((LONG_PTR)(ProcessId) > 0)
88 #define PH_IS_FAKE_PROCESS_ID(ProcessId) ((LONG_PTR)(ProcessId) < 0)
91 #define PH_PROCESS_ITEM_REMOVED 0x1
94 #define PH_INTEGRITY_STR_LEN 10
95 #define PH_INTEGRITY_STR_LEN_1 (PH_INTEGRITY_STR_LEN + 1)
235 #define PH_PROCESS_RECORD_DEAD 0x1
237 #define PH_PROCESS_RECORD_STAT_REF 0x2
282 _In_ ULONG PriorityClass
302 _Out_opt_ PPH_PROCESS_ITEM **ProcessItems,
303 _Out_ PULONG NumberOfProcessItems
310 _In_ PPH_VERIFY_FILE_INFO Information,
311 _In_opt_ PWSTR PackageFullName,
317 _In_opt_ PWSTR PackageFullName,
319 _In_ BOOLEAN CachedOnly
327 _In_opt_ PPH_PROCESS_ITEM ProcessItem,
329 _Out_ PLARGE_INTEGER Time
336 _In_opt_ PPH_PROCESS_ITEM ProcessItem,
342 _In_ BOOLEAN SendModifiedEvent
354 _In_ PPH_PROCESS_RECORD ProcessRecord
361 _In_ PPH_PROCESS_RECORD ProcessRecord
368 _In_ PPH_PROCESS_RECORD ProcessRecord
375 _In_ PPH_PROCESS_RECORD ProcessRecord
383 _In_ PLARGE_INTEGER Time
396 _In_ HANDLE ParentProcessId,
398 _In_ PLARGE_INTEGER CreateTime
405 _In_ PPH_PROCESS_RECORD Record
470 _In_opt_ LPENUM_SERVICE_STATUS_PROCESS Information
483 _In_ PPH_SERVICE_ITEM ServiceItem
491 _In_ PPH_SERVICE_MODIFIED_DATA Data
496 _In_ PPH_PROCESS_ITEM ProcessItem
514 #define PH_NETWORK_OWNER_INFO_SIZE 16
556 _In_ ULONG ProtocolType,
576 _In_ ULONG ProtocolType
650 _In_ PPH_MODULE_PROVIDER ModuleProvider,
651 _In_ PVOID BaseAddress
655 _In_ PPH_MODULE_PROVIDER ModuleProvider
737 _In_ PPH_THREAD_PROVIDER ThreadProvider,
742 _In_ PPH_THREAD_PROVIDER ThreadProvider,
747 _Inout_ PPH_THREAD_PROVIDER ThreadProvider
751 _In_ PPH_THREAD_PROVIDER ThreadProvider
759 _In_ PPH_THREAD_PROVIDER ThreadProvider,
764 _In_ PPH_THREAD_PROVIDER ThreadProvider
772 _In_
LONG PriorityWin32
777 _In_ PPH_THREAD_PROVIDER ThreadProvider
786 #define PH_HANDLE_FILE_SHARED_READ 0x1
787 #define PH_HANDLE_FILE_SHARED_WRITE 0x2
788 #define PH_HANDLE_FILE_SHARED_DELETE 0x4
789 #define PH_HANDLE_FILE_SHARED_MASK 0x7
843 _In_ PPH_HANDLE_PROVIDER HandleProvider,
848 _In_ PPH_HANDLE_PROVIDER HandleProvider
853 _In_ HANDLE ProcessHandle,
855 _Out_ PBOOLEAN FilterNeeded
962 _In_ ULONG Protection,
963 _Out_writes_(17) PWSTR String
983 _In_ PPH_MEMORY_ITEM_LIST List
990 _In_ PPH_MEMORY_ITEM_LIST List,
994 #define PH_QUERY_MEMORY_IGNORE_FREE 0x1
995 #define PH_QUERY_MEMORY_REGION_TYPE 0x2
996 #define PH_QUERY_MEMORY_WS_COUNTERS 0x4
1004 _Out_ PPH_MEMORY_ITEM_LIST List