Fix win32k build

svn path=/trunk/; revision=20721
This commit is contained in:
Alex Ionescu 2006-01-08 19:17:14 +00:00
parent 753034cee1
commit 1211e0f220
3 changed files with 6 additions and 2 deletions

View file

@ -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,

View file

@ -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))

View file

@ -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"