Sign in Join
FPDoc Onlineexperiment

CloseExeFile function

In unit exeinfo

Close a previously opened file.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.