Partager via


XGameSaveSubmitUpdateResult

Retrieves the result of the XGameSaveSubmitUpdateAsync call.

Syntax

HRESULT XGameSaveSubmitUpdateResult(  
         XAsyncBlock* async  
)  

Parameters

async   _In_
Type: XAsyncBlock*

AsyncBlock passed from the XGameSaveSubmitUpdateAsync 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 method. Call this function as a part of the async block for XGameSaveSubmitUpdateAsync. 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

See also

XGameSave
Game save errors