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

# 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\*](https://docs.xbox.com/reference/live/xsapi-c/multiplayer_c/structs/xblmultiplayerinvitehandle.md)

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.142.C.lib or Microsoft.Xbox.Services.143.C.lib

## Conceptual documentation

* [Sending invites](https://docs.xbox.com/services/xbox-services/multiplayer/invites/how-to/live-invites-send.md)

## See also

[multiplayer\_c](https://docs.xbox.com/reference/live/xsapi-c/multiplayer_c/multiplayer_c_members.md)


## Related topics

- [Sending invites](https://docs.xbox.com/services/xbox-services/multiplayer/invites/how-to/live-invites-send.md)
- [XblMultiplayerSendInvitesAsync](https://docs.xbox.com/reference/live/xsapi-c/multiplayer_c/functions/xblmultiplayersendinvitesasync.md)
- [XblMultiplayerActivitySendInvitesAsync](https://docs.xbox.com/reference/live/xsapi-c/multiplayer_activity_c/functions/xblmultiplayeractivitysendinvitesasync.md)
- [Invites](https://docs.xbox.com/services/xbox-services/multiplayer/mpa/concepts/live-mpa-invites.md)
- [Send game invites by using Multiplayer Manager](https://docs.xbox.com/services/xbox-services/multiplayer/mpm/how-to/live-send-game-invites.md)
