JCL Help:IsValidPeFile

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Determines whether a file is a valid portable executable file.


Pascal

 function IsValidPeFile(const FileName: TFileName): Boolean;


Parameters

Parameters Description
const FileName: TFileName Fully qualified filename of the executable image file to test.


Return Value

If the specified file is a valid portable executable file the function returns True, otherwise it returns False.


Description

IsValidPeFile determines whether the specified file is a valid portable executable file. Examples of valid PE files are Win32 .exe, .dll and .obj files as generated by Delphi or any other Win32 compiler.


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