Lines Matching refs:gServiceStatus
205 DEBUG_LOCAL SERVICE_STATUS gServiceStatus; variable
887 gServiceStatus.dwServiceType = SERVICE_WIN32_SHARE_PROCESS; in ServiceMain()
888 gServiceStatus.dwCurrentState = 0; in ServiceMain()
889 …gServiceStatus.dwControlsAccepted = SERVICE_ACCEPT_STOP|SERVICE_ACCEPT_SHUTDOWN|SERVICE_ACCEPT_… in ServiceMain()
890 gServiceStatus.dwWin32ExitCode = NO_ERROR; in ServiceMain()
891 gServiceStatus.dwServiceSpecificExitCode = NO_ERROR; in ServiceMain()
892 gServiceStatus.dwCheckPoint = 0; in ServiceMain()
893 gServiceStatus.dwWaitHint = 0; in ServiceMain()
901 gServiceStatus.dwCurrentState = SERVICE_START_PENDING; in ServiceMain()
902 gServiceStatus.dwCheckPoint = 0; in ServiceMain()
903 gServiceStatus.dwWaitHint = 5000; // 5 seconds in ServiceMain()
904 ok = SetServiceStatus( gServiceStatusHandle, &gServiceStatus ); in ServiceMain()
912 gServiceStatus.dwWin32ExitCode = ERROR_SERVICE_SPECIFIC_ERROR; in ServiceMain()
913 gServiceStatus.dwServiceSpecificExitCode = (DWORD) err; in ServiceMain()
918 gServiceStatus.dwCurrentState = SERVICE_STOPPED; in ServiceMain()
919 ok = SetServiceStatus( gServiceStatusHandle, &gServiceStatus ); in ServiceMain()
1084 ok = SetServiceStatus( gServiceStatusHandle, &gServiceStatus ); in ServiceControlHandler()
1112 gServiceStatus.dwCurrentState = SERVICE_RUNNING; in ServiceRun()
1113 ok = SetServiceStatus( gServiceStatusHandle, &gServiceStatus ); in ServiceRun()
1160 gServiceStatus.dwCurrentState = SERVICE_STOP_PENDING; in ServiceStop()
1161 ok = SetServiceStatus( gServiceStatusHandle, &gServiceStatus ); in ServiceStop()