XGameSaveCloseContainer
Closes the XGameSaveContainer.
Syntax
void XGameSaveCloseContainer(
XGameSaveContainerHandle context
)
Parameters
context _In_
Type: XGameSaveContainerHandle
Handle to the XGameSaveContainer to be closed.
Return value
Type: void
Function result.
Remarks
Note
This function isn't safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.
Call this function when you have finished using the container. If you do not close the context handle for a container you will cause a memory leak. Every call made to XGameSaveCreateContainer should have a matching call to XGameSaveCloseContainer.
Requirements
Header: XGameSave.h
Library: xgameruntime.lib
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles