#ifndef _NTMMAPI_H
// The fixed header is 32 bytes. NextEntryOffset includes randomized padding:
// strides are 40, 48, 56, or 64 bytes not sizeof(this type).
// Attribute offsets are relative to this record. Validate all offsets/counts
// against the supplied buffer before following them; do not use a C array stride.
// The producer reserves an additional header slot after the populated headers.
// For a buffer of at least 4 bytes that is too small, the first ULONG receives
// the required total size and STATUS_BUFFER_TOO_SMALL is returned. It is not a
// NextEntryOffset in that case. Buffers below 4 bytes get STATUS_INFO_LENGTH_MISMATCH.
// SystemMemoryPartitionDedicatedMemoryInformation payload. Recent SDKs/WDKs
// define these types alongside DEDICATED_MEMORY_CACHE_ELIGIBLE. Provide the
// layout for older headers without redefining the SDK types. The Type member
// uses ULONG in this fallback (the SDK uses MEM_DEDICATED_ATTRIBUTE_TYPE).
// Attributes are 16-byte records. Types 0..3 are emitted; values equal to
// MAXULONGLONG are omitted by the producer.
#ifndef DEDICATED_MEMORY_CACHE_ELIGIBLE
#define DEDICATED_MEMORY_CACHE_ELIGIBLE 0x1
View code on GitHubNo description available.