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

# IAcpHal

> IAcpHal

# IAcpHal

The IAcpHal interface defines the methods listed below. To use them, create an instance of the IACPHAL interface, with [AcpHalCreate](/reference/audio/acphal/functions/acphalcreate).

## Syntax

```cpp theme={null}
class IAcpHal  
```

## Public methods

## Methods

| Method                                                                                               | Description                                                                                       |
| ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| [IAcpHal::Connect](/reference/audio/acphal/interfaces/IAcpHal/methods/iacphal_connect)               | Connects to the ACP.                                                                              |
| [IAcpHal::Disconnect](/reference/audio/acphal/interfaces/IAcpHal/methods/iacphal_disconnect)         | Disconnects from the ACP.                                                                         |
| [IAcpHal::GetNumMessages](/reference/audio/acphal/interfaces/IAcpHal/methods/iacphal_getnummessages) | Returns the number of messages in the message queue.                                              |
| [IAcpHal::PopMessage](/reference/audio/acphal/interfaces/IAcpHal/methods/iacphal_popmessage)         | Returns the oldest message in the ACP message queue, and then removes the message from the queue. |
| [IAcpHal::SubmitCommand](/reference/audio/acphal/interfaces/IAcpHal/methods/iacphal_submitcommand)   | Submits a command to the ACP.                                                                     |

## Requirements

**Header:** acphal.h

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

## See also

[acphal](/reference/audio/acphal/acphal_members)


## Related topics

- [IAcpHal::Disconnect](/reference/audio/acphal/interfaces/IAcpHal/methods/iacphal_disconnect.md)
- [IAcpHal::Connect](/reference/audio/acphal/interfaces/IAcpHal/methods/iacphal_connect.md)
- [IAcpHal::PopMessage](/reference/audio/acphal/interfaces/IAcpHal/methods/iacphal_popmessage.md)
- [IAcpHal::SubmitCommand](/reference/audio/acphal/interfaces/IAcpHal/methods/iacphal_submitcommand.md)
- [IAcpHal::GetNumMessages](/reference/audio/acphal/interfaces/IAcpHal/methods/iacphal_getnummessages.md)
