From: Thomas Faber Date: Sun, 22 Nov 2015 18:15:49 +0000 (+0000) Subject: [BASESRV] X-Git-Tag: ReactOS-0.4.0~60^2~69 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=af005cf46b2073a87f6cab613c3ab5c33dc0d438;ds=inline [BASESRV] - Return the unique ID from BaseSrvGetTempFile instead of an NTSTATUS. Fixes GetTempFile when using kernel32.dll from Windows. svn path=/trunk/; revision=70038 --- diff --git a/reactos/subsystems/win/basesrv/proc.c b/reactos/subsystems/win/basesrv/proc.c index f6980c72875..35aeec5ce98 100644 --- a/reactos/subsystems/win/basesrv/proc.c +++ b/reactos/subsystems/win/basesrv/proc.c @@ -61,7 +61,7 @@ CSR_API(BaseSrvGetTempFile) DPRINT("Returning: %u\n", GetTempFile->UniqueID); - return STATUS_SUCCESS; + return GetTempFile->UniqueID; } CSR_API(BaseSrvCreateProcess)