69 TRACE(
"ServiceControlHandlerEx()\n");
74 TRACE(
" SERVICE_CONTROL_STOP received\n");
81 TRACE(
" SERVICE_CONTROL_PAUSE received\n");
88 TRACE(
" SERVICE_CONTROL_CONTINUE received\n");
95 TRACE(
" SERVICE_CONTROL_INTERROGATE received\n");
101 TRACE(
" SERVICE_CONTROL_SHUTDOWN received\n");
108 TRACE(
" Control %lu received\n", dwControl);
119 TRACE(
"SvchostPushServiceGlobals(%p)\n", lpGlobals);
135 TRACE(
"ServiceMain(%d %p)\n", ArgCount, ArgVector);
142 ERR(
"RegisterServiceCtrlHandlerExW() failed! (Error %lu)\n",
GetLastError());
151 ERR(
"Service stopped (dwError: %lu\n", dwError);
static SERVICE_STATUS_HANDLE(WINAPI *pRegisterServiceCtrlHandlerExA)(LPCSTR
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
DWORD StartRpcServer(VOID)
DWORD StopRpcServer(VOID)
#define ERROR_CALL_NOT_IMPLEMENTED
#define DLL_PROCESS_ATTACH
#define DLL_PROCESS_DETACH
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
static LPCSTR DWORD void * pvReserved
#define UNREFERENCED_PARAMETER(P)
SERVICE_STATUS_HANDLE WINAPI RegisterServiceCtrlHandlerExW(LPCWSTR lpServiceName, LPHANDLER_FUNCTION_EX lpHandlerProc, LPVOID lpContext)
BOOL WINAPI SetServiceStatus(SERVICE_STATUS_HANDLE hServiceStatus, LPSERVICE_STATUS lpServiceStatus)
static WCHAR ServiceName[]
static VOID UpdateServiceStatus(_In_ DWORD dwState)
VOID WINAPI SvcEntry_Seclogon(_In_ INT ArgCount, _In_ PWSTR *ArgVector)
PSVCHOST_GLOBAL_DATA lpServiceGlobals
static SERVICE_STATUS_HANDLE ServiceStatusHandle
BOOL WINAPI DllMain(_In_ HINSTANCE hinstDLL, _In_ DWORD fdwReason, _In_ PVOID pvReserved)
static SERVICE_STATUS ServiceStatus
VOID WINAPI SvchostPushServiceGlobals(_In_ PSVCHOST_GLOBAL_DATA lpGlobals)
static DWORD WINAPI ServiceControlHandlerEx(_In_ DWORD dwControl, _In_ DWORD dwEventType, _In_ LPVOID lpEventData, _In_ LPVOID lpContext)
DWORD dwServiceSpecificExitCode
DWORD WINAPI GetLastError(void)
#define SERVICE_ACCEPT_STOP
#define SERVICE_STOP_PENDING
#define SERVICE_CONTROL_SHUTDOWN
#define SERVICE_START_PENDING
#define SERVICE_CONTROL_CONTINUE
#define SERVICE_ACCEPT_PAUSE_CONTINUE
#define SERVICE_CONTROL_STOP
#define SERVICE_ACCEPT_SHUTDOWN
#define SERVICE_PAUSE_PENDING
#define SERVICE_CONTROL_PAUSE
#define SERVICE_CONTROL_INTERROGATE
#define SERVICE_CONTINUE_PENDING
#define SERVICE_WIN32_SHARE_PROCESS