Partager via


XblMultiplayerSendInvitesResult

Invites the specified users to a session. This will result in a notification being shown to each invited user using standard invite text. If a user accepts that notification the title will be activated.

Syntax

HRESULT XblMultiplayerSendInvitesResult(  
         XAsyncBlock* async,  
         size_t handlesCount,  
         XblMultiplayerInviteHandle* handles  
)  

Parameters

async   _In_
Type: XAsyncBlock*

The AsyncBlock for this operation.

handlesCount   _In_
Type: size_t

The number of handles in the handles array. Size should be equal to the number of invites requested.

handles   _Out_writes_(handlesCount)
Type: XblMultiplayerInviteHandle*

A caller allocated array to pass back the invite handle results. The handle ID strings corresponding to the invites that have been sent.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Requirements

Header: multiplayer_c.h

Library: Microsoft.Xbox.Services.141.GSDK.C.lib

See also

multiplayer_c