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

# GetShapeXmaErrorSet

> GetShapeXmaErrorSet

# GetShapeXmaErrorSet

取得表示是否發生錯誤的旗標。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
bool GetShapeXmaErrorSet(  
         const SHAPE_XMA_CONTEXT* context  
)  
```

<a id="parametersSection" />

### 參數

*context*   \_In\_\
類型：[SHAPE\_XMA\_CONTEXT](/zh-TW/reference/audio/shapexmacontext/structs/shape_xma_context)\*

指向 [SHAPE\_XMA\_CONTEXT](/zh-TW/reference/audio/shapexmacontext/structs/shape_xma_context) 物件的指標。

<a id="retvalSection" />

### 傳回值

類型：bool

如果發生錯誤則為 True。

<a id="remarksSection" />

## 備註

可調式硬體音訊處理引擎 (SHAPE) 使用狀態與報告佇列 (SRQ) 來回報不需要即時回應的各種事件。

如果傳回值為 true，請呼叫 [GetShapeXmaErrorStatus](/zh-TW/reference/audio/shapexmacontext/functions/getshapexmaerrorstatus) 以取得錯誤值。

如需詳細資訊，請參閱 [SHAPE 概觀](/zh-TW/build/console-features/audio/overviews/shape-overview)的 [XMA](/zh-TW/build/console-features/audio/overviews/shape-overview#ID4EYD) 一節。

<a id="requirementsSection" />

## 需求

**標頭：** shapexmacontext.h

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

<a id="seealsoSection" />

## 另請參閱

[ShapeXmaContext](/zh-TW/reference/audio/shapexmacontext/shapexmacontext_members)


## Related topics

- [GetShapeXmaErrorSet](/reference/audio/shapexmacontext/functions/getshapexmaerrorset.md)
- [GetShapeXmaErrorStatus](/reference/audio/shapexmacontext/functions/getshapexmaerrorstatus.md)
- [ShapeXmaContext](/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [GetShapeXmaParserErrorSet](/reference/audio/shapexmacontext/functions/getshapexmaparsererrorset.md)
