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

CloseExeFile

Close a previously opened file.

Declaration

Source position: exeinfo.pp line 46

function CloseExeFile(

  var e: TExeFile

):Boolean;

Arguments

e

  

Executable to be closed

Function result

True if the file was closed succesfully, 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 succesfully, or False if something went wrong.

Errors

In case of an error, False is returned.

See also

OpenExeFile

  

Open an executable file

The latest version of this document can be found at lazarus-ccr.sourceforge.net.