mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
Fix a typo. Use lpStartServiceName instead of lpServiceName.
This fixes two winetests. svn path=/trunk/; revision=44714
This commit is contained in:
parent
fa1f780dfb
commit
18df79a3ba
1 changed files with 3 additions and 2 deletions
|
@ -1969,8 +1969,9 @@ DWORD RCreateServiceW(
|
|||
goto done;
|
||||
}
|
||||
|
||||
/* If a non driver and NULL for lpServiceName, write ObjectName as LocalSystem */
|
||||
if ((dwServiceType & SERVICE_WIN32) && (!lpServiceName))
|
||||
/* FIXME: Handle lpServiceStartName propertly! */
|
||||
/* If a non driver and NULL for lpServiceStartName, write ObjectName as LocalSystem */
|
||||
if ((dwServiceType & SERVICE_WIN32) && (!lpServiceStartName))
|
||||
{
|
||||
dwError = RegSetValueExW(hServiceKey,
|
||||
L"ObjectName",
|
||||
|
|
Loading…
Reference in a new issue