JCL Help:PeMapImgNtHeaders32@TStream@Int64@TImageNtHeaders32

From Project JEDI Wiki
Jump to navigationJump to search


Summary

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

Pascal

 function PeMapImgNtHeaders32(Stream: TStream; const BasePosition: Int64; out NtHeaders32: TImageNtHeaders32): Int64; overload;

Parameters

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

Return Value

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

Description

Verifies if *Stream* contains at the given *BasePosition* the start of a 32-bit module and returns in *NtHeaders32* its 32-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