Skip to main content
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.142.C.lib or Microsoft.Xbox.Services.143.C.lib

See also

xbox_live_context_c
Last modified on October 29, 2026