Skip to main content

XblMultiplayerQuerySessionsAsync

Retrieve a list of sessions with various filters.

Syntax

Parameters

xblContext   _In_
Type: XblContextHandle
XBOX live context for the local user. sessionQuery   _In_
Type: XblMultiplayerSessionQuery*
A session query object that defines the parameters for the query. async   _In_
Type: XAsyncBlock*
The AsyncBlock for this operation.

Return value

Type: HRESULT HRESULT return code for this API operation.

REST Call

Calls V102 GET /serviceconfigs//sessions or /serviceconfigs//sessiontemplates//sessions

Requirements

Header: multiplayer_c.h Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

multiplayer_c
Last modified on August 20, 2026