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

Go to the source code of this file.

Macros

#define SIP(String, Integer)   { (String), (PVOID)(Integer) }
 

Typedefs

typedef struct
_SERVICE_OTHER_CONTEXT 
SERVICE_OTHER_CONTEXT
 
typedef struct
_SERVICE_OTHER_CONTEXT * 
PSERVICE_OTHER_CONTEXT
 

Functions

BOOLEAN EspChangeServiceConfig2 (_In_ PWSTR ServiceName, _In_opt_ SC_HANDLE ServiceHandle, _In_ ULONG InfoLevel, _In_ PVOID Info)
 
PWSTR EspGetServiceSidTypeString (_In_ ULONG SidType)
 
ULONG EspGetServiceSidTypeInteger (_In_ PWSTR SidType)
 
PWSTR EspGetServiceLaunchProtectedString (_In_ ULONG LaunchProtected)
 
ULONG EspGetServiceLaunchProtectedInteger (_In_ PWSTR LaunchProtected)
 
NTSTATUS EspLoadOtherInfo (_In_ HWND hwndDlg, _In_ PSERVICE_OTHER_CONTEXT Context)
 
INT_PTR CALLBACK EspServiceOtherDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
 

Variables

WCHAR * EspServiceSidTypeStrings [3] = { L"None", L"Restricted", L"Unrestricted" }
 
WCHAR * EspServiceLaunchProtectedStrings [4] = { L"None", L"Full (Windows)", L"Light (Windows)", L"Light (Antimalware)" }
 

Macro Definition Documentation

#define SIP (   String,
  Integer 
)    { (String), (PVOID)(Integer) }

Definition at line 47 of file other.c.

Typedef Documentation

typedef struct _SERVICE_OTHER_CONTEXT * PSERVICE_OTHER_CONTEXT
typedef struct _SERVICE_OTHER_CONTEXT SERVICE_OTHER_CONTEXT

Function Documentation

BOOLEAN EspChangeServiceConfig2 ( _In_ PWSTR  ServiceName,
_In_opt_ SC_HANDLE  ServiceHandle,
_In_ ULONG  InfoLevel,
_In_ PVOID  Info 
)

Definition at line 716 of file other.c.

ULONG EspGetServiceLaunchProtectedInteger ( _In_ PWSTR  LaunchProtected)

Definition at line 125 of file other.c.

PWSTR EspGetServiceLaunchProtectedString ( _In_ ULONG  LaunchProtected)

Definition at line 108 of file other.c.

ULONG EspGetServiceSidTypeInteger ( _In_ PWSTR  SidType)

Definition at line 91 of file other.c.

PWSTR EspGetServiceSidTypeString ( _In_ ULONG  SidType)

Definition at line 74 of file other.c.

NTSTATUS EspLoadOtherInfo ( _In_ HWND  hwndDlg,
_In_ PSERVICE_OTHER_CONTEXT  Context 
)

Definition at line 142 of file other.c.

INT_PTR CALLBACK EspServiceOtherDlgProc ( _In_ HWND  hwndDlg,
_In_ UINT  uMsg,
_In_ WPARAM  wParam,
_In_ LPARAM  lParam 
)

Definition at line 288 of file other.c.

Variable Documentation

WCHAR* EspServiceLaunchProtectedStrings[4] = { L"None", L"Full (Windows)", L"Light (Windows)", L"Light (Antimalware)" }

Definition at line 72 of file other.c.

WCHAR* EspServiceSidTypeStrings[3] = { L"None", L"Restricted", L"Unrestricted" }

Definition at line 71 of file other.c.