Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TRawbyteSearchRec

Record describing a search handle or result (single-byte string version).

Declaration

Source position: filutilh.inc line 81

type TRawbyteSearchRec = record

public

  Time: Int64; deprecated ;

  

Last modification timestamp.

  Size: Int64;

  

File size in bytes.

  Attr: LongInt;

  

File attributes.

  Name: RawByteString;

  

File name (single byte version).

  ExcludeAttr: LongInt;

  

For internal use only.

  FindHandle: Pointer;

  

Native file search handle. For internal use only, treat as opaque.

  Mode: TMode;

  

File permissions (mode, Unix only).

  function IsDirectory;

  function IsCurrentOrParentDir;

  property TimeStamp: TDateTime; [r]

  

  property TimeStampUTC: TDateTime; [r]

end;

Description

TRawbyteSearchRec is a search handle description record using single-byte strings. 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)
Remark: Note that for files with Unicode filenames this is a converted value from the Unicode filename. Depending on the codepage, this may or may not be a correct rendering of the correct Unicode filename.

See also

FindFirst

  

Start a file search and return a findhandle.

FindNext

  

Find the next entry in a findhandle.

FindClose

  

Close a find handle.


Documentation generated on: Oct 27 2024