enum ugcs::vsm::Run_as_service_result

Overview

Result of Run_as_service function SERVICE_RESULT_OK = 0: Was invoked as service and is about to end. More…

#include <run_as_service.h>

enum Run_as_service_result
{
    SERVICE_RESULT_OK                = 0,
    SERVICE_RESULT_ERROR             = 1,
    SERVICE_RESULT_NORMAL_INVOCATION = -1,
};

Detailed Documentation

Result of Run_as_service function SERVICE_RESULT_OK = 0: Was invoked as service and is about to end.

(service has stopped).

  • OR - Service specific parameters processed successfully. Application should terminate normally on this return code.

SERVICE_RESULT_ERROR: Error while Service specific parameters processing. Application should terminate with error on this return code.

SERVICE_RESULT_NORMAL_INVOCATION -1: Was not invoked as service AND no service* parameters given. Application should continue as if launched normally (not as service).