Platform SDK: DirectX

Standard Lobby Messages

To determine whether the lobby that launched your application supports standard lobby messages, it is necessary to send the lobby an initial DPLMSG_GETPROPERTY request and see whether it responds. The property that should be requested is DPLPROPERTY_MessagesSupported.

If the lobby responds with TRUE, then you can assume that it will respond to all further messages. If it responds with FALSE or does not respond at all within a specified time-out, then you can assume that messages are not supported.

If the application supports spectator players, the application should also request DPLPROPERTY_PlayerGuid before creating players in order to determine if they should be created as spectators or not.

The DirectPlay standard lobby messages are:

See Also

Using Lobby Messages, Staying in Touch with the Lobby