Skip to main content

XblMultiplayerQuerySessionsResult

Gets the results of a session query.

Syntax

Parameters

async   _In_
Type: XAsyncBlock*
The AsyncBlock for this operation. sessionCount   _In_
Type: size_t
The number of sessions that matched the query. Use XblMultiplayerQuerySessionsResultCount to get the count required. sessions   _Out_writes_(sessionCount)
Type: XblMultiplayerSessionQueryResult*
A caller allocated array to pass back the session query results.

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
Last modified on August 4, 2026