IDirectPlayLobby::SendLobbyMessage
HRESULT SendLobbyMessage( DWORD dwFlags,
DWORD dwAppID, LPVOID lpData,
DWORD dwDataSize);
Sends a message between the application and the lobby client.
·Returns DP_OK if successful, or one of the following error values otherwise:
dwFlags
Reserved; must be zero.
dwAppID
Identifies which application to send a message to when called from a lobby client (that communicates with several applications). When called from an application (that communicates with only one lobby client), this parameter must be zero. This ID is obtained by using the IDirectPlayLobby::RunApplication method.
lpData
Address of the buffer containing the message to send.
dwDataSize
Size, in bytes, of the buffer.