Win32Service Service Error Control Constants
Constant Value Description
WIN32_SERVICE_ERROR_IGNORE 0x00000000 The startup program ignores the error and continues the startup operation.
WIN32_SERVICE_ERROR_NORMAL 0x00000001 The startup program logs the error in the event log but continues the startup operation.
WIN32_SERVICE_ERROR_SEVERE 0x00000002 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_CRITICAL 0x00000003 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.

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 站长在线 整理 版权归PHP文档组所有