IPB

> TSearchRec (type) (WinDos unit)
Чат
Форум
Загрузка...
 

Language:
Русский
English

  TSearchRec (type)     (WinDos unit)


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

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

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
    constants)
  - 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
 

Код для вставки: :: :: :: ГОСТ ::
Поделиться: //
 



-
Хостинг предоставлен компанией "Веб Сервис Центр" при поддержке компании "ДокЛаб"