home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / LordLucifer / win32asm / files / TasmD3DRMdemo.ZIP / tdx61inc.ZIP / tdplobby.inc < prev    next >
Encoding:
Text File  |  1999-08-10  |  9.4 KB  |  252 lines

  1. ; tdplobby.inc  (c) Minde  06/08/99 montana@is.lt
  2. ; Content:  TASM DirectPlayLobby include file ver. 1.2
  3. ; converted from dplobby.h, DX ver. 6.1
  4. ;
  5. ;  Feel free to use or distribute the package, part or whole, for any
  6. ; non-commercial use preferably crediting me.
  7. ;  Also feel free to contact me at the above address if you experience any
  8. ; problems or notice any omissions.
  9.  
  10. ; GUIDS used by DirectPlay objects
  11. IID_IDirectPlayLobbyW   GUID <0af465c71h,09588h,011cfh,0a0h,020h,000h,0aah,000h,061h,057h,0ach>
  12. IID_IDirectPlayLobbyA   GUID <026c66a70h,0b367h,011cfh,0a0h,024h,000h,0aah,000h,061h,057h,0ach>
  13. IID_IDirectPlayLobby2W  GUID <00194c220h,0a303h,011d0h,09ch,04fh,000h,0a0h,0c9h,005h,042h,05eh>
  14. IID_IDirectPlayLobby2A  GUID <01bb4af80h,0a303h,011d0h,09ch,04fh,000h,0a0h,0c9h,005h,042h,05eh>
  15. IID_IDirectPlayLobby3W  GUID <02db72490h,0652ch,011d1h,0a7h,0a8h,000h,000h,0f8h,003h,0abh,0fch>
  16. IID_IDirectPlayLobby3A  GUID <02db72491h,0652ch,011d1h,0a7h,0a8h,000h,000h,0f8h,003h,0abh,0fch>
  17. CLSID_DirectPlayLobby   GUID <02fe8f810h,0b2a5h,011d0h,0a7h,087h,000h,000h,0f8h,003h,0abh,0fch>
  18.  
  19.  
  20. DPLCONNECTION STRUCT
  21. dplconnection_dwSize              DD ? ; Size of this structure
  22. dplconnection_dwFlags             DD ? ; Flags specific to this structure
  23. dplconnection_lpSessionDesc       DD ? ; Pointer to session desc to use on connect
  24. dplconnection_lpPlayerName        DD ? ; Pointer to Player name structure
  25. dplconnection_guidSP              GUID ? ; GUID of the DPlay SP to use
  26. dplconnection_lpAddress           DD ? ; Address for service provider
  27. dplconnection_dwAddressSize       DD ? ; Size of address data
  28. DPLCONNECTION ENDS
  29.  
  30. DPLCONNECTION_CREATESESSION = DPOPEN_CREATE
  31. DPLCONNECTION_JOINSESSION   = DPOPEN_JOIN
  32.  
  33.  
  34. DPLAPPINFO SRUCT
  35. dplappinfo_dwSize             DD ? ; Size of this structure
  36. dplappinfo_guidApplication    GUID ? ; GUID of the Application
  37.     union                         
  38. dplappinfo_lpszAppNameA       DD ? ; Pointer to the Application Name
  39. dplappinfo_lpszAppName        DD ? ;       
  40.     ends
  41. DPLAPPINFO ENDS
  42.  
  43. DPCOMPOUNDADDRESSELEMENT struct
  44. dpcompoundaddresselement_guidDataType        GUID ?
  45. dpcompoundaddresselement_dwDataSize          DD ?
  46. dpcompoundaddresselement_lpData              DD ?
  47. DPCOMPOUNDADDRESSELEMENT ends
  48.  
  49.  
  50. DPAPPLICATIONDESC struct
  51. dpapplicationdesc_dwSize                  DD ?
  52. dpapplicationdesc_dwFlags                 DD ?
  53.     union
  54. dpapplicationdesc_lpszApplicationNameA    DD ?
  55. dpapplicationdesc_lpszApplicationName     DD ?
  56.     ends
  57. dpapplicationdesc_guidApplication         GUID ?
  58.     union
  59. dpapplicationdesc_lpszFilenameA           DD ?
  60. dpapplicationdesc_lpszFilename            DD ?
  61.     ends
  62.     union
  63. dpapplicationdesc_lpszCommandLineA        DD ?
  64. dpapplicationdesc_lpszCommandLine         DD ?
  65.     ends
  66.     union
  67. dpapplicationdesc_lpszPathA               DD ?
  68. dpapplicationdesc_lpszPath                DD ?
  69.     ends
  70.     union
  71. dpapplicationdesc_lpszCurrentDirectoryA   DD ?
  72. dpapplicationdesc_lpszCurrentDirectory    DD ?
  73.     ends
  74. dpapplicationdesc_lpszDescriptionA        DD ?
  75. dpapplicationdesc_lpszDescriptionW        DD ?
  76. DPAPPLICATIONDESC ends
  77.  
  78.  
  79.  
  80. ; DirectPlayLobby API Prototypes
  81. DirectPlayLobbyCreate = DirectPlayLobbyCreateA
  82. DirectPlayLobbyCreateA  PROCDESC STDCALL :DWORD, :DWORD, :DWORD, :DWORD, :DWORD
  83.  
  84.  
  85. ; IDirectPlayLobby
  86. ; IUnknown Methods
  87. DPLQueryInterface           = 0
  88. DPLAddRef                   = 4
  89. DPLRelease                  = 8
  90. ; IDirectPlayLobby Methods      
  91. DPLConnect                  = 12
  92. DPLCreateAddress            = 16
  93. DPLEnumAddress              = 20
  94. DPLEnumAddressTypes         = 24
  95. DPLEnumLocalApplications    = 28
  96. DPLGetConnectionSettings    = 32
  97. DPLReceiveLobbyMessage      = 36
  98. DPLRunApplication           = 40
  99. DPLSendLobbyMessage         = 44
  100. DPLSetConnectionSettings    = 48
  101. DPLSetLobbyMessageEvent     = 52
  102. ; IDirectPlayLobby2 methods
  103. DPL2CreateCompoundAddress       = 56
  104. ; IDirectPlayLobby3 methods
  105. DPL3ConnectEx                   = 60
  106. DPL3RegisterApplication         = 64
  107. DPL3UnregisterApplication       = 68
  108. DPL3WaitForConnectionSettings   = 72
  109.  
  110.  
  111.  
  112. ; DirectPlayLobby Flags
  113.  
  114. DPLWAIT_CANCEL      = 000000001h;
  115. DPLAD_SYSTEM        = 000000001h
  116. DPLMSG_STANDARD     = 000000002h;
  117.  
  118. DPLMSG_GENERIC STRUCT
  119. dplmsg_generic_dwType          DD ? ; Message type
  120. DPLMSG_GENERIC ENDS
  121.  
  122. DPLMSG_SYSTEMMESSAGE struct
  123. dplmsg_systemmessage_dwType          DD ? ; Message type
  124. dplmsg_systemmessage_guidInstance    GUID ? ; Instance GUID of the dplay session the message corresponds to
  125. DPLMSG_SYSTEMMESSAGE ends
  126.  
  127.  
  128. DPLMSG_SETPROPERTY struct
  129. dplmsg_setproperty_dwType              DD ?
  130. dplmsg_setproperty_dwRequestID         DD ?
  131. dplmsg_setproperty_guidPlayer          GUID ?
  132. dplmsg_setproperty_guidPropertyTag     GUID ?
  133. dplmsg_setproperty_dwDataSize          DD ?
  134. dplmsg_setproperty_dwPropertyData      DD 1 DUP (?)
  135. DPLMSG_SETPROPERTY ends
  136.  
  137. DPL_NOCONFIRMATION = 0;
  138.  
  139. DPLMSG_SETPROPERTYRESPONSE struct
  140. dplmsg_setpropertyresponse_dwType              DD ?
  141. dplmsg_setpropertyresponse_dwRequestID         DD ?
  142. dplmsg_setpropertyresponse_guidPlayer          GUID ?
  143. dplmsg_setpropertyresponse_guidPropertyTag     GUID ?
  144. dplmsg_setpropertyresponse_hr                  DD ?
  145. DPLMSG_SETPROPERTYRESPONSE ends
  146.  
  147. DPLMSG_GETPROPERTY struct
  148. dplmsg_getproperty_dwType              DD ?
  149. dplmsg_getproperty_dwRequestID         DD ?
  150. dplmsg_getproperty_guidPlayer          GUID ?
  151. dplmsg_getproperty_guidPropertyTag     GUID ?
  152. DPLMSG_GETPROPERTY ends
  153.  
  154. DPLMSG_GETPROPERTYRESPONSE struct
  155. dplmsg_getpropertyresponse_dwType              DD ?
  156. dplmsg_getpropertyresponse_dwRequestID         DD ?
  157. dplmsg_getpropertyresponse_guidPlayer          GUID ?
  158. dplmsg_getpropertyresponse_guidPropertyTag     GUID ?
  159. dplmsg_getpropertyresponse_hr                  DD ?
  160. dplmsg_getpropertyresponse_dwDataSize          DD ?
  161. dplmsg_getpropertyresponse_dwPropertyData      DD 1 DUP (?)
  162. DPLMSG_GETPROPERTYRESPONSE ends
  163.  
  164. DPLMSG_NEWSESSIONHOST struct
  165. dplmsg_newsessionhost_dwType              DD ? ; Message type
  166. dplmsg_newsessionhost_guidInstance        GUID ? ; Property GUID
  167. DPLMSG_NEWSESSIONHOST ends
  168.  
  169.  
  170.  
  171.  
  172. ; Sytem message dwType values
  173.  
  174. DPLSYS_CONNECTIONSETTINGSREAD   = 00000001h;
  175. DPLSYS_DPLAYCONNECTFAILED       = 00000002h;
  176. DPLSYS_DPLAYCONNECTSUCCEEDED    = 00000003h;
  177. DPLSYS_APPTERMINATED            = 00000004h;
  178. DPLSYS_SETPROPERTY              = 00000005h;
  179. DPLSYS_SETPROPERTYRESPONSE      = 00000006h;
  180. DPLSYS_GETPROPERTY              = 00000007h;
  181. DPLSYS_GETPROPERTYRESPONSE      = 00000008h;
  182. DPLSYS_NEWSESSIONHOST           = 00000009h;
  183. DPLSYS_NEWCONNECTIONSETTINGS    = 0000000Ah;
  184.  
  185.  
  186.  
  187. DPLPROPERTY_MessagesSupported   GUID <0762ccda1h,0d916h,011d0h,0bah,039h,000h,0c0h,04fh,0d7h,0edh,067h>
  188. DPLPROPERTY_LobbyGuid           GUID <0F56920A0h,0D218h,011d0h,0bah,039h,000h,0c0h,04fh,0d7h,0edh,067h>
  189. DPLPROPERTY_PlayerGuid          GUID <0b4319322h,0d20dh,011d0h,0bah,039h,000h,0c0h,04fh,0d7h,0edh,067h>
  190.  
  191. DPLDATA_PLAYERGUID struct
  192. dpldata_playerguid_guidPlayer          GUID ?
  193. dpldata_playerguid_dwPlayerFlags       DD ?
  194. DPLDATA_PLAYERGUID end
  195.  
  196. DPLPROPERTY_PlayerScore     GUID <048784000h,0d219h,011d0h,0bah,039h,000h,0c0h,04fh,0d7h,0edh,067h>
  197.  
  198. DPLDATA_PLAYERSCORE struct
  199. dpldata_playerscore_dwScoreCount        DD ?
  200. dpldata_playerscore_Score               DD 1 DUP (?)
  201. DPLDATA_PLAYERSCORE ends
  202.  
  203.  
  204. ; DirectPlay Address ID's
  205.  
  206. DPADDRESS SRUCT
  207. dpaddress_guidDataType        GUID ?
  208. dpaddress_dwDataSize          DD ?
  209. DPADDRESS ENDS
  210.  
  211. ;DPAID_ServiceProvider ect...
  212.  
  213. DPAID_TotalSize         GUID <01318f560h,0912ch,011d0h,09dh,0aah,000h,0a0h,0c9h,00ah,043h,0cbh>
  214. DPAID_ServiceProvider   GUID <007d916c0h,0e0afh,011cfh,09ch,04eh,000h,0a0h,0c9h,005h,042h,05eh>
  215. DPAID_LobbyProvider     GUID <059b95640h,09667h,011d0h,0a7h,07dh,000h,000h,0f8h,003h,0abh,0fch>
  216. DPAID_Phone             GUID <078ec89a0h,0e0afh,011cfh,09ch,04eh,000h,0a0h,0c9h,005h,042h,05eh>
  217. DPAID_PhoneW            GUID <0ba5a7a70h,09dbfh,011d0h,09ch,0c1h,000h,0a0h,0c9h,005h,042h,05eh>
  218. DPAID_Modem             GUID <0f6dcc200h,0a2feh,011d0h,09ch,04fh,000h,0a0h,0c9h,005h,042h,05eh>
  219. DPAID_ModemW            GUID <001fd92e0h,0a2ffh,011d0h,09ch,04fh,000h,0a0h,0c9h,005h,042h,05eh>
  220. DPAID_INet              GUID <0c4a54da0h,0e0afh,011cfh,09ch,04eh,000h,0a0h,0c9h,005h,042h,05eh>
  221. DPAID_INetW             GUID <0e63232a0h,09dbfh,011d0h,09ch,0c1h,000h,0a0h,0c9h,005h,042h,05eh>
  222. DPAID_INetPort          GUID <0e4524541h,08ea5h,011d1h,08ah,096h,000h,060h,097h,0b0h,014h,011h>
  223. DPAID_MaxMessageSize    GUID <0f5d09980h,0f0c4h,011d1h,083h,026h,000h,060h,097h,0b0h,014h,011h>
  224.  
  225.  
  226. DPCPA_NOFLOW        = 0 ; no flow control
  227. DPCPA_XONXOFFFLOW   = 1 ; software flow control
  228. DPCPA_RTSFLOW       = 2 ; hardware flow control with RTS
  229. DPCPA_DTRFLOW       = 3 ; hardware flow control with DTR
  230. DPCPA_RTSDTRFLOW    = 4 ; hardware flow control with RTS and DTR
  231.  
  232. DPCOMPORTADDRESS STRUCT
  233. dpcomportaddress_dwComPort           DD ? ; COM port to use (1-4)
  234. dpcomportaddress_dwBaudRate          DD ? ; baud rate (100-256k)
  235. dpcomportaddress_dwStopBits          DD ? ; no. stop bits (1-2)
  236. dpcomportaddress_dwParity            DD ? ; parity (none, odd, even, mark)
  237. dpcomportaddress_dwFlowControl       DD ? ; flow control (none, xon/xoff, rts, dtr)
  238. DPCOMPORTADDRESS ENDS
  239.  
  240.  
  241. DPAID_ComPort   GUID <0f2f0ce00h,0e0afh,011cfh,09ch,04eh,00h,0a0h,0c9h,05,042h,05eh>
  242.  
  243. ; ****************************************************************************
  244. ; *
  245. ; *  dplobby 1.0 obsolete definitions
  246. ; *  NOT Included.
  247. ; *
  248. ; ****************************************************************************
  249.  
  250.  
  251. ;end of file
  252.