1
0
mirror of https://github.com/solemnwarning/directplay-lite synced 2024-12-30 16:45:37 +01:00
directplay-lite/src/Messages.hpp

30 lines
921 B
C++
Raw Normal View History

#ifndef DPLITE_MESSAGES_HPP
#define DPLITE_MESSAGES_HPP
#define DPLITE_MSGID_HOST_ENUM_REQUEST 1
/* EnumHosts() request message.
*
* GUID - Application GUID, NULL to search for any
* DATA | NULL - User data
* DWORD - Current tick count, to be returned, for latency measurement
*/
#define DPLITE_MSGID_HOST_ENUM_RESPONSE 2
/* EnumHosts() response message.
*
* DWORD - DPN_APPLICATION_DESC.dwFlags
* GUID - DPN_APPLICATION_DESC.guidInstance
* GUID - DPN_APPLICATION_DESC.guidApplication
* DWORD - DPN_APPLICATION_DESC.dwMaxPlayers
* DWORD - DPN_APPLICATION_DESC.dwCurrentPlayers
* WSTRING - DPN_APPLICATION_DESC.pwszSessionName
* DATA | NULL - DPN_APPLICATION_DESC.pvApplicationReservedData
*
* DATA | NULL - DPN_MSGID_ENUM_HOSTS_RESPONSE.pvResponseData
* DWORD - Tick count from DPLITE_MSGID_HOST_ENUM_REQUEST
*/
#endif /* !DPLITE_MESSAGES_HPP */