> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XblMultiplayerSendInvitesResult

> XblMultiplayerSendInvitesResult

# 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

```cpp theme={null}
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\*](/reference/live/xsapi-c/multiplayer_c/structs/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.14x.GDK.C.lib

## Conceptual documentation

* [Sending invites](/services/xbox-services/multiplayer/invites/how-to/live-invites-send)

## See also

[multiplayer\_c](/reference/live/xsapi-c/multiplayer_c/multiplayer_c_members)


## Related topics

- [Sending invites](/services/xbox-services/multiplayer/invites/how-to/live-invites-send.md)
- [XblMultiplayerSendInvitesAsync](/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersendinvitesasync.md)
- [XblMultiplayerActivitySendInvitesAsync](/reference/live/xsapi-c/multiplayer_activity_c/functions/xblmultiplayeractivitysendinvitesasync.md)
- [Lobby.SendInvite](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/SendInvite.md)
- [PFLobbySendInvite](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/functions/pflobbysendinvite.md)
