Commit a22b295c authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard

sc.exe: Fake succes for the SdSet argument.

parent d998bc54
...@@ -220,6 +220,7 @@ int __cdecl wmain( int argc, const WCHAR *argv[] ) ...@@ -220,6 +220,7 @@ int __cdecl wmain( int argc, const WCHAR *argv[] )
static const WCHAR deleteW[] = {'d','e','l','e','t','e',0}; static const WCHAR deleteW[] = {'d','e','l','e','t','e',0};
static const WCHAR startW[] = {'s','t','a','r','t',0}; static const WCHAR startW[] = {'s','t','a','r','t',0};
static const WCHAR stopW[] = {'s','t','o','p',0}; static const WCHAR stopW[] = {'s','t','o','p',0};
static const WCHAR sdsetW[] = {'s','d','s','e','t',0};
SC_HANDLE manager, service; SC_HANDLE manager, service;
SERVICE_STATUS status; SERVICE_STATUS status;
BOOL ret = FALSE; BOOL ret = FALSE;
...@@ -328,6 +329,11 @@ int __cdecl wmain( int argc, const WCHAR *argv[] ) ...@@ -328,6 +329,11 @@ int __cdecl wmain( int argc, const WCHAR *argv[] )
} }
else WINE_TRACE("failed to open service %u\n", GetLastError()); else WINE_TRACE("failed to open service %u\n", GetLastError());
} }
else if (!wcsicmp( argv[1], sdsetW ))
{
WINE_FIXME("SdSet command not supported, faking success\n");
ret = TRUE;
}
else else
WINE_FIXME("command not supported\n"); WINE_FIXME("command not supported\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment