Sign in Join
FPDoc Onlineexperiment

TAbstractResource.MemoryFlags property

Member of TAbstractResourcepublicIn unit resource

The memory flags of the resource

Declaration

pascal
property MemoryFlags: Word read fMemoryFlags write fMemoryFlags;

Description

This field is a combination of the following flags

By default, a newly created resource has MF_MOVEABLE and MF_DISCARDABLE flags set.

Please note that memory flags are ignored by Windows and Free Pascal RTL. They are provided only for compatibility with 16-bit Windows.

This property is not always meaningful, since not all file formats support it.

Its value, when nonzero, can be used for information purposes.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.