XblMultiplayerSessionSetSessionChangeSubscription

Configures the set of session changes that this client will be subscribed to.

Syntax

HRESULT XblMultiplayerSessionSetSessionChangeSubscription(  
         XblMultiplayerSessionHandle handle,  
         XblMultiplayerSessionChangeTypes changeTypes  
)  

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle

Handle to the multiplayer session.

changeTypes   _In_
Type: XblMultiplayerSessionChangeTypes

Or'd set of XblMultiplayerSessionChangeType enum values representing the change types to subscribe to.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

Set to MultiplayerSessionChangeTypes::None to clear the subscription.

Requirements

Header: multiplayer_c.h

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

See also

multiplayer_c