XStoreCloseLicenseHandle
Closes the specified store license handle.
void XStoreCloseLicenseHandle(
XStoreLicenseHandle storeLicenseHandle
)
storeLicenseHandle _In_
Type: XStoreLicenseHandle
The handle to close.
Type: void
This function is safe to call on a time-sensitive thread.
This function closes the XStoreLicenseHandle returned by XStoreAcquireLicenseForPackageResult. Make sure to close each XStoreLicenseHandle when it is no longer being used to avoid a memory leak. See XStoreAcquireLicenseForPackageAsync for a usage example.
Header: XStore.h (included in XGameRuntime.h)
Library: xgameruntime.lib
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles
XStore
XStoreAcquireLicenseForPackageAsync
XStoreAcquireLicenseForPackageResult
XStoreIsLicenseValid
XStoreCloseLicenseHandle
XStoreRegisterPackageLicenseLost
XStoreUnregisterPackageLicenseLost