mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[NTOS:MM]
- Fix broken typing/FIXMEs in ExeFmtpCreateImageSection svn path=/trunk/; revision=68660
This commit is contained in:
parent
e0e3c56ecb
commit
08aa7a17d1
1 changed files with 3 additions and 5 deletions
|
@ -3612,7 +3612,7 @@ MmspPageAlignSegments
|
|||
}
|
||||
|
||||
NTSTATUS
|
||||
ExeFmtpCreateImageSection(HANDLE FileHandle,
|
||||
ExeFmtpCreateImageSection(PFILE_OBJECT FileObject,
|
||||
PMM_IMAGE_SECTION_OBJECT ImageSectionObject)
|
||||
{
|
||||
LARGE_INTEGER Offset;
|
||||
|
@ -3630,8 +3630,7 @@ ExeFmtpCreateImageSection(HANDLE FileHandle,
|
|||
*/
|
||||
Offset.QuadPart = 0;
|
||||
|
||||
/* FIXME: use FileObject instead of FileHandle */
|
||||
Status = ExeFmtpReadFile (FileHandle,
|
||||
Status = ExeFmtpReadFile (FileObject,
|
||||
&Offset,
|
||||
PAGE_SIZE * 2,
|
||||
&FileHeader,
|
||||
|
@ -3655,10 +3654,9 @@ ExeFmtpCreateImageSection(HANDLE FileHandle,
|
|||
RtlZeroMemory(ImageSectionObject, sizeof(*ImageSectionObject));
|
||||
Flags = 0;
|
||||
|
||||
/* FIXME: use FileObject instead of FileHandle */
|
||||
Status = ExeFmtpLoaders[i](FileHeader,
|
||||
FileHeaderSize,
|
||||
FileHandle,
|
||||
FileObject,
|
||||
ImageSectionObject,
|
||||
&Flags,
|
||||
ExeFmtpReadFile,
|
||||
|
|
Loading…
Reference in a new issue