> ## 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](/zh-TW/reference/graphics/d3d12/structs/d3d12_dred_allocation_node_public.md) 物件的指標，代表配置節點之連結清單的開頭，這些節點屬於虛擬位址 (VA) 範圍與發生錯誤之 VA (`PageFaultVA`) 相符的使用中已配置執行階段物件。如果清單是空的，則值為 `nullptr`。

*pHeadRecentFreedAllocationNode*\
類型：const D3D12\_DRED\_ALLOCATION\_NODE \*

指向常數 [D3D12\_DRED\_ALLOCATION\_NODE](/zh-TW/reference/graphics/d3d12/structs/d3d12_dred_allocation_node_public.md) 物件的指標，代表配置節點之連結清單的開頭，這些節點屬於虛擬位址 (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-TW/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddata/methods/id3d12deviceremovedextendeddata_getpagefaultallocationoutput_public.md)
- [D3D12_DEVICE_REMOVED_EXTENDED_DATA1](/zh-TW/reference/graphics/d3d12/structs/d3d12_device_removed_extended_data1_public.md)
- [D3D12_DRED_AUTO_BREADCRUMBS_OUTPUT](/zh-TW/reference/graphics/d3d12/structs/d3d12_dred_auto_breadcrumbs_output_public.md)
- [D3D12_DRED_ALLOCATION_TYPE](/zh-TW/reference/graphics/d3d12/enums/d3d12_dred_allocation_type_public.md)
- [D3D12_DRED_VERSION](/zh-TW/reference/graphics/d3d12/enums/d3d12_dred_version_public.md)
