Skip to main content

XGameSaveContainerInfoCallback

Callback function for completing work after calling for data from XGameSave.

Syntax

Parameters

info   _In_
Type: XGameSaveContainerInfo*
XGameSaveContainerInfo passed from the call made to XGameSaveGetContainerInfo, XGameSaveEnumerateContainerInfo or XGameSaveEnumerateContainerInfoByName. context   _In_opt_
Type: void*
The object passed into XGameSaveGetContainerInfo, XGameSaveEnumerateContainerInfo or XGameSaveEnumerateContainerInfoByName. The context pointer carries information about that object that may be needed in the callback function.

Return value

Type: bool Return false to stop enumeration.

Remarks

Passed as a parameter to the XGameSaveGetContainerInfo, XGameSaveEnumerateContainerInfo or XGameSaveEnumerateContainerInfoByName call. This function is used as a callback so that other processes may continue while XGameSave information is obtained. This callback pattern also allows for data to be returned in sections. Whether your callback function is declared separately or inline the function must have the same parameters and boolean return value as XGameSaveContainerInfoCallback.

Requirements

Header: XGameSave.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles

See also

XGameSave
XGameSaveGetContainerInfo
XGameSaveEnumerateContainerInfo
XGameSaveEnumerateContainerInfoByName Debugging Game Saves
Last modified on August 20, 2026