Partager via


XblPresenceGetPresenceForMultipleUsersResult

Get result for an XblPresenceGetPresenceForMultipleUsersAsync call.

Syntax

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*

A caller allocated array that passes back the record handles result. Each handle will need to be released with XblPresenceRecordCloseHandle when they are no longer needed.

presenceRecordHandlesCount   _In_
Type: size_t

Size of the handles array. Use 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