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

> ACP_COMMAND_UPDATE_DMA_WRITE_CONTEXT_ENTRY

# ACP\_COMMAND\_UPDATE\_DMA\_WRITE\_CONTEXT\_ENTRY

Entry for updating a `SHAPE_DMA_CONTEXT` that writes to a mixbuffer.

## Syntax

```cpp theme={null}
typedef struct ACP_COMMAND_UPDATE_DMA_WRITE_CONTEXT_ENTRY {  
    UINT32 contextIndex;  
    UINT32 writePointer;  
} ACP_COMMAND_UPDATE_DMA_WRITE_CONTEXT_ENTRY  
```

### Members

*contextIndex*\
Type: UINT32

Index in the range of 0 to `ACP_MAX_NUM_DMA_CONTEXTS`.

*writePointer*\
Type: UINT32

Replaces the existing value of `SHAPE_DMA_CONTEXT::writePointer`.

## Remarks

This structure is used by [ACP\_COMMAND\_UPDATE\_ALL\_CONTEXTS](/reference/audio/acphal/structs/acp_command_update_all_contexts) and [ACP\_COMMAND\_UPDATE\_CONTEXTS](/reference/audio/acphal/structs/acp_command_update_contexts). See the [ACP\_COMMAND\_TYPE](/reference/audio/acphal/enums/acp_command_type) enumeration. Use the command to update only a small number of contexts per audio frame; updating a large number of contexts is not efficient.

## Requirements

**Header:** acphal.h

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

## See also

[ACP\_COMMAND\_TYPE](/reference/audio/acphal/enums/acp_command_type)\
[SubmitCommand](/reference/audio/acphal/interfaces/IAcpHal/methods/iacphal_submitcommand)\
[AcpHal](/reference/audio/acphal/acphal_members)


## Related topics

- [AcpHal](/reference/audio/acphal/acphal_members.md)
- [ACP_COMMAND_UPDATE_ALL_CONTEXTS](/reference/audio/acphal/structs/acp_command_update_all_contexts.md)
- [ACP_COMMAND_UPDATE_CONTEXTS](/reference/audio/acphal/structs/acp_command_update_contexts.md)
- [ACP_COMMAND_UPDATE_DMA_READ_CONTEXT_ENTRY](/reference/audio/acphal/structs/acp_command_update_dma_read_context_entry.md)
- [ACP_COMMAND_UPDATE_DMA_CONTEXT](/reference/audio/acphal/structs/acp_command_update_dma_context.md)
