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

# XGameUiShowErrorDialogResult

> XGameUiShowErrorDialogResult

# XGameUiShowErrorDialogResult

Obtiene el resultado de una llamada a [XGameUiShowErrorDialogAsync](/reference/system/xgameui/functions/xgameuishowerrordialogasync).

<a id="syntaxSection" />

## Sintaxis

```cpp theme={null}
HRESULT XGameUiShowErrorDialogResult(  
         XAsyncBlock* async  
)  
```

<a id="parametersSection" />

### Parámetros

*async*   \_In\_\
Tipo: [XAsyncBlock](/reference/system/xasync/structs/xasyncblock)\*

Un puntero al objeto [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) que se pasó a [XGameUiShowErrorDialogAsync](/reference/system/xgameui/functions/xgameuishowerrordialogasync).

<a id="retvalSection" />

### Valor devuelto

Tipo: HRESULT

HRESULT de éxito o código de error.

<a id="remarksSection" />

## Comentarios

Normalmente, esta función se especifica en [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) como la función de devolución de llamada para [XGameUiShowErrorDialogAsync](/reference/system/xgameui/functions/xgameuishowerrordialogasync).

También puede recuperar el resultado llamando a esta función después de que `XGameUiShowErrorDialogAsync` se complete.

<a id="requirementsSection" />

## Requisitos

**Encabezado:** XGameUI.h

**Biblioteca:** xgameruntime.lib

**Plataformas compatibles:** Windows, Steam Deck, consolas de la familia XBOX One y consolas XBOX Series

<a id="seealsoSection" />

## Consulte también

[XGameUI](/reference/system/xgameui/xgameui_members)


## Related topics

- [XGameUI](/es/reference/system/xgameui/xgameui_members.md)
- [XGameUiShowErrorDialogAsync](/es/reference/system/xgameui/functions/xgameuishowerrordialogasync.md)
- [XGameUiShowErrorDialogUiCallback](/es/reference/system/xgameui/functions/xgameuishowerrordialoguicallback.md)
- [XGameUiShowMessageDialogResult](/es/reference/system/xgameui/functions/xgameuishowmessagedialogresult.md)
- [XGameUiShowMessageDialogAsync](/es/reference/system/xgameui/functions/xgameuishowmessagedialogasync.md)
