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

# GetPageFaultAllocationOutput

> Device Removed Extended Data (DRED) のページ フォールト データを取得します。

Device Removed Extended Data (DRED) のページ フォールト データを取得します。これには、存在するランタイム オブジェクトと最近削除されたランタイム オブジェクトの両方の一致する割り当てが含まれます。渡されたアドレスのオブジェクトがデータを受け取ります。

## 構文

```cpp theme={null}
HRESULT GetPageFaultAllocationOutput(
    D3D12_DRED_PAGE_FAULT_OUTPUT  pOutput
)
```

### パラメーター

*pOutput*\
型: D3D12\_DRED\_PAGE\_FAULT\_OUTPUT \*

[D3D12\_DRED\_PAGE\_FAULT\_OUTPUT](/reference/graphics/d3d12/structs/d3d12_dred_page_fault_output_public) オブジェクトのアドレスを受け取る出力パラメーター。

### 戻り値

型: HRESULT

関数が成功した場合は **S\_OK** を返します。それ以外の場合は [HRESULT](https://learn.microsoft.com/en-us/windows/desktop/com/structure-of-com-error-codes) [エラー コード](https://learn.microsoft.com/en-us/windows/desktop/com/com-error-codes-10) を返します。デバイスが削除状態に *ない* 場合は **DXGI\_ERROR\_NOT\_CURRENTLY\_AVAILABLE** を返します。[ID3D12DeviceRemovedExtendedDataSettings::SetPageFaultEnablement](/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddatasettings/methods/id3d12deviceremovedextendeddatasettings_setpagefaultenablement_public) でページ フォールト レポートが有効化されていない場合は **DXGI\_ERROR\_UNSUPPORTED** を返します。

## 要件

**ヘッダー:** d3d12\_xs.h または d3d12\_x.h\
**ライブラリ:** d3d12\_xs.lib または d3d12\_x.lib\
**サポートされるプラットフォーム**: XBOX Series 本体および XBOX One ファミリ

## 関連項目

* [ID3D12DeviceRemovedExtendedData インターフェイス](/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddata/id3d12deviceremovedextendeddata_public)
* [DRED を使用して GPU 障害を診断する](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/use-dred)


## Related topics

- [D3D12_DRED_PAGE_FAULT_OUTPUT](/ja-jp/reference/graphics/d3d12/structs/d3d12_dred_page_fault_output_public.md)
- [SetPageFaultEnablement](/ja-jp/reference/graphics/d3d12/interfaces/id3d12deviceremovedextendeddatasettings/methods/id3d12deviceremovedextendeddatasettings_setpagefaultenablement_public.md)
- [D3D12_DRED_ALLOCATION_TYPE](/ja-jp/reference/graphics/d3d12/enums/d3d12_dred_allocation_type_public.md)
- [D3D12_DRED_ALLOCATION_NODE](/ja-jp/reference/graphics/d3d12/structs/d3d12_dred_allocation_node_public.md)
- [D3D12_DEVICE_REMOVED_EXTENDED_DATA1](/ja-jp/reference/graphics/d3d12/structs/d3d12_device_removed_extended_data1_public.md)
