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

# SetShapeXmaStopWhenDone

> SetShapeXmaStopWhenDone

# SetShapeXmaStopWhenDone

Reserved for internal use.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
HRESULT SetShapeXmaStopWhenDone(  
         SHAPE_XMA_CONTEXT* context,  
         bool stopWhenDone  
)  
```

<a id="parametersSection" />

### Parameters

*context*   \_Inout\_\
Type: [SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context)\*

Reserved for internal use.

*stopWhenDone*   \
Type: bool

Reserved for internal use.

<a id="retvalSection" />

### Return value

Type: HRESULT

Reserved for internal use.

<a id="requirementsSection" />

## Requirements

**Header:** shapexmacontext.h

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

<a id="seealsoSection" />

## See also

[ShapeXmaContext](/reference/audio/shapexmacontext/shapexmacontext_members)


## Related topics

- [ShapeXmaContext](/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [GetShapeXmaStopWhenDone](/reference/audio/shapexmacontext/functions/getshapexmastopwhendone.md)
- [SetShapeXmaInterruptWhenDone](/reference/audio/shapexmacontext/functions/setshapexmainterruptwhendone.md)
- [GetShapeXmaInterruptWhenDone](/reference/audio/shapexmacontext/functions/getshapexmainterruptwhendone.md)
- [ACP overview](/build/console-features/audio/overviews/acp-overview.md)
