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

# EnumOutputs (XBOX Series 主機)

> 列舉介面卡 (顯示卡) 輸出。

列舉介面卡 (顯示卡) 輸出。

## 語法

```cpp theme={null}
HRESULT EnumOutputs(  
         UINT Output,  
         IDXGIOutput** ppOutput  
)  
```

### 參數

*Output*   \_In\_\
類型：UINT

輸出的索引。在 XBOX Series X|S 上，此值應一律為 0。

*ppOutput*   \_Out\_\
類型：IDXGIOutput\*\*

指標的位址，該指標指向位於 Output 參數所指定位置的 IDXGIOutput 介面。

### 傳回值

類型：HRESULT

表示成功或失敗的代碼 (請參閱 DXGI\_ERROR)。如果索引大於輸出數目，則會傳回 DXGI\_ERROR\_NOT\_FOUND。

## 備註

XBOX Series X|S 上只有單一輸出。

## 需求

**標頭：** 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)
- [XBOX Series X|S 總覽](/zh-TW/paths/series-xs/overview.md)
- [使用 GDKX 建置並執行你的第一個主機遊戲](/zh-TW/home/build-first-title/first-console-title-walkthrough.md)
- [XBOX 主機遊戲的認證測試 XBOX 需求](/zh-TW/publishing/certification/console-cert-tested-requirements.md)
- [Play Anywhere(主機 + PC)總覽](/zh-TW/paths/play-anywhere/overview.md)
