use ZwQueryInformationFile instead of NtQueryInformationFile in IntGdiAddFontResource because we're passing kernel pointers in UserMode

svn path=/trunk/; revision=16709
This commit is contained in:
Thomas Bluemel 2005-07-24 09:20:43 +00:00
parent 1375ddbb83
commit 45e2c259ef

View file

@ -282,7 +282,7 @@ IntGdiAddFontResource(PUNICODE_STRING FileName, DWORD Characteristics)
/* Get the size of the file */
Status = NtQueryInformationFile(
Status = ZwQueryInformationFile(
FileHandle,
&Iosb,
&FileStdInfo,