mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Return NULL when an error occurs in CreateServiceW
svn path=/trunk/; revision=19543
This commit is contained in:
@@ -458,7 +458,7 @@ CreateServiceW(SC_HANDLE hSCManager,
|
||||
{
|
||||
DPRINT1("ScmrCreateServiceW() failed (Error %lu)\n", dwError);
|
||||
SetLastError(dwError);
|
||||
return INVALID_HANDLE_VALUE;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return hService;
|
||||
|
||||
Reference in New Issue
Block a user