> ## 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_PAGE_FAULT_OUTPUT

> 描述在给定虚拟地址 (VA) 上发生 GPU 页面错误相关的分配数据。

描述在给定虚拟地址 (VA) 上发生 GPU 页面错误相关的分配数据。包含 GPU 页面错误的 VA,以及活动对象的匹配分配节点列表和最近删除对象的分配节点列表。

## 语法

```cpp theme={null}
typedef struct D3D12_DRED_PAGE_FAULT_OUTPUT
{
    D3D12_GPU_VIRTUAL_ADDRESS PageFaultVA;
    const D3D12_DRED_ALLOCATION_NODE  pHeadExistingAllocationNode;
    const D3D12_DRED_ALLOCATION_NODE  pHeadRecentFreedAllocationNode;
} D3D12_DRED_PAGE_FAULT_OUTPUT
```

### 成员

*PageFaultVA*\
类型:D3D12\_GPU\_VIRTUAL\_ADDRESS

一个 [D3D12\_GPU\_VIRTUAL\_ADDRESS](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/d3d12_gpu_virtual_address),如果设备移除是由于 GPU 页面错误引起的,则包含出错操作的 GPU 虚拟地址 (VA)。

*pHeadExistingAllocationNode*\
类型:const D3D12\_DRED\_ALLOCATION\_NODE \*

指向常量 [D3D12\_DRED\_ALLOCATION\_NODE](/reference/graphics/d3d12/structs/d3d12_dred_allocation_node_public) 对象的指针,表示活动已分配运行时对象的分配节点链表的头,这些对象的虚拟地址 (VA) 范围与出错 VA (`PageFaultVA`) 匹配。如果列表为空,则值为 `nullptr`。

*pHeadRecentFreedAllocationNode*\
类型:const D3D12\_DRED\_ALLOCATION\_NODE \*

指向常量 [D3D12\_DRED\_ALLOCATION\_NODE](/reference/graphics/d3d12/structs/d3d12_dred_allocation_node_public) 对象的指针,表示最近释放的运行时对象的分配节点链表的头,这些对象的虚拟地址 (VA) 范围与出错 VA (`PageFaultVA`) 匹配。如果列表为空,则值为 `nullptr`。

## 要求

**头文件:** d3d12\_xs.h 或 d3d12\_x.h\
**库:** d3d12\_xs.lib 或 d3d12\_x.lib\
**支持的平台**:XBOX Series 主机和 XBOX One 系列

## 另请参阅

* [核心结构](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)
* [使用 DRED 诊断 GPU 故障](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/use-dred)


## Related topics

- [GetPageFaultAllocationOutput](/zh-CN/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddata/methods/id3d12deviceremovedextendeddata_getpagefaultallocationoutput_public.md)
- [D3D12_DEVICE_REMOVED_EXTENDED_DATA1](/zh-CN/reference/graphics/d3d12/structs/d3d12_device_removed_extended_data1_public.md)
- [D3D12_DRED_AUTO_BREADCRUMBS_OUTPUT](/zh-CN/reference/graphics/d3d12/structs/d3d12_dred_auto_breadcrumbs_output_public.md)
- [D3D12_DRED_ALLOCATION_TYPE](/zh-CN/reference/graphics/d3d12/enums/d3d12_dred_allocation_type_public.md)
- [D3D12_DRED_ENABLEMENT](/zh-CN/reference/graphics/d3d12/enums/d3d12_dred_enablement_public.md)
