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

Obtiene los valores de error actuales.

<a id="syntaxSection" />

## Sintaxis

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

<a id="parametersSection" />

### Parámetros

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

Puntero a un objeto [SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context).

<a id="retvalSection" />

### Valor devuelto

Tipo: UINT32

Uno o varios valores de error.

| Error                                                                                                         | 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" />

## Comentarios

El motor de procesamiento de audio por hardware escalable (SHAPE) usa la cola de estado e informes (SRQ) para notificar diversos eventos que no requieren respuestas en tiempo real.

Para determinar si se ha producido un error, use [GetShapeXmaErrorSet](/reference/audio/shapexmacontext/functions/getshapexmaerrorset).

Para obtener más información, consulte la sección [XMA](/build/console-features/audio/overviews/shape-overview#ID4EYD) de [Información general de SHAPE](/build/console-features/audio/overviews/shape-overview).

<a id="requirementsSection" />

## Requisitos

**Encabezado:** shapexmacontext.h

**Plataformas compatibles:** consolas de la familia XBOX One y consolas XBOX Series

<a id="seealsoSection" />

## Consulte también

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


## Related topics

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