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

> ACP_COMMAND_MESSAGE

# ACP\_COMMAND\_MESSAGE

注册或注销一个或多个命令消息。

## 语法

```cpp theme={null}
typedef struct ACP_COMMAND_MESSAGE {  
    UINT32 message;  
} ACP_COMMAND_MESSAGE  
```

### 成员

*message*\
类型:UINT32

消息位;请参阅 [ACP\_MESSAGE\_TYPE](/reference/audio/acphal/enums/acp_message_type) 枚举。

## 备注

此结构体由 `ACP_COMMAND_TYPE_REGISTER_MESSAGE` 常量用于注册一个或多个消息。它也由 `ACP_COMMAND_TYPE_UNREGISTER_MESSAGE` 常量用于注销一个或多个消息。

上述两个常量都在 [ACP\_COMMAND\_TYPE](/reference/audio/acphal/enums/acp_command_type) 枚举中定义。

## 要求

**头文件:** acphal.h

**支持的平台:** XBOX One 系列主机和 XBOX Series 主机

## 另请参阅

[ACP\_COMMAND\_TYPE](/reference/audio/acphal/enums/acp_command_type)\
[ACP\_MESSAGE\_TYPE](/reference/audio/acphal/enums/acp_message_type)\
[AcpHal](/reference/audio/acphal/acphal_members)


## Related topics

- [ACP_MESSAGE_TYPE](/zh-CN/reference/audio/acphal/enums/acp_message_type.md)
- [ACP_COMMAND_TYPE](/zh-CN/reference/audio/acphal/enums/acp_command_type.md)
- [AcpHal](/zh-CN/reference/audio/acphal/acphal_members.md)
- [ACP_MESSAGE](/zh-CN/reference/audio/acphal/structs/acp_message.md)
- [ACP_MESSAGE_COMMAND_COMPLETED](/zh-CN/reference/audio/acphal/structs/acp_message_command_completed.md)
