Microsoft DirectX 8.1 (Visual Basic) |
Registers a message handler function that receives notifications about changes in the state of the lobbied application and receives messages from the lobby client.
RegisterMessageHandler(lobbyEvent As DirectPlay8LobbyEvent)
If the method fails, Err.Number can be set to one of the following values.
DPNERR_ALREADYREGISTERED |
DPNERR_INVALIDPARAM |
If you want to register a new message handler, you must first call DirectPlay8LobbiedApplication.UnRegisterMessageHandler to unregister the current message handler.