void ReportSvcStatus(DWORD dwCurrentState, DWORD dwWin32ExitCode, DWORD dwWaitHint)
Sets the current service status and reports it to the SCM.
void WINAPI SvcCtrlHandler(DWORD dwCtrl)
Called by SCM whenever a control code is sent to the service using the ControlService function.
void SvcInit(DWORD dwArgc, LPWSTR *lpszArgv)
void WINAPI SvcMain(DWORD dwArgc, LPWSTR *lpszArgv)
Main entry point when running as a service.