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

# GetExecutionCommandSizeX (XBOX One 系列)

> 查詢套件組合命令清單所需的配置大小。

查詢套件組合命令清單所需的配置大小。

## 語法

```cpp theme={null}
UINT GetExecutionCommandSizeX(  
)  
```

### 參數

無。

### 傳回值

類型：UINT

如果在 **GetExecutionCommandSizeX** 查詢之後立即執行 **Close**，此方法會傳回儲存所有套件組合命令所需的套件組合命令清單配置大小。

## 備註

此方法的傳回值適用於建立套件組合，這些套件組合可以獨立於建構時所使用的命令清單物件而進行維護和執行。

如需此方法的一般用法，請參閱 [CloseBundleX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_closebundlex)。

## 需求

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

**程式庫：** d3d12\_x.lib

**支援的平台：** XBOX One 系列

## 另請參閱

[ID3D12GraphicsCommandList](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/id3d12graphicscommandlist)


## Related topics

- [GetShapeSrcCommandType](/zh-TW/reference/audio/shapesrccontext/functions/getshapesrccommandtype.md)
- [ID3D12CommandQueue::GetDesc](/zh-TW/reference/graphics/d3d12/interfaces/id3d12commandqueue/methods/id3d12commandqueue_getdesc_public.md)
- [GetSerializedSize](/zh-TW/reference/graphics/d3d12/interfaces/id3d12pipelinelibrary/methods/id3d12pipelinelibrary_getserializedsize_public.md)
- [ACP_COMMAND_TYPE](/zh-TW/reference/audio/acphal/enums/acp_command_type.md)
- [ACP_COMMAND_MESSAGE](/zh-TW/reference/audio/acphal/structs/acp_command_message.md)
