Skip to main content

XGameSaveInitializeProviderResult

Contains the results of a XGameSaveInitializeProviderAsync call.

Syntax

Parameters

async   _In_
Type: XAsyncBlock*
Asyncblock passed from the XGameSaveInitializeProviderAsync call. provider   _Outptr_result_nullonfailure_
Type: XGameSaveProviderHandle*
the gs_provider_handle_t to be assigned.

Return value

Type: HRESULT Function result.

Remarks

This function is called as a part of the AsyncBlock call function of XGameSaveInitializeProviderAsync. This function will be used to get the results of XGameSaveInitializeProviderAsync and will return the XGameSaveProviderHandle created by the call. 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

See also

XGameSave
XGameSaveInitializeProviderAsync
Debugging Game Saves
Last modified on August 20, 2026