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

# GetValidationFlagsX (XBOX Series 主機)

> 擷取此資源目前的驗證旗標集。

擷取此資源目前的驗證旗標集。

## 語法

```cpp theme={null}
D3D12XBOX_RESOURCE_VALIDATION_FLAGS GetValidationFlagsX(  
)  
```

### 參數

### 傳回值

類型：D3D12XBOX\_RESOURCE\_VALIDATION\_FLAGS

此資源目前設定的驗證旗標。

## 備註

此 API 僅適用於驗證版圖形驅動程式。使用零售版或檢測版驅動程式時，此 API 一律會傳回 D3D12XBOX\_RESOURCE\_VALIDATION\_FLAG\_NONE。

## 需求

**標頭：** d3d12\_xs.h

**程式庫：** d3d12\_xs.lib
**支援的平台：** XBOX Series 主機

## 另請參閱

[ID3D12Resource](/zh-TW/reference/graphics/d3d12_xs/interfaces/ID3D12Resource/id3d12resource_xs)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [XBOX Series X|S 總覽](/zh-TW/paths/series-xs/overview.md)
- [Play Anywhere(主機 + PC)總覽](/zh-TW/paths/play-anywhere/overview.md)
- [XBOX 主機遊戲的認證測試 XBOX 需求](/zh-TW/publishing/certification/console-cert-tested-requirements.md)
- [IDStorageFactoryX::SetDebugFlags](/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_setdebugflags.md)
