Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Initialize variables for the SvcWaitForCmd
SERVICE_CONTROL_USER128=28 ;User command 128 SERVICE_CONTROL_USER129=129 ;User command 129 SERVICE_CONTROL_USER130=130 ;User command 130 SERVICE_CONTROL_USER131=31 ;User command 131 SERVICE_CONTROL_USER255=255 ;User command 255
Windows calls these "user" commands in the sense that an user-written servcice is a "user" (and not the person)
Thus you can write a Winbatch service to "listen" to user defined commands.
The wntSvcControl function can send these commands to a service.
Article ID: W15682
File Created: 2003:05:13:11:29:32
Last Updated: 2003:05:13:11:29:32