> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ACP_COMMAND_MESSAGE

> ACP_COMMAND_MESSAGE

Registers or unregisters one or more command messages.

## Syntax

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

### Members

*message*\
Type: UINT32

Message bits; refer to the [ACP\_MESSAGE\_TYPE](https://docs.xbox.com/reference/audio/acphal/enums/acp_message_type.md) enumeration.

## Remarks

This structure is used by the `ACP_COMMAND_TYPE_REGISTER_MESSAGE` constant to register for one or more messages. It is also used by the `ACP_COMMAND_TYPE_UNREGISTER_MESSAGE` constant to unregister one or more messages.

Both constants are defined in the [ACP\_COMMAND\_TYPE](https://docs.xbox.com/reference/audio/acphal/enums/acp_command_type.md) enumeration.

## Requirements

**Header:** acphal.h

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## See also

[ACP\_COMMAND\_TYPE](https://docs.xbox.com/reference/audio/acphal/enums/acp_command_type.md)\
[ACP\_MESSAGE\_TYPE](https://docs.xbox.com/reference/audio/acphal/enums/acp_message_type.md)\
[AcpHal](https://docs.xbox.com/reference/audio/acphal/acphal_members.md)


## Related topics

- [ACP_MESSAGE_TYPE](https://docs.xbox.com/reference/audio/acphal/enums/acp_message_type.md)
- [ACP_COMMAND_TYPE](https://docs.xbox.com/reference/audio/acphal/enums/acp_command_type.md)
- [AcpHal](https://docs.xbox.com/reference/audio/acphal/acphal_members.md)
- [ACP_MESSAGE](https://docs.xbox.com/reference/audio/acphal/structs/acp_message.md)
- [ACP_MESSAGE_COMMAND_COMPLETED](https://docs.xbox.com/reference/audio/acphal/structs/acp_message_command_completed.md)
