Platform SDK: DirectX |
The DirectPlayLobby3.SetLobbyMessageEvent method registers an event that will be set when a lobby message is received. The application must call this method if it needs to synchronize with messages. The lobby client can call this method to change the events specified in the call to the DirectPlayLobby3.RunApplication method.
object.SetLobbyMessageEvent(applicationId As Long, _ receiveEvent As Long)
If the method fails, an error is raised and Err.Number may be set to one of the following values:
DPERR_GENERIC |
DPERR_INVALIDINTERFACE |
DPERR_INVALIDOBJECT |
DPERR_INVALIDPARAMS |
DPERR_OUTOFMEMORY |
DirectPlayLobby3.ReceiveLobbyMessage, DirectPlayLobby3.SendLobbyMessage, DirectX7.CreateEvent