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

# SetShapeXmaStopWhenDone

> SetShapeXmaStopWhenDone

# SetShapeXmaStopWhenDone

保留供内部使用。

## Syntax

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

### Parameters

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

保留供内部使用。

*stopWhenDone*   \
Type: bool

保留供内部使用。

### Return value

Type: HRESULT

保留供内部使用。

## Requirements

**头文件:** shapexmacontext.h

**支持的平台:** XBOX One 系列主机和 XBOX Series 主机

## See also

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


## Related topics

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