use ZwQueryInformationFile instead of NtQueryInformationFile in
IntGdiAddFontResource because we're passing kernel pointers in UserMode
Modified: trunk/reactos/subsys/win32k/objects/text.c
_____
Modified: trunk/reactos/subsys/win32k/objects/text.c
--- trunk/reactos/subsys/win32k/objects/text.c 2005-07-24 09:11:30 UTC
(rev 16708)
+++ trunk/reactos/subsys/win32k/objects/text.c 2005-07-24 09:20:43 UTC
(rev 16709)
@@ -282,7 +282,7 @@
/* Get the size of the file */
- Status = NtQueryInformationFile(
+ Status = ZwQueryInformationFile(
FileHandle,
&Iosb,
&FileStdInfo,