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

# GetMessageCountLimit (XBOX Series 主機)

> 取得可新增至訊息佇列的訊息數目上限。

取得可新增至訊息佇列的訊息數目上限。

## 語法

```cpp theme={null}
UINT64 GetMessageCountLimit(  
         DXGI_DEBUG_ID Producer  
)  
```

### 參數

*Producer*   \_In\_\
類型：[DXGI\_DEBUG\_ID](https://learn.microsoft.com/en-us/windows/desktop/direct3ddxgi/dxgi-debug-id)

取得此數目之實體的識別碼。

### 傳回值

類型：UINT64

傳回可新增至佇列的訊息數目上限。-1 表示沒有限制。

## 需求

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

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

## 另請參閱

[IDXGIInfoQueue](/zh-TW/reference/graphics/d3d12_xs/interfaces/IDXGIInfoQueue/idxgiinfoqueue)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [XBOX Series X|S 總覽](/zh-TW/paths/series-xs/overview.md)
- [Play Anywhere(主機 + PC)總覽](/zh-TW/paths/play-anywhere/overview.md)
- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [XBOX 主機遊戲的認證測試 XBOX 需求](/zh-TW/publishing/certification/console-cert-tested-requirements.md)
