JCL Help:PeMapImgFindSectionFromModule@Pointer@string

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Obtains a PE image section header, given its name, from a PE image loaded in memory.

Pascal

 function PeMapImgFindSectionFromModule(const BaseAddress: Pointer; const SectionName: string): PImageSectionHeader;

Parameters

Parameters Description
BaseAddress The memory address where the PE image is located.
SectionName The name of the section to be looked for.

Return Value

Returns the PE image section header if successful, otherwise nil.

Description

Returns a pointer to the PE image section header that is named *SectionName* from the PE image, be it 32-bit or 64-bit, located at *BaseAddress* in memory.


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