XblMultiplayerActivitySendInvitesAsync
Sends invites to XBOX user IDs to join the caller’s current activity.Syntax
Parameters
xblContext _In_Type: XblContextHandle XBOX Live context for the local user. xuids _In_
Type: uint64_t* List of XBOX user IDs to invite. xuidsCount _In_
Type: size_t Size of the
xuids array.
allowCrossPlatformJoin _In_Type: bool If the title is configured for cross-platform invites, setting this parameter to true sends an invite to all platform endpoints that the title supports. If set to false, the invite is sent to the sender’s platform only. If cross-platform invites are not configured, the invite is always sent to the sender’s platform only. connectionString _In_opt_z_
Type: char* (Optional) Connection string that the peer uses to join the game. async _In_
Type: XAsyncBlock* The
XAsyncBlock for this operation.
Return value
Type: HRESULT HRESULT return code for this API operation.Remarks
To get the result of the asynchronous operation, call XAsyncGetStatus inside theXAsyncBlock callback or after XAsyncBlock is complete. To see how this function is used, see “Sending invites” in the Invites section of Example code for Multiplayer Activity.
For more information about multiplayer activities, see Activities.
