Microsoft DirectX 8.0 (Visual Basic) |
Registers an entry point in the server's code that receives the messages from the DirectPlay8Server class and from connected clients.
RegisterMessageHandler(event As DirectPlay8Event)
If the method fails, Err.Number can be set to the following value.
DPNERR_ALREADYREGISTERED |
If you want to register a new message handler, you must first call DirectPlay8Server.UnRegisterMessageHandler to unregister the current message handler.