JCL Help:PeMapImgNtHeaders
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: PeMapImgNtHeaders
Search in JCL Help
Search in all projects
Summary
Returns a pointer to the TImageNtHeaders record.
Parameters
Parameters | Description |
BaseAddress | Base address at which the image file for which you want to retrieve the TImageNtHeader record is mapped. This address is returned by the MapAndLoad and LoadLibrary API functions. |
Return Value
If the function succeeds it returns a pointer to the requested TImageNtHeaders record. If the function fails it returns nil. Note that the returned pointer is only valid as long as the image file remains mapped in memory.
Description
Returns a pointer to the TImageNtHeaders record for the image whose address is specified as the BaseAddress parameter. This record contains a signature for the PE image ('PE#0#0') and two subrecords for the COFF header and optional header.
About
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