[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Record describing a search handle or result
Source position: filutilh.inc line 17
type TSearchRec = record |
||
Time: LongInt; |
|
Timestamp of the file. |
Size: Int64; |
|
Size of the file. |
Attr: LongInt; |
|
Attributes of the file. |
Name: TFilename; |
|
File name (no directory part) |
ExcludeAttr: LongInt; |
|
Attributes to exclude from search (do not use). |
FindHandle: Pointer; |
|
Internal OS handle (do not use). |
Mode: TMode; |
|
Unix File mode. Only used on Unix systems. |
PathOnly: AnsiString; |
|
Path component of the file |
end; |
TSearchRec is a search handle description record. It is initialized by a call to FindFirst and can be used to do subsequent calls to FindNext. It contains the result of these function calls. It must be used to close the search sequence with a call to FindClose.
Remark: | Not all fields of this record should be used. Some of the fields are for internal use only. (PathOnly for example, is only provided for Kylix compatibility) |
|
Start a file search and return a findhandle |
|
|
Find the next entry in a findhandle. |
|
|
Close a find handle |
lazarus-ccr.sourceforge.net |