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

# GetShapeXmaErrorStatus

> GetShapeXmaErrorStatus

# GetShapeXmaErrorStatus

現在のエラー値を取得します。

<a id="syntaxSection" />

## 構文

```cpp theme={null}
UINT32 GetShapeXmaErrorStatus(  
         const SHAPE_XMA_CONTEXT* context  
)  
```

<a id="parametersSection" />

### パラメーター

*context*   \_In\_\
型: [SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context)\*

[SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context) オブジェクトへのポインター。

<a id="retvalSection" />

### 戻り値

型: UINT32

1 つ以上のエラー値。

| エラー                                                                                                           | 値  |
| ------------------------------------------------------------------------------------------------------------- | -- |
| SHAPE\_XMA\_ERROR\_STATUS\_NO\_ERROR\_OCCURRED\_ERRORSET\_IS\_0                                               | 0  |
| SHAPE\_XMA\_ERROR\_STATUS\_WRITE\_BUFFER\_INVALID\_VALIDWR\_IS\_0                                             | 1  |
| SHAPE\_XMA\_ERROR\_STATUS\_INSUFFICIENT\_WRITE\_BUFFER\_SPACE\_VALIDWR\_IS\_1                                 | 2  |
| SHAPE\_XMA\_ERROR\_STATUS\_READ\_BUFFER\_INVALID\_VALIDBUFFER\_CURRBUF\_IS\_0                                 | 4  |
| SHAPE\_XMA\_ERROR\_STATUS\_FRAME\_CROSSES\_BOUNDARY\_INTO\_INVALID\_READ\_BUFFER\_VALIDBUFFER\_CURRBUF\_IS\_0 | 8  |
| SHAPE\_XMA\_ERROR\_STATUS\_FRAME\_CROSSES\_BOTH\_READ\_BUFFER\_BOUNDARIES                                     | 16 |

<a id="remarksSection" />

## 解説

Scalable Hardware Audio Processing Engine (SHAPE) は、リアルタイム応答を必要としないさまざまなイベントを報告するために、Status and Reporting Queue (SRQ) を使用します。

エラーが発生したかどうかを判定するには、[GetShapeXmaErrorSet](/reference/audio/shapexmacontext/functions/getshapexmaerrorset) を使用します。

詳細については、[SHAPE の概要](/build/console-features/audio/overviews/shape-overview) の [XMA](/build/console-features/audio/overviews/shape-overview#ID4EYD) セクションを参照してください。

<a id="requirementsSection" />

## 要件

**ヘッダー:** shapexmacontext.h

**サポート対象プラットフォーム:** XBOX One ファミリー本体および XBOX Series 本体

<a id="seealsoSection" />

## 関連項目

[ShapeXmaContext](/reference/audio/shapexmacontext/shapexmacontext_members)


## Related topics

- [GetShapeXmaErrorSet](/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaerrorset.md)
- [SHAPE_XMA_CONTEXT](/ja-jp/reference/audio/shapexmacontext/structs/shape_xma_context.md)
- [ShapeXmaContext](/ja-jp/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [GetShapeXmaParserErrorStatus](/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaparsererrorstatus.md)
- [GetShapeXmaParserErrorSet](/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaparsererrorset.md)
