ReactOS 0.4.16-dev-457-g087979e
|
Go to the source code of this file.
Enumerations | |
enum | ServiceCommands { RegisterShimCacheWithHandle = 128 , RegisterShimCacheWithoutHandle = 129 } |
Functions | |
static | NTSTATUS (NTAPI *pNtApphelpCacheControl)(APPHELPCACHESERVICECLASS |
NTSTATUS | CallCacheControl (UNICODE_STRING *PathName, BOOLEAN WithMapping, APPHELPCACHESERVICECLASS Service) |
int | InitEnv (UNICODE_STRING *PathName) |
void | CheckValidation (UNICODE_STRING *PathName) |
static BOOLEAN | RequestAddition (SC_HANDLE service_handle, BOOLEAN WithMapping) |
static void | RunApphelpCacheControlTests (SC_HANDLE service_handle) |
static | SERVICE_STATUS_HANDLE (WINAPI *pRegisterServiceCtrlHandlerExA)(LPCSTR |
static BOOLEAN | RegisterInShimCache (BOOLEAN WithMapping) |
static DWORD WINAPI | service_handler (DWORD ctrl, DWORD event_type, void *event_data, void *context) |
static void WINAPI | service_main (DWORD argc, char **argv) |
static SC_HANDLE | InstallService (SC_HANDLE scm_handle) |
static void | WaitService (SC_HANDLE service_handle, DWORD Status, SERVICE_STATUS_PROCESS *ssp) |
static void | RunTest () |
START_TEST (NtApphelpCacheControl) | |
Variables | |
static | PAPPHELP_CACHE_SERVICE_LOOKUP |
static | LPHANDLER_FUNCTION_EX |
static | LPVOID |
static char | service_name [100] = "apphelp_test_service" |
static HANDLE | service_stop_event |
static SERVICE_STATUS_HANDLE | service_status |
Enumerator | |
---|---|
RegisterShimCacheWithHandle | |
RegisterShimCacheWithoutHandle |
Definition at line 13 of file NtApphelpCacheControl.c.
NTSTATUS CallCacheControl | ( | UNICODE_STRING * | PathName, |
BOOLEAN | WithMapping, | ||
APPHELPCACHESERVICECLASS | Service | ||
) |
Definition at line 21 of file NtApphelpCacheControl.c.
Referenced by InitEnv(), RegisterInShimCache(), and RunApphelpCacheControlTests().
void CheckValidation | ( | UNICODE_STRING * | PathName | ) |
Definition at line 63 of file NtApphelpCacheControl.c.
Referenced by RunApphelpCacheControlTests().
int InitEnv | ( | UNICODE_STRING * | PathName | ) |
Definition at line 49 of file NtApphelpCacheControl.c.
Referenced by RunApphelpCacheControlTests().
|
static |
Definition at line 275 of file NtApphelpCacheControl.c.
Referenced by RunTest().
Definition at line 194 of file NtApphelpCacheControl.c.
Referenced by service_handler().
Definition at line 97 of file NtApphelpCacheControl.c.
Referenced by RunApphelpCacheControlTests().
|
static |
Definition at line 106 of file NtApphelpCacheControl.c.
Referenced by RunTest().
|
static |
Definition at line 317 of file NtApphelpCacheControl.c.
Referenced by START_TEST().
|
static |
Definition at line 220 of file NtApphelpCacheControl.c.
Referenced by service_main().
Definition at line 256 of file NtApphelpCacheControl.c.
Referenced by START_TEST().
|
static |
Referenced by _ServiceMain(), AbortSvchostService(), CMP_RegisterNotification(), I_ScValidatePnpService(), RControlService(), RegisterServiceCtrlHandlerA(), RegisterServiceCtrlHandlerExA(), SamSsServiceMain(), ScmAutoShutdownServices(), ScmStartUserModeService(), ScmStopThread(), and service_main().
START_TEST | ( | NtApphelpCacheControl | ) |
Definition at line 341 of file NtApphelpCacheControl.c.
|
static |
Definition at line 295 of file NtApphelpCacheControl.c.
Referenced by RunTest().
LPHANDLER_FUNCTION_EX |
Definition at line 189 of file NtApphelpCacheControl.c.
Definition at line 189 of file NtApphelpCacheControl.c.
Definition at line 19 of file NtApphelpCacheControl.c.
|
static |
Definition at line 190 of file NtApphelpCacheControl.c.
Referenced by DoService(), InstallService(), no_stop_main(), register_service(), register_service_exA(), register_service_exW(), register_serviceA(), register_serviceW(), service_main(), service_process(), START_TEST(), and test_runner().
|
static |
Definition at line 192 of file NtApphelpCacheControl.c.
Referenced by service_handler(), and service_main().
|
static |
Definition at line 191 of file NtApphelpCacheControl.c.
Referenced by service_handler(), service_main(), and START_TEST().