Skip to main content

XblMultiplayerGetSessionByHandleResult

Gets the result of an XblMultiplayerGetSessionByHandleAsync call.

Syntax

Parameters

async   _In_
Type: XAsyncBlock*
The AsyncBlock for this operation. handle   _Out_
Type: XblMultiplayerSessionHandle*
Passes back a handle to a new instance of a local multiplayer session object. It must be release by the caller with XblMultiplayerSessionCloseHandle.

Return value

Type: HRESULT HRESULT return code for this API operation.

Remarks

If the session does not exist, this API will return __HRESULT_FROM_WIN32(ERROR_RESOURCE_DATA_NOT_FOUND) and a null XblMultiplayerSessionHandle.

Requirements

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

See also

multiplayer_c
Last modified on August 4, 2026