[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

FileRec

Record describing an untyped file.

Declaration

Source position: filerec.inc line 26

type FileRec = packed record

  Handle: THandle;

  

Operating system file handle.

  Mode: LongInt;

  

Current file mode.

  RecSize: SizeInt;

  

Record data size

  _private: array [1..3*SizeOf(SizeInt)+5*SizeOf(pointer)] of Byte;

  

Private data. Do not use

  UserData: array [1..32] of Byte;

  

User data. Only use when implementing new type.

  name: array [0..filerecnamelength] of Char;

  

File name

end;

Description

FileRec describes a untyped file. This record is made available so it can be used to implement drivers for other than the normal file system file records.

See also

TFileRec

  

Record describing an untyped file.

TextRec

  

Record describing a text file type

TTextRec

  

Record describing a text file.

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