Author: tfaber
Date: Mon Aug 10 10:57:24 2015
New Revision: 68660

URL: http://svn.reactos.org/svn/reactos?rev=68660&view=rev
Log:
[NTOS:MM]
- Fix broken typing/FIXMEs in ExeFmtpCreateImageSection

Modified:
    trunk/reactos/ntoskrnl/mm/section.c

Modified: trunk/reactos/ntoskrnl/mm/section.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/section.c?rev=68660&r1=68659&r2=68660&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/mm/section.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/mm/section.c [iso-8859-1] Mon Aug 10 10:57:24 2015
@@ -3612,7 +3612,7 @@
 }
 
 NTSTATUS
-ExeFmtpCreateImageSection(HANDLE FileHandle,
+ExeFmtpCreateImageSection(PFILE_OBJECT FileObject,
                           PMM_IMAGE_SECTION_OBJECT ImageSectionObject)
 {
     LARGE_INTEGER Offset;
@@ -3630,8 +3630,7 @@
      */
     Offset.QuadPart = 0;
 
-    /* FIXME: use FileObject instead of FileHandle */
-    Status = ExeFmtpReadFile (FileHandle,
+    Status = ExeFmtpReadFile (FileObject,
                               &Offset,
                               PAGE_SIZE * 2,
                               &FileHeader,
@@ -3655,10 +3654,9 @@
         RtlZeroMemory(ImageSectionObject, sizeof(*ImageSectionObject));
         Flags = 0;
 
-        /* FIXME: use FileObject instead of FileHandle */
         Status = ExeFmtpLoaders[i](FileHeader,
                                    FileHeaderSize,
-                                   FileHandle,
+                                   FileObject,
                                    ImageSectionObject,
                                    &Flags,
                                    ExeFmtpReadFile,


Reply via email to