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

> ACP_MESSAGE_FLOWGRAPH_TERMINATED

# ACP\_MESSAGE\_FLOWGRAPH\_TERMINATED

*Flowgraph terminated* message.

## Syntax

```cpp theme={null}
typedef struct ACP_MESSAGE_FLOWGRAPH_TERMINATED {  
    APU_ADDRESS flowgraph;  
    UINT32 numCommandsCompleted;  
    UINT32 reason;  
} ACP_MESSAGE_FLOWGRAPH_TERMINATED  
```

### Members

*flowgraph*\
Type: APU\_ADDRESS

Physical address of the flowgraph.

*numCommandsCompleted*\
Type: UINT32

Number of completed commands in the flowgraph.

*reason*\
Type: UINT32

Reason for the termination. Refer to [ACP\_FLOWGRAPH\_TERMINATED\_REASON](/reference/audio/acphal/enums/acp_flowgraph_terminated_reason).

## Remarks

This structure is used in the [ACP\_MESSAGE\_TYPE](/reference/audio/acphal/enums/acp_message_type) enumeration. It is also used in the `ACP_MESSAGE_TYPE_FLOWGRAPH_TERMINATED` message. The message indicates that the current flowgraph was terminated.

## Requirements

**Header:** acphal.h

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

## See also

[ACP\_FLOWGRAPH\_TERMINATED\_REASON](/reference/audio/acphal/enums/acp_flowgraph_terminated_reason)\
[ACP\_MESSAGE\_TYPE](/reference/audio/acphal/enums/acp_message_type)\
[AcpHal](/reference/audio/acphal/acphal_members)


## Related topics

- [ACP_MESSAGE](/reference/audio/acphal/structs/acp_message.md)
- [ACP_FLOWGRAPH_TERMINATED_REASON](/reference/audio/acphal/enums/acp_flowgraph_terminated_reason.md)
- [AcpHal](/reference/audio/acphal/acphal_members.md)
- [ACP_MESSAGE_FLOWGRAPH_COMPLETED](/reference/audio/acphal/structs/acp_message_flowgraph_completed.md)
- [ACP_MESSAGE_TYPE](/reference/audio/acphal/enums/acp_message_type.md)
