[SC] Support the paramchange and netbind* control codes in the control command

This commit is contained in:
Eric Kohl 2018-02-25 14:08:16 +01:00
parent 9f0c54fcd3
commit a0d412b77a
2 changed files with 26 additions and 6 deletions

View file

@ -169,9 +169,13 @@ VOID CreateUsage(VOID)
VOID ControlUsage(VOID)
{
_tprintf(_T("DESCRIPTION:\n")
_T(" Sends a CONTROL control request to a service.\n")
_T(" Sends a CONTROL code to a service.\n")
_T("USAGE:\n")
_T(" sc <server> control [service name] <value>\n"));
_T(" sc <server> control [service name] <value>\n")
_T(" <value> = user-defined control code\n")
_T(" <value> = <paramchange|\n")
_T(" netbindadd|netbindremove|\n")
_T(" netbindenable|netbinddisable>\n"));
}
VOID SdShowUsage(VOID)