mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 00:20:34 +00:00
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:
parent
1375ddbb83
commit
45e2c259ef
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ IntGdiAddFontResource(PUNICODE_STRING FileName, DWORD Characteristics)
|
|||
|
||||
/* Get the size of the file */
|
||||
|
||||
Status = NtQueryInformationFile(
|
||||
Status = ZwQueryInformationFile(
|
||||
FileHandle,
|
||||
&Iosb,
|
||||
&FileStdInfo,
|
||||
|
|
Loading…
Reference in a new issue