Unit 'exeinfo' Package
[Overview][Types][Procedures and functions][Index] [#rtl]

CloseExeFile

Close a previously opened file.

Declaration

Source position: exeinfo.pp line 64

function CloseExeFile(

  var e: TExeFile

):Boolean;

Arguments

e

  

Executable to be closed.

Function result

True if the file was closed successfully, False if not.

Description

CloseExeFile closes an executable file image previously opened with OpenExeFile, and represented by e.

The function returns True if the file was closed successfully, or False if something went wrong.

Errors

In case of an error, False is returned.

See also

OpenExeFile

  

Open an executable file.


Documentation generated on: Jan 30 2024