TSearchRec (type) (WinDos unit)


  TSearchRec (type)     (WinDos unit)

The FindFirst and FindNext procedures use variables of type TSearchRec to scan directories.

   TSearchRec = record
     Fill: array[1..21] of Byte;
     Attr: Byte;
     Time: Longint;
     Size: Longint;
     Name: array[0..12] of Char;

The information for each file found by one of these procedures is reported back in a TSearchRec.

  - Attr contains the file's attributes (constructed from file attribute
  - Time contains its packed date and time (use UnpackTime to unpack)
  - Size contains its size in bytes
  - Name contains its name
  - Fill is reserved by DOS and should never be modified

Тэги: TSearchRec
| G+
Код для вставки: :: :: :: ::
Поделиться: // //