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

# SetShapeXmaInterruptWhenDone

> SetShapeXmaInterruptWhenDone

Reserved for internal use.

## Syntax

```cpp theme={null}
HRESULT SetShapeXmaInterruptWhenDone(  
         SHAPE_XMA_CONTEXT* context,  
         bool interruptWhenDone  
)  
```

### Parameters

*context*   \_Inout\_\
Type: [SHAPE\_XMA\_CONTEXT](https://docs.xbox.com/reference/audio/shapexmacontext/structs/shape_xma_context.md)\*

Reserved for internal use.

*interruptWhenDone*   \
Type: bool

Reserved for internal use.

### Return value

Type: HRESULT

Reserved for internal use.

## Requirements

**Header:** shapexmacontext.h

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

## See also

[ShapeXmaContext](https://docs.xbox.com/reference/audio/shapexmacontext/shapexmacontext_members.md)


## Related topics

- [ShapeXmaContext](https://docs.xbox.com/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [GetShapeXmaInterruptWhenDone](https://docs.xbox.com/reference/audio/shapexmacontext/functions/getshapexmainterruptwhendone.md)
- [SetShapeXmaStopWhenDone](https://docs.xbox.com/reference/audio/shapexmacontext/functions/setshapexmastopwhendone.md)
- [GetShapeXmaStopWhenDone](https://docs.xbox.com/reference/audio/shapexmacontext/functions/getshapexmastopwhendone.md)
- [SHAPE_XMA_CONTEXT](https://docs.xbox.com/reference/audio/shapexmacontext/structs/shape_xma_context.md)
