Partager via


XblMultiplayerQuerySessionsResultCount

Gets the number of sessions that matched a session query.

Syntax

HRESULT XblMultiplayerQuerySessionsResultCount(  
         XAsyncBlock* async,  
         size_t* sessionCount  
)  

Parameters

async   _In_
Type: XAsyncBlock*

The AsyncBlock for this operation.

sessionCount   _Out_
Type: size_t*

Passes back the number of matching sessions.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Requirements

Header: multiplayer_c.h

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

See also

multiplayer_c