> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_DRED_ALLOCATION_NODE

> Describes, as a node in a linked list, data about an allocation tracked by Device Removed Extended Data (DRED).

Describes, as a node in a linked list, data about an allocation tracked by Device Removed Extended Data (DRED). This data includes the GPU VA allocation ranges, and an associated runtime object debug name and type. Each **D3D12\_DRED\_ALLOCATION\_NODE** object is singly linked to the next via its `pNext` member; except for the last node in the list, which has its `pNext` set to `nullptr`. A linked list structure is necessary because a runtime object can share allocation ranges with other objects.

If device removal is caused by a GPU page fault—and DRED page fault reporting is enabled—then DRED builds a list of D3D12\_DRED\_ALLOCATION\_NODE structs that includes all matching allocation nodes for active and recently-freed runtime objects.

## Syntax

```cpp theme={null}
typedef struct D3D12_DRED_ALLOCATION_NODE
{
    const char  ObjectNameA;
    const wchar_t  ObjectNameW;
    D3D12_DRED_ALLOCATION_TYPE AllocationType;
    const struct D3D12_DRED_ALLOCATION_NODE  pNext;
} D3D12_DRED_ALLOCATION_NODE
```

### Members

*ObjectNameA*\
Type: const char \*

A pointer to the ANSI debug name of the allocated runtime object.

*ObjectNameW*\
Type: const wchar\_t \*

A pointer to the wide debug name of the allocated runtime object.

*AllocationType*\
Type: D3D12\_DRED\_ALLOCATION\_TYPE

A [D3D12\_DRED\_ALLOCATION\_TYPE](/reference/graphics/d3d12/enums/d3d12_dred_allocation_type_public) value representing the runtime object's allocation type.

*pNext*\
Type: const struct D3D12\_DRED\_ALLOCATION\_NODE \*

A pointer to a constant **D3D12\_DRED\_ALLOCATION\_NODE** representing the next allocation node in the list, or `nullptr` if this is the last node.

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

* [Core structures](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)
* [Use DRED to diagnose GPU faults](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/use-dred)
