mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13: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:
@@ -282,7 +282,7 @@ IntGdiAddFontResource(PUNICODE_STRING FileName, DWORD Characteristics)
|
||||
|
||||
/* Get the size of the file */
|
||||
|
||||
Status = NtQueryInformationFile(
|
||||
Status = ZwQueryInformationFile(
|
||||
FileHandle,
|
||||
&Iosb,
|
||||
&FileStdInfo,
|
||||
|
||||
Reference in New Issue
Block a user