JCL Help:PeMapImgNtHeaders64@TStream@Int64@TImageNtHeaders64

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Obtains the 64-bit header information for a 64-bit module accessed as a stream.

Pascal

 function PeMapImgNtHeaders64(Stream: TStream; const BasePosition: Int64; out NtHeaders64: TImageNtHeaders64): Int64; overload;

Parameters

Parameters Description
Stream The stream through which the module is accessed.
BasePosition The position in *Stream* where the module starts.
NtHeaders64 Receives the 64-bit PE header information of the module.

Return Value

Returns the stream position located after the 64-bit PE header end if successful, otherwise -1.

Description

Verifies if *Stream* contains at the given *BasePosition* the start of a 64-bit module and returns in *NtHeaders64* its 64-bit PE header information.


About

Unit

JclPeImage


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page