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

# ACP_MESSAGE_COMMAND_COMPLETED

> ACP_MESSAGE_COMMAND_COMPLETED

# ACP\_MESSAGE\_COMMAND\_COMPLETED

ACP 命令已完成。

## 語法

```cpp theme={null}
typedef struct ACP_MESSAGE_COMMAND_COMPLETED {  
    UINT32 commandType;  
    UINT64 commandId;  
    UINT32 audioFrame;  
} ACP_MESSAGE_COMMAND_COMPLETED  
```

### 成員

*commandType*\
類型：UINT32

已完成命令的類型。

*commandId*\
類型：UINT64

已完成命令的識別碼。其為 UINT64，以支援將指標作為命令識別碼傳遞。

*audioFrame*\
類型：UINT32

命令完成當下的音訊框架。

## 備註

此結構用於 [ACP\_MESSAGE\_TYPE](/zh-TW/reference/audio/acphal/enums/acp_message_type) 列舉。它也用於 `ACP_MESSAGE_TYPE_AUDIO_FRAME_START` 訊息。此訊息表示 ACP 命令已完成。只有在命令具有非零的 `commandId` 時才會發出通知。

## 需求

**標頭：** acphal.h

**支援的平台：** XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[ACP\_MESSAGE\_TYPE](/zh-TW/reference/audio/acphal/enums/acp_message_type)\
[AcpHal](/zh-TW/reference/audio/acphal/acphal_members)


## Related topics

- [ACP_MESSAGE_COMMAND_COMPLETED](/reference/audio/acphal/structs/acp_message_command_completed.md)
- [ACP_MESSAGE](/reference/audio/acphal/structs/acp_message.md)
