JCL Help:PeMapImgFindSection

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Searches an array of PE image sections for a specific named section.

Pascal

 function PeMapImgFindSection(const ImageSectionHeaders: TImageSectionHeaderArray; const SectionName: string): SizeInt;

Parameters

Parameters Description
ImageSectionHeaders The array of PE image sections that will be searched.
const SectionName: string Name of the section to search for. Note that the search is case insensitive.

Return Value

If the function finds the specified named section it returns the index of the PE image section header within the array. If the function doesn't find the named section it returns -1.

Description

Searches the image, specified by NtHeaders, for a specific named section.


About

Unit

JclPeImage


Donator

Petr Vones


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