mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +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
|
NTSTATUS
|
||||||
ExeFmtpCreateImageSection(HANDLE FileHandle,
|
ExeFmtpCreateImageSection(PFILE_OBJECT FileObject,
|
||||||
PMM_IMAGE_SECTION_OBJECT ImageSectionObject)
|
PMM_IMAGE_SECTION_OBJECT ImageSectionObject)
|
||||||
{
|
{
|
||||||
LARGE_INTEGER Offset;
|
LARGE_INTEGER Offset;
|
||||||
|
@ -3630,8 +3630,7 @@ ExeFmtpCreateImageSection(HANDLE FileHandle,
|
||||||
*/
|
*/
|
||||||
Offset.QuadPart = 0;
|
Offset.QuadPart = 0;
|
||||||
|
|
||||||
/* FIXME: use FileObject instead of FileHandle */
|
Status = ExeFmtpReadFile (FileObject,
|
||||||
Status = ExeFmtpReadFile (FileHandle,
|
|
||||||
&Offset,
|
&Offset,
|
||||||
PAGE_SIZE * 2,
|
PAGE_SIZE * 2,
|
||||||
&FileHeader,
|
&FileHeader,
|
||||||
|
@ -3655,10 +3654,9 @@ ExeFmtpCreateImageSection(HANDLE FileHandle,
|
||||||
RtlZeroMemory(ImageSectionObject, sizeof(*ImageSectionObject));
|
RtlZeroMemory(ImageSectionObject, sizeof(*ImageSectionObject));
|
||||||
Flags = 0;
|
Flags = 0;
|
||||||
|
|
||||||
/* FIXME: use FileObject instead of FileHandle */
|
|
||||||
Status = ExeFmtpLoaders[i](FileHeader,
|
Status = ExeFmtpLoaders[i](FileHeader,
|
||||||
FileHeaderSize,
|
FileHeaderSize,
|
||||||
FileHandle,
|
FileObject,
|
||||||
ImageSectionObject,
|
ImageSectionObject,
|
||||||
&Flags,
|
&Flags,
|
||||||
ExeFmtpReadFile,
|
ExeFmtpReadFile,
|
||||||
|
|
Loading…
Reference in a new issue