help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

SearchRec

File Search Results record

Declaration

Source position: dos.pp line 27

type SearchRec = packed record

  SearchPos: TOff;

  

Current search position

  SearchNum: LongInt;

  

Current search number

  DirPtr: Pointer;

  

Pointer to directory

  SearchType: Byte;

  

Type of search

  SearchAttr: Byte;

  

Attributes specified at findfirst.

  Fill: array [1..03] of Byte;

  

Padding bytes

  Attr: Byte;

  

Attributes of the file.

  Time: LongInt;

  

Timestamp of the file

  Size: LongInt;

  

Size of the file

  Reserved: Word;

  

Reserved for future use

  Name: String;

  

Name fo the file

  SearchSpec: String;

  

Wildcard specs specified at findfirst

  NamePos: Word;

  

Name position

end;

Description

SearchRec is filled by the FindFirst call and can be used in subsequent FindNext calls to search for files. The structure of this record depends on the platform. Only the following fields are present on all platforms:

Attr
File attributes.
Time
File modification time.
Size
File size
Name
File name (name part only, no path)

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505