XGameActivationAcceptPendingInvite
Accepts a pending game invite.Syntax
Parameters
inviteUri _In_z_Type: const char* The invite URI received from an XGameActivationCallback with an activation type of
XGameActivationType::PendingGameInvite.
Return value
Type: HRESULT HRESULT success or error code.For a list of error codes, see Error Codes.
Remarks
Call XGameActivationAcceptPendingInvite after the user has accepted a pending game invite. When aPendingGameInvite activation is received through the XGameActivationCallback, the game should present UI to allow the user to accept or reject the invite. If the user accepts, call this function with the inviteUri from the XGameActivationInfo structure. This triggers a subsequent activation callback with the AcceptedGameInvite type.
For an example of handling pending invites, see the remarks section of the XGameActivationCallback topic.
