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

# ExecuteCommandLists2X (XBOX One 系列)

> ExecuteCommandLists2X (XBOX One 系列主機) — 用於執行命令清單的 XBOX 延伸 API。XBOX 遊戲開發的 Direct3D 12 圖形 API 參考。

用於執行命令清單的 XBOX 延伸 API。

## 語法

```cpp theme={null}
void ExecuteCommandLists2X(  
        UINT Count,
        ID3D12CommandList* const* ppCommandLists,
        D3D12XBOX_FRAME_PIPELINE_TOKEN Token,
        D3D12XBOX_EXECUTE_COMMAND_LIST_FLAGS Flags)

)  
```

### 參數

*Count*   \_In\_\
類型：UINT

要執行的命令清單數目。

*ppCommandLists*   \_In\_reads\_(Count)\
類型：ID3D12CommandList\*

要執行的 ID3D12CommandList 命令清單陣列。

*Token*
類型：D3D12XBOX\_FRAME\_PIPELINE\_TOKEN

與此 Execute 所參與之畫面相關聯的畫面管線權杖。

*Flags*\
類型：D3D12XBOX\_EXECUTE\_COMMAND\_LIST\_FLAGS

用於變更 kickoff 行為的旗標。

### 傳回值

類型：void

## 備註

* 注意：目前僅適用於圖形命令佇列。

## 需求

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

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

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

## 另請參閱

[ID3D12CommandQueue](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12commandqueue/id3d12commandqueue)


## Related topics

- [ExecuteBundle](/zh-CN/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_executebundle_public.md)
- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [SHAPE_FLOWGRAPH_COMMAND](/zh-CN/reference/audio/shapeflowgraph/structs/shape_flowgraph_command.md)
- [ACP_COMMAND_MESSAGE](/zh-CN/reference/audio/acphal/structs/acp_command_message.md)
- [ACP_COMMAND_TYPE](/zh-CN/reference/audio/acphal/enums/acp_command_type.md)
