Compartilhar via


XStoreCloseContextHandle

Closes the specified store context handle.

Syntax

void XStoreCloseContextHandle(  
         XStoreContextHandle storeContextHandle  
)  

Parameters

storeContextHandle   _In_
Type: XStoreContextHandle

The handle to close.

Return value

Type: void

Remarks

This function is safe to call on a time-sensitive thread.

This function closes the XStoreContextHandle created by XStoreCreateContext. Store context handles not closed with this function will cause memory leaks. It is best to call this function during cleanup to close all remaining XStoreConextHandles. See XStoreCreateContext for a usage example.

Requirements

Header: XStore.h (included in XGameRuntime.h)

Library: xgameruntime.lib

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XStore
XStoreCreateContext