> ## 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](/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](/reference/graphics/d3d12/interfaces/id3d12protectedresourcesession/id3d12protectedresourcesession_public)


## Related topics

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