XblMultiplayerSessionLeave

Call if the user who either created or got the session leaves the session.

Syntax

HRESULT XblMultiplayerSessionLeave(  
         XblMultiplayerSessionHandle handle  
)  

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle

Handle to the multiplayer session.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

If the session is deleted as a result of this action, a 204 response will be returned.

Requirements

Header: multiplayer_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

multiplayer_c