- 4.69.1.7 -
Standard Units

WinDos Unti


WinDos Unit Constants and VariablesTSearchRec type
Targets: MS-DOS, OS/2, Win32
WinDos Unit
The FindFirst and
FindNext procedures use variables
of type SearchRec to scan directories:
Declaration:
MS-DOS target
type
   TSearchRec = record 
     Fill : array [1..21] of Byte;
     Attr : Byte;
     Time : Longint;
     Size : Longint;
     Name : string[12];
end;
OS/2 target
type
   TSearchRec = record 
     Fill : array [1..21] of Byte;
     Attr : Byte;
     Time : Longint;
     Size : Longint;
     Name : string;
  end;
Win32 target
type
  TSearchRec = record   
    Fill : array [1..21] of Byte;
    Attr : Byte;
    Time : Longint;
    Size : Longint;
    Name : TFileName;
    ExcludeAttr: Longint;
    FindHandle: THandle;
    FindData: TWin32FindData;
 end;
Information for each file found by FindFirst or FindNext is reported back
in a SearchRec.
|  Field  |  Meaning  | 
|  Attr |  File's attributes | 
|  Time |  File's packed date and time  | 
|  Size |  File's size, in bytes | 
|  Name |  File's name | 
 
The Fill field is reserved by DOS and should never be modified.
  | 
  | 
  | 
| TRegisters type | 
Table of Content | 
WinDos Unit Procedures and Functions | 
- 4.69.1.7 -