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

# GetDisplaySurfaceData (XBOX Series 主機)

> 取得目前顯示表面的複本。

取得目前顯示表面的複本。

## 語法

```cpp theme={null}
HRESULT GetDisplaySurfaceData(  
         IDXGISurface *pDestination  
)  
```

### 參數

\**pDestination*   \_In\_\
類型：IDXGISurface

### 傳回值

類型：HRESULT

傳回 DXGI\_ERROR\_UNSUPPORTED。

## 備註

XBOX Series X|S 不支援此方法。

## 需求

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

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

## 另請參閱

[IDXGIOutput](/zh-TW/reference/graphics/d3d12_xs/interfaces/IDXGIOutput/idxgioutput)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [XGameStreamingGetDisplayDetails](/zh-TW/reference/system/xgamestreaming/functions/xgamestreaminggetdisplaydetails.md)
- [XGameStreamingGetLastFrameDisplayed](/zh-TW/reference/system/xgamestreaming/functions/xgamestreaminggetlastframedisplayed.md)
- [XDisplayHdrModePreference](/zh-TW/reference/system/xdisplay/enums/xdisplayhdrmodepreference.md)
- [XDisplayHdrModeResult](/zh-TW/reference/system/xdisplay/enums/xdisplayhdrmoderesult.md)
