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

Go to the source code of this file.

Macros

#define SET_MENU_ITEM_ENABLED(MenuItem, Enabled)   if (!(Enabled)) (MenuItem)->Flags |= PH_EMENU_DISABLED;
 

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 ProcessMenuInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI ServicePropertiesInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
VOID NTAPI ServiceMenuInitializingCallback (_In_opt_ PVOID Parameter, _In_opt_ PVOID Context)
 
LOGICAL DllMain (_In_ HINSTANCE Instance, _In_ ULONG Reason, _Reserved_ PVOID Reserved)
 

Variables

PPH_PLUGIN PluginInstance
 
_RtlCreateServiceSid RtlCreateServiceSid_I
 
PH_CALLBACK_REGISTRATION PluginLoadCallbackRegistration
 
PH_CALLBACK_REGISTRATION PluginShowOptionsCallbackRegistration
 
PH_CALLBACK_REGISTRATION PluginMenuItemCallbackRegistration
 
PH_CALLBACK_REGISTRATION ProcessMenuInitializingCallbackRegistration
 
PH_CALLBACK_REGISTRATION ServicePropertiesInitializingCallbackRegistration
 
PH_CALLBACK_REGISTRATION ServiceMenuInitializingCallbackRegistration
 

Macro Definition Documentation

#define SET_MENU_ITEM_ENABLED (   MenuItem,
  Enabled 
)    if (!(Enabled)) (MenuItem)->Flags |= PH_EMENU_DISABLED;

Function Documentation

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

Definition at line 66 of file main.c.

VOID NTAPI LoadCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)
VOID NTAPI MenuItemCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)
VOID NTAPI ProcessMenuInitializingCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)
VOID NTAPI ServiceMenuInitializingCallback ( _In_opt_ PVOID  Parameter,
_In_opt_ PVOID  Context 
)

Definition at line 494 of file main.c.

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

Definition at line 402 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_PLUGIN PluginInstance

Definition at line 57 of file main.c.

PH_CALLBACK_REGISTRATION PluginLoadCallbackRegistration

Definition at line 59 of file main.c.

PH_CALLBACK_REGISTRATION PluginMenuItemCallbackRegistration

Definition at line 61 of file main.c.

PH_CALLBACK_REGISTRATION PluginShowOptionsCallbackRegistration

Definition at line 60 of file main.c.

PH_CALLBACK_REGISTRATION ProcessMenuInitializingCallbackRegistration

Definition at line 62 of file main.c.

_RtlCreateServiceSid RtlCreateServiceSid_I

Definition at line 58 of file main.c.

PH_CALLBACK_REGISTRATION ServiceMenuInitializingCallbackRegistration

Definition at line 64 of file main.c.

PH_CALLBACK_REGISTRATION ServicePropertiesInitializingCallbackRegistration

Definition at line 63 of file main.c.