Partager via


XblMultiplayerSessionReferenceIsValid

Verifies whether an XblMultiplayerSessionReference object is well formed.

Syntax

bool XblMultiplayerSessionReferenceIsValid(  
         const XblMultiplayerSessionReference* sessionReference  
)  

Parameters

sessionReference   _In_
Type: XblMultiplayerSessionReference*

The session reference.

Return value

Type: bool

Returns true if session is well formed, false if session is not well formed.

Remarks

An XblMultiplayerSessionReference object is considered to be well formed if none of the fields are empty strings.

Requirements

Header: multiplayer_c.h

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

See also

multiplayer_c