Standard Lobby Messages

Two new system messages, DPLMSG_NEWSESSIONHOST and DPLMSG_SYSTEMMESSAGE, have been added for Microsoft® DirectPlay® 6.0.

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 timeout, 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:


Top of Page Top of Page
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.