Skip to content

GetFileHandle

Extract OS handle from an untyped file or text file.

Declaration

Source position: filutilh.inc line 236

  function GetFileHandle(var f: File) : THandle;
  function GetFileHandle(var f: Text) : THandle;

Description

GetFileHandle returns the operating system handle for the file descriptor F. It can be used in various file operations which are not directly supported by the pascal language.