mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 17:01:28 +00:00
Fix win32k build
svn path=/trunk/; revision=20721
This commit is contained in:
parent
753034cee1
commit
1211e0f220
|
@ -205,7 +205,7 @@ IntUserCreateSharedSection(IN PSHARED_SECTION_POOL SharedSectionPool,
|
|||
/* now allocate a real section */
|
||||
|
||||
SectionSize.QuadPart = Size;
|
||||
Status = MmCreateSection(&FreeSharedSection->SectionObject,
|
||||
Status = MmCreateSection((PVOID)&FreeSharedSection->SectionObject,
|
||||
SECTION_ALL_ACCESS,
|
||||
NULL,
|
||||
&SectionSize,
|
||||
|
|
|
@ -281,7 +281,7 @@ IntGdiAddFontResource(PUNICODE_STRING FileName, DWORD Characteristics)
|
|||
return 0;
|
||||
}
|
||||
|
||||
Status = MmCreateSection(&SectionObject, SECTION_ALL_ACCESS,
|
||||
Status = MmCreateSection((PVOID)&SectionObject, SECTION_ALL_ACCESS,
|
||||
NULL, NULL, PAGE_READONLY,
|
||||
0, FileHandle, NULL);
|
||||
if (!NT_SUCCESS(Status))
|
||||
|
|
|
@ -51,5 +51,9 @@ typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
|
|||
#include <win32k/ntgdibad.h>
|
||||
#include <ntgdi.h>
|
||||
|
||||
/* For access to SECTION_OBJECT. FIXME: Once compatible with NT, use NDK! */
|
||||
#include <internal/mm.h>
|
||||
|
||||
/* Internal Win32K Header */
|
||||
#include "include/win32k.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue