Platform SDK: DirectX |
The IDirectPlayLobby3::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 IDirectPlayLobby3::RunApplication method.
HRESULT SetLobbyMessageEvent( DWORD dwFlags, DWORD dwAppID, HANDLE hReceiveEvent );
Returns DP_OK if successful, or one of the following error values otherwise:
DPERR_GENERIC |
DPERR_INVALIDINTERFACE |
DPERR_INVALIDOBJECT |
DPERR_INVALIDPARAMS |
DPERR_OUTOFMEMORY |
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dplobby.h.
Import Library: Use dplayx.lib.
IDirectPlayLobby3::ReceiveLobbyMessage, IDirectPlayLobby3::SendLobbyMessage