Freigeben über


XblMultiplayerSessionDuplicateHandle

Increments the reference count to a local session object.

Syntax

HRESULT XblMultiplayerSessionDuplicateHandle(  
         XblMultiplayerSessionHandle handle,  
         XblMultiplayerSessionHandle* duplicatedHandle  
)  

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle

Handle to the multiplayer session.

duplicatedHandle   _Out_
Type: XblMultiplayerSessionHandle*

Passes back the duplicated handle.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Requirements

Header: multiplayer_c.h

Library: Microsoft.Xbox.Services.141.GSDK.C.lib

See also

multiplayer_c