> ## 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.

# XblPresenceGetPresenceForMultipleUsersResult

> XblPresenceGetPresenceForMultipleUsersResult

# XblPresenceGetPresenceForMultipleUsersResult

Get result for an [XblPresenceGetPresenceForMultipleUsersAsync](/reference/live/xsapi-c/presence_c/functions/xblpresencegetpresenceformultipleusersasync) call.

## Syntax

```cpp theme={null}
HRESULT XblPresenceGetPresenceForMultipleUsersResult(  
         XAsyncBlock* async,  
         XblPresenceRecordHandle* presenceRecordHandles,  
         size_t presenceRecordHandlesCount  
)  
```

### Parameters

*async*   \_In\_\
Type: XAsyncBlock\*

The AsyncBlock for this operation.

*presenceRecordHandles*   \_Out\_writes\_(presenceRecordHandlesCount)\
Type: [XblPresenceRecordHandle\*](/reference/live/xsapi-c/presence_c/handles/xblpresencerecordhandle)

A caller allocated array that passes back the record handles result. Each handle will need to be released with [XblPresenceRecordCloseHandle](/reference/live/xsapi-c/presence_c/functions/xblpresencerecordclosehandle) when they are no longer needed.

*presenceRecordHandlesCount*   \_In\_\
Type: size\_t

Size of the handles array. Use [XblPresenceGetPresenceForMultipleUsersResultCount](/reference/live/xsapi-c/presence_c/functions/xblpresencegetpresenceformultipleusersresultcount) to get the count required.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Requirements

**Header:** presence\_c.h

**Library:** Microsoft.Xbox.Services.14x.GDK.C.lib

## See also

[presence\_c](/reference/live/xsapi-c/presence_c/presence_c_members)
