XblMultiplayerActivityDeleteActivityAsync
Clears the multiplayer activity for the local user.Syntax
Parameters
xblContext _In_Type: XblContextHandle XBOX Live context for the local user. async _In_
Type: XAsyncBlock* The
XAsyncBlock for this operation.
Return value
Type: HRESULT HRESULT return code for this API operation.Remarks
Titles should delete the activity for a user as soon as they leave the multiplayer activity.If the title does not delete a user’s activity, it is automatically cleared by a presence check.
To get the result of the asynchronous operation, call XAsyncGetStatus inside the
XAsyncBlock callback or after XAsyncBlock is complete. To see how this function is used, see “Deleting an activity” in the Activities section of Example code for Multiplayer Activity.
For more information about multiplayer activities, see Activities.
