the heap functions. This parameter can be 0 or one or more of the following values.
/// <summary>
/// flOptions - HeapCreate used.
/// Hexidecimal values.
/// Ref: https://learn.microsoft.com/en-us/windows/win32/api/heapapi/nf-heapapi-heapcreate
/// </summary>
[Flags]
enum flOptions
{
/// <summary>
/// All memory blocks that are allocated from this heap allow code execution,
/// if the hardware enforces data execution prevention. Use this flag heap in
/// applications that run code from the heap. If HEAP_CREATE_ENABLE_EXECUTE is
/// not specified and an application attempts to run code from a protected page,
/// the application receives an exception with the status code STATUS_ACCESS_VIOLATION.
/// </summary>
HEAP_CREATE_ENABLE_EXECUTE = 0x00040000,
/// <summary>
/// The system raises an exception to indicate failure (for example, an out-of-memory condition)
/// for calls to HeapAlloc and HeapReAlloc instead of returning NULL.
/// </summary>
HEAP_GENERATE_EXCEPTIONS = 0x00000004,
/// <summary>
/// Serialized access is not used when the heap functions access this heap.
/// This option applies to all subsequent heap function calls. Alternatively,
/// ou can specify this option on individual heap function calls.
/// The low-fragmentation heap (LFH) cannot be enabled for a heap created with
/// this option. A heap created with this option cannot be locked.
/// For more information about serialized access, see the Remarks section of this topic.
/// </summary>
HEAP_NO_SERIALIZE = 0x00000001
}
Enum flOptions
TODO
End Enum
None.