mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
CreateFileMapping Patch by Hartmut Birr for MSYS applications.
(No they still dont work) svn path=/trunk/; revision=4979
This commit is contained in:
parent
fcde5c2e54
commit
08ce61d1c2
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: section.c,v 1.18 2003/01/15 21:24:34 chorns Exp $
|
||||
/* $Id: section.c,v 1.19 2003/06/27 20:15:17 sedwards Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -59,7 +59,7 @@ CreateFileMappingA(HANDLE hFile,
|
|||
&MaximumSize,
|
||||
flProtect,
|
||||
0,
|
||||
hFile);
|
||||
hFile==INVALID_HANDLE_VALUE ? NULL : hFile);
|
||||
RtlFreeUnicodeString(&UnicodeName);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
|
@ -118,7 +118,7 @@ CreateFileMappingW(HANDLE hFile,
|
|||
MaximumSizePointer,
|
||||
flProtect,
|
||||
0,
|
||||
hFile);
|
||||
hFile==INVALID_HANDLE_VALUE ? NULL : hFile);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
SetLastErrorByStatus(Status);
|
||||
|
|
Loading…
Reference in a new issue