[BASESRV]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 22 Nov 2015 18:15:49 +0000 (18:15 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 22 Nov 2015 18:15:49 +0000 (18:15 +0000)
- Return the unique ID from BaseSrvGetTempFile instead of an NTSTATUS. Fixes GetTempFile when using kernel32.dll from Windows.

svn path=/trunk/; revision=70038

reactos/subsystems/win/basesrv/proc.c

index f6980c7..35aeec5 100644 (file)
@@ -61,7 +61,7 @@ CSR_API(BaseSrvGetTempFile)
 
     DPRINT("Returning: %u\n", GetTempFile->UniqueID);
 
-    return STATUS_SUCCESS;
+    return GetTempFile->UniqueID;
 }
 
 CSR_API(BaseSrvCreateProcess)