Process Hacker
main.c File Reference
#include <phdk.h>
#include "resource.h"
#include "sbiedll.h"

Go to the source code of this file.

Typedefs

typedef struct _BOX_INFO BOX_INFO
 
typedef struct _BOX_INFO * PBOX_INFO
 
typedef struct _BOXED_PROCESS BOXED_PROCESS
 
typedef struct _BOXED_PROCESS * PBOXED_PROCESS
 

Functions

VOID NTAPI LoadCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI ShowOptionsCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI MenuItemCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI MainMenuInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI ProcessesUpdatedCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI GetProcessHighlightingColorCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI GetProcessTooltipTextCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI GetIsDotNetDirectoryNamesCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI RefreshSandboxieInfo (_In_opt_ PVOID Context, _In_ BOOLEAN TimerOrWaitFired)
 
INT_PTR CALLBACK OptionsDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
 
LOGICAL DllMain (_In_ HINSTANCE Instance, _In_ ULONG Reason, _Reserved_ PVOID Reserved)
 
BOOLEAN NTAPI BoxedProcessesCompareFunction (_In_ PVOID Entry1, _In_ PVOID Entry2)
 
ULONG NTAPI BoxedProcessesHashFunction (_In_ PVOID Entry)
 

Variables

PPH_PLUGIN PluginInstance
 
PH_CALLBACK_REGISTRATION PluginLoadCallbackRegistration
 
PH_CALLBACK_REGISTRATION PluginShowOptionsCallbackRegistration
 
PH_CALLBACK_REGISTRATION PluginMenuItemCallbackRegistration
 
PH_CALLBACK_REGISTRATION MainMenuInitializingCallbackRegistration
 
PH_CALLBACK_REGISTRATION ProcessesUpdatedCallbackRegistration
 
PH_CALLBACK_REGISTRATION GetProcessHighlightingColorCallbackRegistration
 
PH_CALLBACK_REGISTRATION GetProcessTooltipTextCallbackRegistration
 
P_SbieApi_QueryBoxPath SbieApi_QueryBoxPath
 
P_SbieApi_EnumBoxes SbieApi_EnumBoxes
 
P_SbieApi_EnumProcessEx SbieApi_EnumProcessEx
 
P_SbieDll_KillAll SbieDll_KillAll
 
PPH_HASHTABLE BoxedProcessesHashtable
 
PH_QUEUED_LOCK BoxedProcessesLock = PH_QUEUED_LOCK_INIT
 
BOOLEAN BoxedProcessesUpdated = FALSE
 
BOX_INFO BoxInfo [16]
 
ULONG BoxInfoCount
 

Typedef Documentation

typedef struct _BOX_INFO BOX_INFO
typedef struct _BOXED_PROCESS BOXED_PROCESS
typedef struct _BOX_INFO * PBOX_INFO
typedef struct _BOXED_PROCESS * PBOXED_PROCESS

Function Documentation

BOOLEAN NTAPI BoxedProcessesCompareFunction ( _In_ PVOID  Entry1,
_In_ PVOID  Entry2 
)

Definition at line 195 of file main.c.

ULONG NTAPI BoxedProcessesHashFunction ( _In_ PVOID  Entry)

Definition at line 203 of file main.c.

LOGICAL DllMain ( _In_ HINSTANCE  Instance,
_In_ ULONG  Reason,
_Reserved_ PVOID  Reserved 
)

Definition at line 113 of file main.c.

VOID NTAPI GetIsDotNetDirectoryNamesCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)
VOID NTAPI GetProcessHighlightingColorCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)

Definition at line 347 of file main.c.

VOID NTAPI GetProcessTooltipTextCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)

Definition at line 370 of file main.c.

VOID NTAPI LoadCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)
VOID NTAPI MainMenuInitializingCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)

Definition at line 300 of file main.c.

VOID NTAPI MenuItemCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)
INT_PTR CALLBACK OptionsDlgProc ( _In_ HWND  hwndDlg,
_In_ UINT  uMsg,
_In_ WPARAM  wParam,
_In_ LPARAM  lParam 
)

Definition at line 47 of file options.c.

VOID NTAPI ProcessesUpdatedCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)

Definition at line 399 of file etwdisk.c.

VOID NTAPI RefreshSandboxieInfo ( _In_opt_ PVOID  Context,
_In_ BOOLEAN  TimerOrWaitFired 
)

Definition at line 391 of file main.c.

VOID NTAPI ShowOptionsCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)

Definition at line 285 of file main.c.

Variable Documentation

PPH_HASHTABLE BoxedProcessesHashtable

Definition at line 106 of file main.c.

PH_QUEUED_LOCK BoxedProcessesLock = PH_QUEUED_LOCK_INIT

Definition at line 107 of file main.c.

BOOLEAN BoxedProcessesUpdated = FALSE

Definition at line 108 of file main.c.

BOX_INFO BoxInfo[16]

Definition at line 110 of file main.c.

ULONG BoxInfoCount

Definition at line 111 of file main.c.

PH_CALLBACK_REGISTRATION GetProcessHighlightingColorCallbackRegistration

Definition at line 98 of file main.c.

PH_CALLBACK_REGISTRATION GetProcessTooltipTextCallbackRegistration

Definition at line 99 of file main.c.

PH_CALLBACK_REGISTRATION MainMenuInitializingCallbackRegistration

Definition at line 96 of file main.c.

PPH_PLUGIN PluginInstance

Definition at line 92 of file main.c.

PH_CALLBACK_REGISTRATION PluginLoadCallbackRegistration

Definition at line 93 of file main.c.

PH_CALLBACK_REGISTRATION PluginMenuItemCallbackRegistration

Definition at line 95 of file main.c.

PH_CALLBACK_REGISTRATION PluginShowOptionsCallbackRegistration

Definition at line 94 of file main.c.

PH_CALLBACK_REGISTRATION ProcessesUpdatedCallbackRegistration

Definition at line 97 of file main.c.

P_SbieApi_EnumBoxes SbieApi_EnumBoxes

Definition at line 102 of file main.c.

P_SbieApi_EnumProcessEx SbieApi_EnumProcessEx

Definition at line 103 of file main.c.

P_SbieApi_QueryBoxPath SbieApi_QueryBoxPath

Definition at line 101 of file main.c.

P_SbieDll_KillAll SbieDll_KillAll

Definition at line 104 of file main.c.