> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XGameSaveSubmitUpdateResult

> XGameSaveSubmitUpdateResult

Retrieves the result of the [XGameSaveSubmitUpdateAsync](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesavesubmitupdateasync.md) call.

## Syntax

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

### Parameters

*async*   \_In\_\
Type: [XAsyncBlock\*](https://docs.xbox.com/reference/system/xasync/structs/xasyncblock.md)

AsyncBlock passed from the [XGameSaveSubmitUpdateAsync](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesavesubmitupdateasync.md) call.

### Return value

Type: HRESULT

Function result.

Common Errors

* E\_GS\_INVALID\_CONTAINER\_NAME
* E\_GS\_OUT\_OF\_LOCAL\_STORAGE
* E\_GS\_UPDATE\_TOO\_BIG
* E\_GS\_QUOTA\_EXCEEDED
* E\_GS\_CONTAINER\_NOT\_IN\_SYNC
* E\_GS\_CONTAINER\_SYNC\_FAILED
* E\_GS\_HANDLE\_EXPIRED

## Remarks

This function will retrieve the result for the [XGameSaveSubmitUpdateAsync](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesavesubmitupdateasync.md) method. Call this function as a part of the async block for [XGameSaveSubmitUpdateAsync](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesavesubmitupdateasync.md). Result methods are commonly written in line with the asynchronous call which will call them later, but can also be written as separate functions.

## Requirements

**Header:** XGameSave.h

**Library:** xgameruntime.lib

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## Conceptual documentation

* [Asynchronous programming design goals and improvements](https://docs.xbox.com/build/core-features/common/async/async-whitepaper.md)

## See also

[XGameSave](https://docs.xbox.com/reference/system/xgamesave/xgamesave_members.md)\
[Debugging Game Saves](https://docs.xbox.com/build/core-features/common/game-save/game-saves-debugging.md)


## Related topics

- [XGameSave (API contents)](https://docs.xbox.com/reference/system/xgamesave/xgamesave_members.md)
- [Asynchronous programming design goals and improvements](https://docs.xbox.com/build/core-features/common/async/async-whitepaper.md)
- [Using C# wrappers for GDK APIs in your Unity project](https://docs.xbox.com/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XGameSaveSubmitUpdate](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesavesubmitupdate.md)
- [XGameSaveSubmitUpdateAsync](https://docs.xbox.com/reference/system/xgamesave/functions/xgamesavesubmitupdateasync.md)
