#include <ph.h>
#include <winmisc.h>
Go to the source code of this file.
|
#define | SIP(String, Integer) { (String), (PVOID)(Integer) } |
|
|
PVOID | PhEnumServices (_In_ SC_HANDLE ScManagerHandle, _In_opt_ ULONG Type, _In_opt_ ULONG State, _Out_ PULONG Count) |
|
SC_HANDLE | PhOpenService (_In_ PWSTR ServiceName, _In_ ACCESS_MASK DesiredAccess) |
|
PVOID | PhGetServiceConfig (_In_ SC_HANDLE ServiceHandle) |
|
PVOID | PhQueryServiceVariableSize (_In_ SC_HANDLE ServiceHandle, _In_ ULONG InfoLevel) |
|
PPH_STRING | PhGetServiceDescription (_In_ SC_HANDLE ServiceHandle) |
|
BOOLEAN | PhGetServiceDelayedAutoStart (_In_ SC_HANDLE ServiceHandle, _Out_ PBOOLEAN DelayedAutoStart) |
|
BOOLEAN | PhSetServiceDelayedAutoStart (_In_ SC_HANDLE ServiceHandle, _In_ BOOLEAN DelayedAutoStart) |
|
PWSTR | PhGetServiceStateString (_In_ ULONG ServiceState) |
|
PWSTR | PhGetServiceTypeString (_In_ ULONG ServiceType) |
|
ULONG | PhGetServiceTypeInteger (_In_ PWSTR ServiceType) |
|
PWSTR | PhGetServiceStartTypeString (_In_ ULONG ServiceStartType) |
|
ULONG | PhGetServiceStartTypeInteger (_In_ PWSTR ServiceStartType) |
|
PWSTR | PhGetServiceErrorControlString (_In_ ULONG ServiceErrorControl) |
|
ULONG | PhGetServiceErrorControlInteger (_In_ PWSTR ServiceErrorControl) |
|
PPH_STRING | PhGetServiceNameFromTag (_In_ HANDLE ProcessId, _In_ PVOID ServiceTag) |
|
NTSTATUS | PhGetThreadServiceTag (_In_ HANDLE ThreadHandle, _In_opt_ HANDLE ProcessHandle, _Out_ PVOID *ServiceTag) |
|
NTSTATUS | PhGetServiceDllParameter (_In_ PPH_STRINGREF ServiceName, _Out_ PPH_STRING *ServiceDll) |
|
#define SIP |
( |
|
String, |
|
|
|
Integer |
|
) |
| { (String), (PVOID)(Integer) } |
PVOID PhEnumServices |
( |
_In_ SC_HANDLE |
ScManagerHandle, |
|
|
_In_opt_ ULONG |
Type, |
|
|
_In_opt_ ULONG |
State, |
|
|
_Out_ PULONG |
Count |
|
) |
| |
PVOID PhGetServiceConfig |
( |
_In_ SC_HANDLE |
ServiceHandle | ) |
|
BOOLEAN PhGetServiceDelayedAutoStart |
( |
_In_ SC_HANDLE |
ServiceHandle, |
|
|
_Out_ PBOOLEAN |
DelayedAutoStart |
|
) |
| |
PPH_STRING PhGetServiceDescription |
( |
_In_ SC_HANDLE |
ServiceHandle | ) |
|
ULONG PhGetServiceErrorControlInteger |
( |
_In_ PWSTR |
ServiceErrorControl | ) |
|
PWSTR PhGetServiceErrorControlString |
( |
_In_ ULONG |
ServiceErrorControl | ) |
|
PPH_STRING PhGetServiceNameFromTag |
( |
_In_ HANDLE |
ProcessId, |
|
|
_In_ PVOID |
ServiceTag |
|
) |
| |
ULONG PhGetServiceStartTypeInteger |
( |
_In_ PWSTR |
ServiceStartType | ) |
|
PWSTR PhGetServiceStartTypeString |
( |
_In_ ULONG |
ServiceStartType | ) |
|
PWSTR PhGetServiceStateString |
( |
_In_ ULONG |
ServiceState | ) |
|
ULONG PhGetServiceTypeInteger |
( |
_In_ PWSTR |
ServiceType | ) |
|
PWSTR PhGetServiceTypeString |
( |
_In_ ULONG |
ServiceType | ) |
|
NTSTATUS PhGetThreadServiceTag |
( |
_In_ HANDLE |
ThreadHandle, |
|
|
_In_opt_ HANDLE |
ProcessHandle, |
|
|
_Out_ PVOID * |
ServiceTag |
|
) |
| |
SC_HANDLE PhOpenService |
( |
_In_ PWSTR |
ServiceName, |
|
|
_In_ ACCESS_MASK |
DesiredAccess |
|
) |
| |
PVOID PhQueryServiceVariableSize |
( |
_In_ SC_HANDLE |
ServiceHandle, |
|
|
_In_ ULONG |
InfoLevel |
|
) |
| |
BOOLEAN PhSetServiceDelayedAutoStart |
( |
_In_ SC_HANDLE |
ServiceHandle, |
|
|
_In_ BOOLEAN |
DelayedAutoStart |
|
) |
| |
WCHAR* PhServiceErrorControlStrings[4] = { L"Ignore", L"Normal", L"Severe", L"Critical" } |
WCHAR* PhServiceStartTypeStrings[5] |
Initial value:= { L"Disabled", L"Boot Start", L"System Start",
L"Auto Start", L"Demand Start" }
Definition at line 68 of file svcsup.c.
WCHAR* PhServiceTypeStrings[6] |
Initial value:= { L"Driver", L"FS Driver", L"Own Process", L"Share Process",
L"Own Interactive Process", L"Share Interactive Process" }
Definition at line 66 of file svcsup.c.