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

# GetDesc1 (XBOX Series 主機)

> 取得配接器的 DXGI 1.1 描述。

取得配接器的 Microsoft DirectX Graphics Infrastructure (DXGI) 1.1 描述。

## 語法

```cpp theme={null}
HRESULT GetDesc1(  
         DXGI_ADAPTER_DESC1* pDesc  
)  
```

### 參數

*pDesc*   \_Out\_\
類型：DXGI\_ADAPTER\_DESC1\*

指向描述配接器之 [DXGI\_ADAPTER\_DESC1](https://learn.microsoft.com/en-us/windows/win32/api/dxgi/ns-dxgi-dxgi_adapter_desc1) 結構的指標。

### 傳回值

類型：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 主機

## 另請參閱

[IDXGIAdapter1](/zh-TW/reference/graphics/d3d12_xs/interfaces/IDXGIAdapter1/idxgiadapter1)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [GetDesc1](/reference/graphics/d3d12/interfaces/id3d12protectedresourcesession1/methods/id3d12protectedresourcesession1_getdesc1_public.md)
- [XBOX Series X|S 總覽](/zh-TW/paths/series-xs/overview.md)
- [DXGI_ADAPTER_DESC2 (XBOX Series consoles)](/reference/graphics/d3d12_xs/structs/dxgi_adapter_desc2.md)
- [Play Anywhere(主機 + PC)總覽](/zh-TW/paths/play-anywhere/overview.md)
