JCL Help:PeMapImgSize@TStream@Int64
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: PeMapImgSize Function
[+] JclPeImage.pas Functions
Search in JCL Help
Search in all projects
Summary
Obtains the size of a PE image stored in a given stream.
Pascal
function PeMapImgSize(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 PE image if successful, otherwise 0 if the stream doesn't contain a valid PE image.
Description
Returns the size of the PE image, be it 32-bit or 64-bit, located in *Stream* at the given *BasePosition*.
About
Unit
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