Process Hacker
settings.h File Reference

Go to the source code of this file.

Data Structures

struct  _PH_SETTING
 
struct  _PH_SETTING_CREATE
 

Macros

#define PhaGetStringSetting(Name)   ((PPH_STRING)PhAutoDereferenceObject(PhGetStringSetting(Name)))
 
#define EXT   extern
 
#define PH_SET_INTEGER_CACHED_SETTING(Name, Value)   (PhSetIntegerSetting(L#Name, PhCs##Name = (Value)))
 

Typedefs

typedef enum _PH_SETTING_TYPE PH_SETTING_TYPE
 
typedef enum _PH_SETTING_TYPE PPH_SETTING_TYPE
 
typedef struct _PH_SETTING PH_SETTING
 
typedef struct _PH_SETTINGPPH_SETTING
 
typedef struct _PH_SETTING_CREATE PH_SETTING_CREATE
 
typedef struct _PH_SETTING_CREATEPPH_SETTING_CREATE
 

Enumerations

enum  _PH_SETTING_TYPE {
  StringSettingType, IntegerSettingType, IntegerPairSettingType, StringSettingType,
  IntegerSettingType, IntegerPairSettingType
}
 

Functions

VOID PhSettingsInitialization (VOID)
 
VOID PhUpdateCachedSettings (VOID)
 
PHAPPAPI _May_raise_ ULONG NTAPI PhGetIntegerSetting (_In_ PWSTR Name)
 
PHAPPAPI _May_raise_
PH_INTEGER_PAIR NTAPI 
PhGetIntegerPairSetting (_In_ PWSTR Name)
 
PHAPPAPI _May_raise_
PPH_STRING NTAPI 
PhGetStringSetting (_In_ PWSTR Name)
 
PHAPPAPI _May_raise_ VOID NTAPI PhSetIntegerSetting (_In_ PWSTR Name, _In_ ULONG Value)
 
PHAPPAPI _May_raise_ VOID NTAPI PhSetIntegerPairSetting (_In_ PWSTR Name, _In_ PH_INTEGER_PAIR Value)
 
PHAPPAPI _May_raise_ VOID NTAPI PhSetStringSetting (_In_ PWSTR Name, _In_ PWSTR Value)
 
PHAPPAPI _May_raise_ VOID NTAPI PhSetStringSetting2 (_In_ PWSTR Name, _In_ PPH_STRINGREF Value)
 
VOID PhClearIgnoredSettings (VOID)
 
VOID PhConvertIgnoredSettings (VOID)
 
NTSTATUS PhLoadSettings (_In_ PWSTR FileName)
 
NTSTATUS PhSaveSettings (_In_ PWSTR FileName)
 
VOID PhResetSettings (VOID)
 
PHAPPAPI VOID NTAPI PhAddSettings (_In_ PPH_SETTING_CREATE Settings, _In_ ULONG NumberOfSettings)
 

Variables

EXT ULONG PhCsCollapseServicesOnStart
 
EXT ULONG PhCsForceNoParent
 
EXT ULONG PhCsHighlightingDuration
 
EXT ULONG PhCsPropagateCpuUsage
 
EXT ULONG PhCsScrollToNewProcesses
 
EXT ULONG PhCsShowCpuBelow001
 
EXT ULONG PhCsUpdateInterval
 
EXT ULONG PhCsColorNew
 
EXT ULONG PhCsColorRemoved
 
EXT ULONG PhCsUseColorOwnProcesses
 
EXT ULONG PhCsColorOwnProcesses
 
EXT ULONG PhCsUseColorSystemProcesses
 
EXT ULONG PhCsColorSystemProcesses
 
EXT ULONG PhCsUseColorServiceProcesses
 
EXT ULONG PhCsColorServiceProcesses
 
EXT ULONG PhCsUseColorJobProcesses
 
EXT ULONG PhCsColorJobProcesses
 
EXT ULONG PhCsUseColorWow64Processes
 
EXT ULONG PhCsColorWow64Processes
 
EXT ULONG PhCsUseColorPosixProcesses
 
EXT ULONG PhCsColorPosixProcesses
 
EXT ULONG PhCsUseColorDebuggedProcesses
 
EXT ULONG PhCsColorDebuggedProcesses
 
EXT ULONG PhCsUseColorElevatedProcesses
 
EXT ULONG PhCsColorElevatedProcesses
 
EXT ULONG PhCsUseColorImmersiveProcesses
 
EXT ULONG PhCsColorImmersiveProcesses
 
