System.TFileRec
Delphi
TFileRec = packed record (* must match the size the compiler generates: 592 bytes (616 bytes for x64) *)
C++
struct DECLSPEC_DRECORD TFileRec
{
public:
System::NativeUInt Handle;
Word Mode;
Word Flags;
public:
union
{
struct
{
unsigned BufSize;
unsigned BufPos;
unsigned BufEnd;
char * BufPtr;
void *OpenFunc;
void *InOutFunc;
void *FlushFunc;
void *CloseFunc;
System::StaticArray<Byte, 32> UserData;
System::StaticArray<WideChar, 260> Name;
};
struct
{
unsigned RecSize;
};
};
};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record struct |
public | System.pas System.hpp |
System | System |
Description
Is the internal format for typed and untyped files in the Delphi language.
TFileRec is the internal format for typed and untyped files. TFileRec enables you to typecast a Delphi file variable to access its internal fields.
Note: You would normally never declare a variable of this type.