📄 function.win32-get-last-control-message.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Returns the last control message that was sent to this service</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.win32-delete-service.html">win32_delete_service</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.win32-query-service-status.html">win32_query_service_status</a></div> <div class="up"><a href="ref.win32service.html">win32service Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.win32-get-last-control-message" class="refentry"> <div class="refnamediv"> <h1 class="refname">win32_get_last_control_message</h1> <p class="verinfo">(No version information available, might be only in CVS)</p><p class="refpurpose"><span class="refname">win32_get_last_control_message</span> — <span class="dc-title">Returns the last control message that was sent to this service</span></p> </div> <div class="refsect1 description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><b><b>win32_get_last_control_message</b></b></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> Returns the control code that was last sent to this service process. When running as a service you should periodically check this to determine if your service needs to stop running. </p> </div> <div class="refsect1 returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns a control constant; one of <b><tt>WIN32_SERVICE_CONTROL_CONTINUE</tt></b>, <b><tt>WIN32_SERVICE_CONTROL_INTERROGATE</tt></b>, <b><tt>WIN32_SERVICE_CONTROL_PAUSE</tt></b>, <b><tt>WIN32_SERVICE_CONTROL_STOP</tt></b>, <b><tt>WIN32_SERVICE_CONTROL_HARDWAREPROFILECHANGE</tt></b>, <b><tt>WIN32_SERVICE_CONTROL_POWEREVENT</tt></b>, <b><tt>WIN32_SERVICE_CONTROL_SESSIONCHANGE</tt></b>. </p> </div> <div class="refsect1 seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"><a href="function.win32-start-service-ctrl-dispatcher.html" class="function" rel="rdfs-seeAlso">win32_start_service_ctrl_dispatcher()</a></li> </ul> </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.win32-delete-service.html">win32_delete_service</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.win32-query-service-status.html">win32_query_service_status</a></div> <div class="up"><a href="ref.win32service.html">win32service Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -