Constant | Value | Description |
---|---|---|
WIN32_SERVICE_CONTROL_CONTINUE |
0x00000003 | Notifies a paused service that it should resume. |
WIN32_SERVICE_CONTROL_DEVICEEVENT |
0x0000000B | |
WIN32_SERVICE_CONTROL_HARDWAREPROFILECHANGE |
0x0000000C | |
WIN32_SERVICE_CONTROL_INTERROGATE |
0x00000004 | Notifies a service that it should report its current status information to the service control manager. |
WIN32_SERVICE_CONTROL_NETBINDADD |
0x00000007 | Notifies a network service that there is a new component for binding. |
WIN32_SERVICE_CONTROL_NETBINDDISABLE |
0x0000000A | Notifies a network service that one of its bindings has been disabled. |
WIN32_SERVICE_CONTROL_NETBINDENABLE |
0x00000009 | Notifies a network service that a disabled binding has been enabled. |
WIN32_SERVICE_CONTROL_NETBINDREMOVE |
0x00000008 | Notifies a network service that a component for binding has been removed. |
WIN32_SERVICE_CONTROL_PARAMCHANGE |
0x00000006 | Notifies a service that its startup parameters have changed. |
WIN32_SERVICE_CONTROL_PAUSE |
0x00000002 | Notifies a service that it should pause. |
WIN32_SERVICE_CONTROL_POWEREVENT |
0x0000000D | |
WIN32_SERVICE_CONTROL_PRESHUTDOWN |
0x0000000F | Notifies a service that the system will be shutting down. A service that handles this notification blocks system shutdown until the service stops or the preshutdown time-out interval expires. This value is not supported by Windows Server 2003 and Windows XP/2000. |
WIN32_SERVICE_CONTROL_SESSIONCHANGE |
0x0000000E | |
WIN32_SERVICE_CONTROL_SHUTDOWN |
0x00000005 | Notifies a service that the system is shutting down so the service can perform cleanup tasks. If a service accepts this control code, it must stop after it performs its cleanup tasks. After the SCM sends this control code, it will not send other control codes to the service. |
WIN32_SERVICE_CONTROL_STOP |
0x00000001 | Notifies a service that it should stop. |
相关文章
php win32service 函数 resumes a paused servicephp win32service 函数 creates a new service entry in the scm databasephp win32service 函数 returns the last control message that was sent to this servicephp win32service 函数 send a custom control to the servicephp win32service 函数 starts a servicephp win32service 函数 stops a servicephp win32service 简介php win32ps 预定义常量php 预定义常量 win32 base priority classesphp 预定义常量 win32service service control message accepted bitmasksphp 预定义常量 win32service service error control constantsphp 预定义常量 win32 error codesphp win32service 预定义常量php 预定义常量 win32 recovery actionphp 预定义常量 win32service service control message constantsphp 预定义常量 win32service service flag constantsphp 预定义常量 win32 service informationsphp 预定义常量 win32service service start type constantsphp 预定义常量 win32service service status constantsphp 预定义常量 win32service service type bitmasks
关注编程学问公众号