PHP - Manual: Win32Service Service Start Type Constants
2024-12-22
Constant | Value | Description |
---|---|---|
WIN32_SERVICE_BOOT_START |
0x00000000 | A device driver started by the system loader. This value is valid only for driver services. |
WIN32_SERVICE_SYSTEM_START |
0x00000001 | A device driver started by the IoInitSystem function. This value is valid only for driver services. |
WIN32_SERVICE_AUTO_START |
0x00000002 | A service started automatically by the service control manager during system startup. |
WIN32_SERVICE_DEMAND_START |
0x00000003 | A service started by the service control manager when a process calls the StartService function. |
WIN32_SERVICE_DISABLED |
0x00000004 |
A service that cannot be started. Attempts to start the service result in
the error code WIN32_ERROR_SERVICE_DISABLED .
|
官方地址:https://www.php.net/manual/en/win32service.constants.servicestarttype.php