共用方式為


XblPresenceGetPresenceForMultipleUsersResultCount

Get result count for an XblPresenceGetPresenceForMultipleUsersAsync call.

Syntax

HRESULT XblPresenceGetPresenceForMultipleUsersResultCount(  
         XAsyncBlock* async,  
         size_t* resultCount  
)  

Parameters

async   _In_
Type: XAsyncBlock*

The AsyncBlock for this operation.

resultCount   _Out_
Type: size_t*

Passes back the number of presence records.

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

XblPresenceGetPresenceForMultipleUsersResult
presence_c