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

Obtém os valores de erro atuais.

<a id="syntaxSection" />

## Sintaxe

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

<a id="parametersSection" />

### Parâmetros

*context*   \_In\_\
Tipo: [SHAPE\_XMA\_CONTEXT](/pt-BR/reference/audio/shapexmacontext/structs/shape_xma_context)\*

Ponteiro para um objeto [SHAPE\_XMA\_CONTEXT](/pt-BR/reference/audio/shapexmacontext/structs/shape_xma_context).

<a id="retvalSection" />

### Valor de retorno

Tipo: UINT32

Um ou mais valores de erro.

| Erro | Valor |
| - | - |
| 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" />

## Comentários

O Scalable Hardware Audio Processing Engine (SHAPE) usa a Status and Reporting Queue (SRQ) para relatar vários eventos que não exigem respostas em tempo real.

Para determinar se ocorreu um erro, use [GetShapeXmaErrorSet](/pt-BR/reference/audio/shapexmacontext/functions/getshapexmaerrorset).

Para obter mais informações, consulte a seção [XMA](/pt-BR/build/console-features/audio/overviews/shape-overview#ID4EYD) de [Visão geral do SHAPE](/pt-BR/build/console-features/audio/overviews/shape-overview).

<a id="requirementsSection" />

## Requisitos

**Cabeçalho:** shapexmacontext.h

**Plataformas com suporte:** consoles da família XBOX One e consoles XBOX Series

<a id="seealsoSection" />

## Confira também

[ShapeXmaContext](/pt-BR/reference/audio/shapexmacontext/shapexmacontext_members)


## Related topics

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