Win32Service Service Error Control Constants
ConstantValueDescription
WIN32_SERVICE_ERROR_IGNORE0x00000000 The startup program ignores the error and continues the startup operation.
WIN32_SERVICE_ERROR_NORMAL0x00000001 The startup program logs the error in the event log but continues the startup operation.
WIN32_SERVICE_ERROR_SEVERE0x00000002 The startup program logs the error in the event log. If the last-known-good configuration is being started, the startup operation continues. Otherwise, the system is restarted with the last-known-good configuration.
WIN32_SERVICE_ERROR_CRITICAL0x00000003 The startup program logs the error in the event log, if possible. If the last-known-good configuration is being started, the startup operation fails. Otherwise, the system is restarted with the last-known good configuration.
To Top