JCL Help:PeMapImgSize32@TStream@Int64

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Obtains the size of a 32-bit PE image stored in a given stream.

Pascal

 function PeMapImgSize32(Stream: TStream; const BasePosition: Int64): DWORD; overload;

Parameters

Parameters Description
Stream The stream where the PE image is stored.
BasePosition Position where the PE image starts in the stream.

Return Value

Returns the size of the 32-bit PE image if successful, otherwise 0 if the stream doesn't contain a valid 32-bit PE image.

Description

Returns the size of the 32-bit PE image located in *Stream* at the given *BasePosition*.

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