Compartilhar via


XblMultiplayerSessionCompare

Checks the deltas between 2 sessions and returns an Or'ed MultiplayerSessionChangeType. Useful to compare a session object passed to XblMultiplayerWriteSessionAsync with the session object returned.

Syntax

XblMultiplayerSessionChangeTypes XblMultiplayerSessionCompare(  
         XblMultiplayerSessionHandle currentSessionHandle,  
         XblMultiplayerSessionHandle oldSessionHandle  
)  

Parameters

currentSessionHandle   _In_
Type: XblMultiplayerSessionHandle

A session to compare to the other.

oldSessionHandle   _In_
Type: XblMultiplayerSessionHandle

A session to compare to the other.

Return value

Type: XblMultiplayerSessionChangeTypes

The Or'ed change types for a multiplayer session.

Requirements

Header: multiplayer_c.h

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

See also

multiplayer_c