Class TMemoryMappedFile (unit MemoryMappedFile) |
Inherits from
TComponent
constructor Create( AOwner: TComponent );
procedure Close;
**************************************************
Open and Close methods are simply another way of
changing the Active property.
destructor Destroy;
procedure Flush;
**************************************************
Allow the user to flush the data if desired.
procedure Open;
procedure CreateFileHandle;
**************************************************
This routine creates the file kernal object.
procedure SetActive( b: boolean );
**************************************************
Setting Active to true establishes the mapping and
commits physical storage to the region.
procedure SetFileName( s: TFileName );
**************************************************
Only allow change of file name if not open.
property AccessMode : TAccessMode
property Active : boolean
property CreationDistribution : TCreationDistribution
property FileName : TFileName
property ShareMode : TShareMode
property Size : DWORD
property FileData : pointer
dwHighWord : DWORD;
dwMapAccess : DWORD;
dwProtect : DWORD;
FAccessMode : TAccessMode;
FActive : boolean;
FCreationDistribution : TCreationDistribution;
FFileData : pointer;
FFileName : TFileName;
FShareMode : TShareMode;
FSize : DWORD;
hFile : THandle;
hFileMapping : THandle;
constructor Create( AOwner: TComponent );
procedure Close;
**************************************************
Open and Close methods are simply another way of
changing the Active property.
destructor Destroy;
procedure Flush;
**************************************************
Allow the user to flush the data if desired.
procedure Open;
procedure CreateFileHandle;
**************************************************
This routine creates the file kernal object.
procedure SetActive( b: boolean );
**************************************************
Setting Active to true establishes the mapping and
commits physical storage to the region.
procedure SetFileName( s: TFileName );
**************************************************
Only allow change of file name if not open. Setting
the file name actually creates a kernal File object,
which is used to determine the file size.
property AccessMode : TAccessMode
property Active : boolean
property CreationDistribution : TCreationDistribution
property FileName : TFileName
property ShareMode : TShareMode
property Size : DWORD
property FileData : pointer
dwHighWord : DWORD;
dwMapAccess : DWORD;
dwProtect : DWORD;
FAccessMode : TAccessMode;
FActive : boolean;
FCreationDistribution : TCreationDistribution;
FFileData : pointer;
FFileName : TFileName;
FShareMode : TShareMode;
FSize : DWORD;
hFile : THandle;
hFileMapping : THandle;