Process Hacker
global.c File Reference
#include <ph.h>
#include <phintrnl.h>
#include <symprv.h>

Go to the source code of this file.

Functions

VOID PhInitializeSecurity (_In_ ULONG Flags)
 
BOOLEAN PhInitializeSystem (_In_ ULONG Flags)
 
VOID PhInitializeSystemInformation (VOID)
 
VOID PhInitializeWindowsVersion (VOID)
 
NTSTATUS PhInitializePhLib (VOID)
 
NTSTATUS PhInitializePhLibEx (_In_ ULONG Flags, _In_opt_ SIZE_T HeapReserveSize, _In_opt_ SIZE_T HeapCommitSize)
 
BOOLEAN PhIsExecutingInWow64 (VOID)
 

Variables

PHLIBAPI PVOID PhLibImageBase
 
PHLIBAPI PWSTR PhApplicationName = L"Application"
 
PHLIBAPI ULONG PhCurrentSessionId
 
PHLIBAPI HANDLE PhCurrentTokenQueryHandle = NULL
 
PHLIBAPI BOOLEAN PhElevated
 
PHLIBAPI TOKEN_ELEVATION_TYPE PhElevationType
 
PHLIBAPI PVOID PhHeapHandle
 
PHLIBAPI RTL_OSVERSIONINFOEXW PhOsVersion
 
PHLIBAPI SYSTEM_BASIC_INFORMATION PhSystemBasicInformation
 
PHLIBAPI ULONG WindowsVersion
 
PHLIBAPI ACCESS_MASK ProcessQueryAccess
 
PHLIBAPI ACCESS_MASK ProcessAllAccess
 
PHLIBAPI ACCESS_MASK ThreadQueryAccess
 
PHLIBAPI ACCESS_MASK ThreadSetAccess
 
PHLIBAPI ACCESS_MASK ThreadAllAccess
 

Function Documentation

NTSTATUS PhInitializePhLib ( VOID  )

Definition at line 66 of file global.c.

NTSTATUS PhInitializePhLibEx ( _In_ ULONG  Flags,
_In_opt_ SIZE_T  HeapReserveSize,
_In_opt_ SIZE_T  HeapCommitSize 
)

Definition at line 77 of file global.c.

static VOID PhInitializeSecurity ( _In_ ULONG  Flags)

Definition at line 135 of file global.c.

static BOOLEAN PhInitializeSystem ( _In_ ULONG  Flags)

Definition at line 164 of file global.c.

static VOID PhInitializeSystemInformation ( VOID  )

Definition at line 183 of file global.c.

static VOID PhInitializeWindowsVersion ( VOID  )

Definition at line 203 of file global.c.

BOOLEAN PhIsExecutingInWow64 ( VOID  )

Definition at line 117 of file global.c.

Variable Documentation

PHLIBAPI PWSTR PhApplicationName = L"Application"

Definition at line 45 of file global.c.

PHLIBAPI ULONG PhCurrentSessionId

Definition at line 46 of file global.c.

PHLIBAPI HANDLE PhCurrentTokenQueryHandle = NULL

Definition at line 47 of file global.c.

PHLIBAPI BOOLEAN PhElevated

Definition at line 48 of file global.c.

PHLIBAPI TOKEN_ELEVATION_TYPE PhElevationType

Definition at line 49 of file global.c.

PHLIBAPI PVOID PhHeapHandle

Definition at line 50 of file global.c.

PHLIBAPI PVOID PhLibImageBase

Definition at line 43 of file global.c.

PHLIBAPI RTL_OSVERSIONINFOEXW PhOsVersion

Definition at line 51 of file global.c.

PHLIBAPI SYSTEM_BASIC_INFORMATION PhSystemBasicInformation

Definition at line 52 of file global.c.

PHLIBAPI ACCESS_MASK ProcessAllAccess

Definition at line 56 of file global.c.

PHLIBAPI ACCESS_MASK ProcessQueryAccess

Definition at line 55 of file global.c.

PHLIBAPI ACCESS_MASK ThreadAllAccess

Definition at line 59 of file global.c.

PHLIBAPI ACCESS_MASK ThreadQueryAccess

Definition at line 57 of file global.c.

PHLIBAPI ACCESS_MASK ThreadSetAccess

Definition at line 58 of file global.c.

PHLIBAPI ULONG WindowsVersion

Definition at line 53 of file global.c.