EXT ULONG PhCsUseColorSuspended
 
EXT ULONG PhCsColorSuspended
 
EXT ULONG PhCsUseColorDotNet
 
EXT ULONG PhCsColorDotNet
 
EXT ULONG PhCsUseColorPacked
 
EXT ULONG PhCsColorPacked
 
EXT ULONG PhCsUseColorGuiThreads
 
EXT ULONG PhCsColorGuiThreads
 
EXT ULONG PhCsUseColorRelocatedModules
 
EXT ULONG PhCsColorRelocatedModules
 
EXT ULONG PhCsUseColorProtectedHandles
 
EXT ULONG PhCsColorProtectedHandles
 
EXT ULONG PhCsUseColorInheritHandles
 
EXT ULONG PhCsColorInheritHandles
 
EXT ULONG PhCsGraphShowText
 
EXT ULONG PhCsGraphColorMode
 
EXT ULONG PhCsColorCpuKernel
 
EXT ULONG PhCsColorCpuUser
 
EXT ULONG PhCsColorIoReadOther
 
EXT ULONG PhCsColorIoWrite
 
EXT ULONG PhCsColorPrivate
 
EXT ULONG PhCsColorPhysical
 

Macro Definition Documentation

#define EXT   extern

Definition at line 138 of file settings.h.

