svn path=/trunk/; revision=20721
/* now allocate a real section */
SectionSize.QuadPart = Size;
- Status = MmCreateSection(&FreeSharedSection->SectionObject,
+ Status = MmCreateSection((PVOID)&FreeSharedSection->SectionObject,
SECTION_ALL_ACCESS,
NULL,
&SectionSize,
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))
#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"
+