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

# ID3D12ProtectedResourceSession::GetDesc

> 擷取受保護資源工作階段的描述。(ID3D12ProtectedResourceSession.GetDesc)

擷取受保護資源工作階段的描述。

## 語法

```cpp theme={null}
D3D12_PROTECTED_RESOURCE_SESSION_DESC GetDesc(
)
```

### 參數

### 傳回值

類型：D3D12\_PROTECTED\_RESOURCE\_SESSION\_DESC

描述受保護資源工作階段的 [D3D12\_PROTECTED\_RESOURCE\_SESSION\_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_protected_resource_session_desc_public)。

## 需求

**標頭:** d3d12\_xs.h 或 d3d12\_x.h<br />**程式庫:** d3d12\_xs.lib 或 d3d12\_x.lib<br />**支援的平台**: XBOX Series 主機和 XBOX One 系列

## 另請參閱

* [ID3D12ProtectedResourceSession](/zh-TW/reference/graphics/d3d12/interfaces/id3d12protectedresourcesession/id3d12protectedresourcesession_public)


## Related topics

- [ID3D12ProtectedResourceSession](/zh-TW/reference/graphics/d3d12/interfaces/id3d12protectedresourcesession/id3d12protectedresourcesession_public.md)
- [D3D12_PROTECTED_RESOURCE_SESSION_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_protected_resource_session_desc_public.md)
- [D3D12_PROTECTED_RESOURCE_SESSION_DESC1](/zh-TW/reference/graphics/d3d12/structs/d3d12_protected_resource_session_desc1_public.md)
- [ID3D12Resource::GetDesc](/zh-TW/reference/graphics/d3d12/interfaces/id3d12resource/methods/id3d12resource_getdesc_public.md)
- [ID3D12ShaderCacheSession::GetDesc](/zh-TW/reference/graphics/d3d12/interfaces/id3d12shadercachesession/methods/id3d12shadercachesession_getdesc_public.md)