#define PH_SET_INTEGER_CACHED_SETTING (   Name,
  Value 
)    (PhSetIntegerSetting(L#Name, PhCs##Name = (Value)))

Definition at line 192 of file settings.h.

#define PhaGetStringSetting (   Name)    ((PPH_STRING)PhAutoDereferenceObject(PhGetStringSetting(Name)))

Definition at line 110 of file settings.h.

Typedef Documentation

typedef struct _PH_SETTING PH_SETTING
typedef struct _PH_SETTING * PPH_SETTING

Enumeration Type Documentation

Enumerator:
StringSettingType 
IntegerSettingType 
IntegerPairSettingType 
StringSettingType 
IntegerSettingType 
IntegerPairSettingType 

Definition at line 5 of file settings.h.

Function Documentation

PHAPPAPI VOID NTAPI PhAddSettings ( _In_ PPH_SETTING_CREATE  Settings,
_In_ ULONG  NumberOfSettings 
)

Definition at line 1015 of file settings.c.

VOID PhClearIgnoredSettings ( VOID  )

Definition at line 684 of file settings.c.

VOID PhConvertIgnoredSettings ( VOID  )

Definition at line 691 of file settings.c.

PHAPPAPI _May_raise_ PH_INTEGER_PAIR NTAPI PhGetIntegerPairSetting ( _In_ PWSTR  Name)

Definition at line 480 of file settings.c.

PHAPPAPI _May_raise_ ULONG NTAPI PhGetIntegerSetting ( _In_ PWSTR  Name)

Definition at line 449 of file settings.c.

PHAPPAPI _May_raise_ PPH_STRING NTAPI PhGetStringSetting ( _In_ PWSTR  Name)

Definition at line 511 of file settings.c.

NTSTATUS PhLoadSettings ( _In_ PWSTR  FileName)

Definition at line 742 of file settings.c.

VOID PhResetSettings ( VOID  )

Definition at line 995 of file settings.c.

NTSTATUS PhSaveSettings ( _In_ PWSTR  FileName)

Definition at line 910 of file settings.c.

PHAPPAPI _May_raise_ VOID NTAPI PhSetIntegerPairSetting ( _In_ PWSTR  Name,
_In_ PH_INTEGER_PAIR  Value 
)

Definition at line 579 of file settings.c.

PHAPPAPI _May_raise_ VOID NTAPI PhSetIntegerSetting ( _In_ PWSTR  Name,
_In_ ULONG  Value 
)

Definition at line 554 of file settings.c.

PHAPPAPI _May_raise_ VOID NTAPI PhSetStringSetting ( _In_ PWSTR  Name,
_In_ PWSTR  Value 
)

Definition at line 604 of file settings.c.

PHAPPAPI _May_raise_ VOID NTAPI PhSetStringSetting2 ( _In_ PWSTR  Name,
_In_ PPH_STRINGREF  Value 
)

Definition at line 630 of file settings.c.

VOID PhSettingsInitialization ( VOID  )

Definition at line 62 of file settings.c.

VOID PhUpdateCachedSettings ( VOID  )

Definition at line 230 of file settings.c.

Variable Documentation

EXT ULONG PhCsCollapseServicesOnStart

Definition at line 141 of file settings.h.

EXT ULONG PhCsColorCpuKernel

Definition at line 185 of file settings.h.

EXT ULONG PhCsColorCpuUser

Definition at line 186 of file settings.h.

EXT ULONG PhCsColorDebuggedProcesses

Definition at line 164 of file settings.h.

EXT ULONG PhCsColorDotNet

Definition at line 172 of file settings.h.

EXT ULONG PhCsColorElevatedProcesses

Definition at line 166 of file settings.h.

EXT ULONG PhCsColorGuiThreads

Definition at line 176 of file settings.h.

EXT ULONG PhCsColorImmersiveProcesses

Definition at line 168 of file settings.h.

EXT ULONG PhCsColorInheritHandles

Definition at line 182 of file settings.h.

EXT ULONG PhCsColorIoReadOther

Definition at line 187 of file settings.h.

EXT ULONG PhCsColorIoWrite

Definition at line 188 of file settings.h.

EXT ULONG PhCsColorJobProcesses

Definition at line 158 of file settings.h.

EXT ULONG PhCsColorNew

Definition at line 149 of file settings.h.

EXT ULONG PhCsColorOwnProcesses

Definition at line 152 of file settings.h.

EXT ULONG PhCsColorPacked

Definition at line 174 of file settings.h.

EXT ULONG PhCsColorPhysical

Definition at line 190 of file settings.h.

EXT ULONG PhCsColorPosixProcesses

Definition at line 162 of file settings.h.

EXT ULONG PhCsColorPrivate

Definition at line 189 of file settings.h.

EXT ULONG PhCsColorProtectedHandles

Definition at line 180 of file settings.h.

EXT ULONG PhCsColorRelocatedModules

Definition at line 178 of file settings.h.

EXT ULONG PhCsColorRemoved

Definition at line 150 of file settings.h.

EXT ULONG PhCsColorServiceProcesses

Definition at line 156 of file settings.h.

EXT ULONG PhCsColorSuspended

Definition at line 170 of file settings.h.

EXT ULONG PhCsColorSystemProcesses

Definition at line 154 of file settings.h.

EXT ULONG PhCsColorWow64Processes

Definition at line 160 of file settings.h.

EXT ULONG PhCsForceNoParent

Definition at line 142 of file settings.h.

EXT ULONG PhCsGraphColorMode

Definition at line 184 of file settings.h.

EXT ULONG PhCsGraphShowText

Definition at line 183 of file settings.h.

EXT ULONG PhCsHighlightingDuration

Definition at line 143 of file settings.h.

EXT ULONG PhCsPropagateCpuUsage

Definition at line 144 of file settings.h.

EXT ULONG PhCsScrollToNewProcesses

Definition at line 145 of file settings.h.

EXT ULONG PhCsShowCpuBelow001

Definition at line 146 of file settings.h.

EXT ULONG PhCsUpdateInterval

Definition at line 147 of file settings.h.

EXT ULONG PhCsUseColorDebuggedProcesses

Definition at line 163 of file settings.h.

EXT ULONG PhCsUseColorDotNet

Definition at line 171 of file settings.h.

EXT ULONG PhCsUseColorElevatedProcesses

Definition at line 165 of file settings.h.

EXT ULONG PhCsUseColorGuiThreads

Definition at line 175 of file settings.h.

EXT ULONG PhCsUseColorImmersiveProcesses

Definition at line 167 of file settings.h.

EXT ULONG PhCsUseColorInheritHandles

Definition at line 181 of file settings.h.

EXT ULONG PhCsUseColorJobProcesses

Definition at line 157 of file settings.h.

EXT ULONG PhCsUseColorOwnProcesses

Definition at line 151 of file settings.h.

EXT ULONG PhCsUseColorPacked

Definition at line 173 of file settings.h.

EXT ULONG PhCsUseColorPosixProcesses

Definition at line 161 of file settings.h.

EXT ULONG PhCsUseColorProtectedHandles

Definition at line 179 of file settings.h.

EXT ULONG PhCsUseColorRelocatedModules

Definition at line 177 of file settings.h.

EXT ULONG PhCsUseColorServiceProcesses

Definition at line 155 of file settings.h.

EXT ULONG PhCsUseColorSuspended

Definition at line 169 of file settings.h.

EXT ULONG PhCsUseColorSystemProcesses

Definition at line 153 of file settings.h.

EXT ULONG PhCsUseColorWow64Processes

Definition at line 159 of file settings.h.