Skip to main content

XblContextDuplicateHandle

Duplicates the XblContextHandle.

Syntax

Parameters

xboxLiveContextHandle   _In_
Type: XblContextHandle
The XBOX Live context handle. duplicatedHandle   _Out_
Type: XblContextHandle*
Passes back the duplicated handle.

Return value

Type: HRESULT HRESULT return code for this API operation.

Remarks

Use this method rather than creating a new context with the same user if the XblContextHandle is needed by multiple threads.

Requirements

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

See also

xbox_live_context_c
Last modified on August 20, 2026