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

保留供內部使用。

## 語法

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

### 參數

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

保留供內部使用。

*stopWhenDone*   \
類型: bool

保留供內部使用。

### 傳回值

類型: HRESULT

保留供內部使用。

## 需求

**標頭:** shapexmacontext.h

**支援的平台:** XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

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


## Related topics

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