Click or drag to resize

GlobalAllocFlags Enumeration

Defines flags for global memory allocation.

Namespace: Altaxo.UnmanagedApi.Kernel32
Assembly: AltaxoDom (in AltaxoDom.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
[FlagsAttribute]
public enum GlobalAllocFlags
Members
Member nameValueDescription
GMEM_FIXED0Allocates fixed memory. The return value is a pointer.
GMEM_MOVEABLE2Allocates movable memory. Memory blocks are never moved in physical memory, but they can be moved within the default heap. The return value is a handle to the memory object. To translate the handle into a pointer, use the GlobalLock function. This value cannot be combined with GMEM_FIXED.
GMEM_ZEROINIT64Initializes memory contents to zero.
GPTR64Combines GMEM_FIXED and GMEM_ZEROINIT.
GHND66Combines GMEM_MOVEABLE and GMEM_ZEROINIT.

The GlobalAllocFlags type exposes the following members.

Extension Methods
 NameDescription
Public Extension MethodIsT Determines whether the enumeration value is equal to the specified value.
(Defined by EnumerationExtensions)
Public Extension MethodWithClearedFlagT Returns the enum value with the specified flag cleared.
(Defined by EnumerationExtensions)
Public Extension MethodWithFlagT Returns the enum value with the specified flag set or cleared, depending on the value argument.
(Defined by EnumerationExtensions)
Public Extension MethodWithSetFlagT Returns the enum value with the specified flag set.
(Defined by EnumerationExtensions)
Top
See Also