XStorePackageLicenseLostCallback

Game defined callback for the license lost event.

Syntax

void XStorePackageLicenseLostCallback(  
         void* context  
)  

Parameters

context   _In_
Type: void*

Game defined context to pass to the callback.

Return value

Type: void

Remarks

In order for this game defined function to be called, it must first be registered with the XStoreRegisterPackageLicenseLost function. The function must match the return type and parameters of XStorePackageLicenseLostCallback. In order to avoid a memory leak you must call XStoreUnregisterPackageLicenseLost when you are finished with the callback function.

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
XStoreRegisterPackageLicenseLost
XStoreUnregisterPackageLicenseLost