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

# CheckInterfaceSupport (XBOX Series 主機)

> 檢查系統是否支援圖形元件的裝置介面。

檢查系統是否支援圖形元件的裝置介面。

## 語法

```cpp theme={null}
HRESULT CheckInterfaceSupport(  
         REFGUID InterfaceName,  
         LARGE_INTEGER* pUMDVersion  
)  
```

### 參數

*InterfaceName*   \_In\_\
類型：REFGUID

要檢查是否支援的裝置版本介面的 GUID。

*pUMDVersion*   \_Out\_\
類型：LARGE\_INTEGER\*

*InterfaceName* 的使用者模式驅動程式版本。只有在支援該介面時才會傳回此值，否則此參數會是 **NULL**。

### 傳回值

類型：HRESULT

如果成功，則傳回 S\_OK；否則傳回錯誤碼。如需錯誤碼清單，請參閱 [Direct3D 12 傳回碼](https://learn.microsoft.com/en-us/windows/win32/direct3d12/d3d12-graphics-reference-returnvalues)。

## 需求

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

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

## 另請參閱

[IDXGIAdapter](/zh-TW/reference/graphics/d3d12_xs/interfaces/IDXGIAdapter/idxgiadapter)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [CheckFeatureSupport](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_checkfeaturesupport_public.md)
- [XR-130 XBOX Series X|S 世代](/zh-TW/publishing/certification/xr/xr-130.md)
- [XR-003 提交的遊戲品質](/zh-TW/publishing/certification/xr/xr-003.md)
- [CheckDriverMatchingIdentifier (XBOX Series consoles)](/reference/graphics/d3d12/interfaces/id3d12device5/methods/id3d12device5_checkdrivermatchingidentifier_public.md)
