![Xcalibur Systems LLC Logo](../icons/logo.png) |
MemoryAllocationTypes Enumeration |
Namespace: Xcalibur.NativeMethods.V2.MemoryAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax[FlagsAttribute]
public enum MemoryAllocationTypes
<FlagsAttribute>
Public Enumeration MemoryAllocationTypes
[FlagsAttribute]
public enum class MemoryAllocationTypes
[<FlagsAttribute>]
type MemoryAllocationTypes
MembersMember name | Value | Description |
---|
Commit | 4,096 |
Allocates memory charges (from the overall size of memory and the paging files on disk) for
the specified reserved memory pages. The function also guarantees that when the caller
later initially accesses the memory, the contents will be zero. Actual physical pages are
not allocated unless/until the virtual addresses are actually accessed.
|
Reserve | 8,192 |
Reserves a range of the process's virtual address space without allocating any actual
physical storage in memory or in the paging file on disk.
|
Decommit | 16,384 |
Decommit
|
Release | 32,768 |
Release
|
Reset | 524,288 |
Indicates that data in the memory range specified by lpAddress and dwSize is no longer of
interest. The pages should not be read from or written to the paging file. However, the
memory block will be used again later, so it should not be decommitted. This value cannot
be used with any other value.
|
TopDown | 1,048,576 |
Allocates memory at the highest possible address. This can be slower than regular
allocations, especially when there are many allocations.
|
WriteWatch | 2,097,152 |
Causes the system to track pages that are written to in the allocated region. If you
specify this value, you must also specify .
|
Physical | 4,194,304 |
Reserves an address range that can be used to map Address Windowing Extensions (AWE) pages.
This value must be used with and no other values.
|
ResetUndo | 16,777,216 | should only be called on an address range to which
was successfully applied earlier. It indicates that the data in the
specified memory range specified by lpAddress and dwSize is of interest to the caller and
attempts to reverse the effects of . If the function succeeds, that
means all data in the specified address range is intact. If the function fails, at least
some of the data in the address range has been replaced with zeroes.
|
LargePages | 536,870,912 |
Allocates memory using large page support.
|
See Also