Microsoft DirectX 8.1 (Visual Basic) |
Registers a message handler function that receives notifications about changes in the state of the lobby client and receives messages from the lobbied application.
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 DirectPlay8LobbyClient.UnRegisterMessageHandler to unregister the current message handler.