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

# SetShapeXmaInterruptWhenDone

保留供內部使用。

## 語法

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

### 參數

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

保留供內部使用。

*interruptWhenDone*   \
類型：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)
- [GetShapeXmaInterruptWhenDone](https://docs.xbox.com/zh-TW/reference/audio/shapexmacontext/functions/getshapexmainterruptwhendone.md)
- [SetShapeXmaStopWhenDone](https://docs.xbox.com/zh-TW/reference/audio/shapexmacontext/functions/setshapexmastopwhendone.md)
- [GetShapeXmaStopWhenDone](https://docs.xbox.com/zh-TW/reference/audio/shapexmacontext/functions/getshapexmastopwhendone.md)
- [SHAPE_XMA_CONTEXT](https://docs.xbox.com/zh-TW/reference/audio/shapexmacontext/structs/shape_xma_context.md)
