[Overview][Types][Procedures and functions][Index] Reference for unit 'exeinfo' (#rtl)

CloseExeFile

Close a previously opened file.

Declaration

Source position: exeinfo.pp line 56

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: May 14 2021