Redigera

PFLobbyGetServerPropertyKeys

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

Get a list of the lobby server's property keys.

Syntax

HRESULT PFLobbyGetServerPropertyKeys(  
    PFLobbyHandle lobby,  
    uint32_t* propertyCount,  
    const char* const** keys  
)  

Parameters

lobby   PFLobbyHandle

The handle of the lobby.

propertyCount   uint32_t*
output

The output count of lobby server properties.

keys   char* const**
library-allocated output array of size *propertyCount

The output array of lobby server property keys.

Return value

Type: HRESULT

S_OK if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via PFMultiplayerGetErrorMessage().

Remarks

If this lobby isn't a client-owned lobby, no property keys are returned.

Requirements

Header: PFLobby.h

See also

PFLobby members