home *** CD-ROM | disk | FTP | other *** search
- ; tdplobby.inc (c) Minde 06/08/99 montana@is.lt
- ; Content: TASM DirectPlayLobby include file ver. 1.2
- ; converted from dplobby.h, DX ver. 6.1
- ;
- ; Feel free to use or distribute the package, part or whole, for any
- ; non-commercial use preferably crediting me.
- ; Also feel free to contact me at the above address if you experience any
- ; problems or notice any omissions.
-
- ; GUIDS used by DirectPlay objects
- IID_IDirectPlayLobbyW GUID <0af465c71h,09588h,011cfh,0a0h,020h,000h,0aah,000h,061h,057h,0ach>
- IID_IDirectPlayLobbyA GUID <026c66a70h,0b367h,011cfh,0a0h,024h,000h,0aah,000h,061h,057h,0ach>
- IID_IDirectPlayLobby2W GUID <00194c220h,0a303h,011d0h,09ch,04fh,000h,0a0h,0c9h,005h,042h,05eh>
- IID_IDirectPlayLobby2A GUID <01bb4af80h,0a303h,011d0h,09ch,04fh,000h,0a0h,0c9h,005h,042h,05eh>
- IID_IDirectPlayLobby3W GUID <02db72490h,0652ch,011d1h,0a7h,0a8h,000h,000h,0f8h,003h,0abh,0fch>
- IID_IDirectPlayLobby3A GUID <02db72491h,0652ch,011d1h,0a7h,0a8h,000h,000h,0f8h,003h,0abh,0fch>
- CLSID_DirectPlayLobby GUID <02fe8f810h,0b2a5h,011d0h,0a7h,087h,000h,000h,0f8h,003h,0abh,0fch>
-
-
- DPLCONNECTION STRUCT
- dplconnection_dwSize DD ? ; Size of this structure
- dplconnection_dwFlags DD ? ; Flags specific to this structure
- dplconnection_lpSessionDesc DD ? ; Pointer to session desc to use on connect
- dplconnection_lpPlayerName DD ? ; Pointer to Player name structure
- dplconnection_guidSP GUID ? ; GUID of the DPlay SP to use
- dplconnection_lpAddress DD ? ; Address for service provider
- dplconnection_dwAddressSize DD ? ; Size of address data
- DPLCONNECTION ENDS
-
- DPLCONNECTION_CREATESESSION = DPOPEN_CREATE
- DPLCONNECTION_JOINSESSION = DPOPEN_JOIN
-
-
- DPLAPPINFO SRUCT
- dplappinfo_dwSize DD ? ; Size of this structure
- dplappinfo_guidApplication GUID ? ; GUID of the Application
- union
- dplappinfo_lpszAppNameA DD ? ; Pointer to the Application Name
- dplappinfo_lpszAppName DD ? ;
- ends
- DPLAPPINFO ENDS
-
- DPCOMPOUNDADDRESSELEMENT struct
- dpcompoundaddresselement_guidDataType GUID ?
- dpcompoundaddresselement_dwDataSize DD ?
- dpcompoundaddresselement_lpData DD ?
- DPCOMPOUNDADDRESSELEMENT ends
-
-
- DPAPPLICATIONDESC struct
- dpapplicationdesc_dwSize DD ?
- dpapplicationdesc_dwFlags DD ?
- union
- dpapplicationdesc_lpszApplicationNameA DD ?
- dpapplicationdesc_lpszApplicationName DD ?
- ends
- dpapplicationdesc_guidApplication GUID ?
- union
- dpapplicationdesc_lpszFilenameA DD ?
- dpapplicationdesc_lpszFilename DD ?
- ends
- union
- dpapplicationdesc_lpszCommandLineA DD ?
- dpapplicationdesc_lpszCommandLine DD ?
- ends
- union
- dpapplicationdesc_lpszPathA DD ?
- dpapplicationdesc_lpszPath DD ?
- ends
- union
- dpapplicationdesc_lpszCurrentDirectoryA DD ?
- dpapplicationdesc_lpszCurrentDirectory DD ?
- ends
- dpapplicationdesc_lpszDescriptionA DD ?
- dpapplicationdesc_lpszDescriptionW DD ?
- DPAPPLICATIONDESC ends
-
-
-
- ; DirectPlayLobby API Prototypes
- DirectPlayLobbyCreate = DirectPlayLobbyCreateA
- DirectPlayLobbyCreateA PROCDESC STDCALL :DWORD, :DWORD, :DWORD, :DWORD, :DWORD
-
-
- ; IDirectPlayLobby
- ; IUnknown Methods
- DPLQueryInterface = 0
- DPLAddRef = 4
- DPLRelease = 8
- ; IDirectPlayLobby Methods
- DPLConnect = 12
- DPLCreateAddress = 16
- DPLEnumAddress = 20
- DPLEnumAddressTypes = 24
- DPLEnumLocalApplications = 28
- DPLGetConnectionSettings = 32
- DPLReceiveLobbyMessage = 36
- DPLRunApplication = 40
- DPLSendLobbyMessage = 44
- DPLSetConnectionSettings = 48
- DPLSetLobbyMessageEvent = 52
- ; IDirectPlayLobby2 methods
- DPL2CreateCompoundAddress = 56
- ; IDirectPlayLobby3 methods
- DPL3ConnectEx = 60
- DPL3RegisterApplication = 64
- DPL3UnregisterApplication = 68
- DPL3WaitForConnectionSettings = 72
-
-
-
- ; DirectPlayLobby Flags
-
- DPLWAIT_CANCEL = 000000001h;
- DPLAD_SYSTEM = 000000001h
- DPLMSG_STANDARD = 000000002h;
-
- DPLMSG_GENERIC STRUCT
- dplmsg_generic_dwType DD ? ; Message type
- DPLMSG_GENERIC ENDS
-
- DPLMSG_SYSTEMMESSAGE struct
- dplmsg_systemmessage_dwType DD ? ; Message type
- dplmsg_systemmessage_guidInstance GUID ? ; Instance GUID of the dplay session the message corresponds to
- DPLMSG_SYSTEMMESSAGE ends
-
-
- DPLMSG_SETPROPERTY struct
- dplmsg_setproperty_dwType DD ?
- dplmsg_setproperty_dwRequestID DD ?
- dplmsg_setproperty_guidPlayer GUID ?
- dplmsg_setproperty_guidPropertyTag GUID ?
- dplmsg_setproperty_dwDataSize DD ?
- dplmsg_setproperty_dwPropertyData DD 1 DUP (?)
- DPLMSG_SETPROPERTY ends
-
- DPL_NOCONFIRMATION = 0;
-
- DPLMSG_SETPROPERTYRESPONSE struct
- dplmsg_setpropertyresponse_dwType DD ?
- dplmsg_setpropertyresponse_dwRequestID DD ?
- dplmsg_setpropertyresponse_guidPlayer GUID ?
- dplmsg_setpropertyresponse_guidPropertyTag GUID ?
- dplmsg_setpropertyresponse_hr DD ?
- DPLMSG_SETPROPERTYRESPONSE ends
-
- DPLMSG_GETPROPERTY struct
- dplmsg_getproperty_dwType DD ?
- dplmsg_getproperty_dwRequestID DD ?
- dplmsg_getproperty_guidPlayer GUID ?
- dplmsg_getproperty_guidPropertyTag GUID ?
- DPLMSG_GETPROPERTY ends
-
- DPLMSG_GETPROPERTYRESPONSE struct
- dplmsg_getpropertyresponse_dwType DD ?
- dplmsg_getpropertyresponse_dwRequestID DD ?
- dplmsg_getpropertyresponse_guidPlayer GUID ?
- dplmsg_getpropertyresponse_guidPropertyTag GUID ?
- dplmsg_getpropertyresponse_hr DD ?
- dplmsg_getpropertyresponse_dwDataSize DD ?
- dplmsg_getpropertyresponse_dwPropertyData DD 1 DUP (?)
- DPLMSG_GETPROPERTYRESPONSE ends
-
- DPLMSG_NEWSESSIONHOST struct
- dplmsg_newsessionhost_dwType DD ? ; Message type
- dplmsg_newsessionhost_guidInstance GUID ? ; Property GUID
- DPLMSG_NEWSESSIONHOST ends
-
-
-
-
- ; Sytem message dwType values
-
- DPLSYS_CONNECTIONSETTINGSREAD = 00000001h;
- DPLSYS_DPLAYCONNECTFAILED = 00000002h;
- DPLSYS_DPLAYCONNECTSUCCEEDED = 00000003h;
- DPLSYS_APPTERMINATED = 00000004h;
- DPLSYS_SETPROPERTY = 00000005h;
- DPLSYS_SETPROPERTYRESPONSE = 00000006h;
- DPLSYS_GETPROPERTY = 00000007h;
- DPLSYS_GETPROPERTYRESPONSE = 00000008h;
- DPLSYS_NEWSESSIONHOST = 00000009h;
- DPLSYS_NEWCONNECTIONSETTINGS = 0000000Ah;
-
-
-
- DPLPROPERTY_MessagesSupported GUID <0762ccda1h,0d916h,011d0h,0bah,039h,000h,0c0h,04fh,0d7h,0edh,067h>
- DPLPROPERTY_LobbyGuid GUID <0F56920A0h,0D218h,011d0h,0bah,039h,000h,0c0h,04fh,0d7h,0edh,067h>
- DPLPROPERTY_PlayerGuid GUID <0b4319322h,0d20dh,011d0h,0bah,039h,000h,0c0h,04fh,0d7h,0edh,067h>
-
- DPLDATA_PLAYERGUID struct
- dpldata_playerguid_guidPlayer GUID ?
- dpldata_playerguid_dwPlayerFlags DD ?
- DPLDATA_PLAYERGUID end
-
- DPLPROPERTY_PlayerScore GUID <048784000h,0d219h,011d0h,0bah,039h,000h,0c0h,04fh,0d7h,0edh,067h>
-
- DPLDATA_PLAYERSCORE struct
- dpldata_playerscore_dwScoreCount DD ?
- dpldata_playerscore_Score DD 1 DUP (?)
- DPLDATA_PLAYERSCORE ends
-
-
- ; DirectPlay Address ID's
-
- DPADDRESS SRUCT
- dpaddress_guidDataType GUID ?
- dpaddress_dwDataSize DD ?
- DPADDRESS ENDS
-
- ;DPAID_ServiceProvider ect...
-
- DPAID_TotalSize GUID <01318f560h,0912ch,011d0h,09dh,0aah,000h,0a0h,0c9h,00ah,043h,0cbh>
- DPAID_ServiceProvider GUID <007d916c0h,0e0afh,011cfh,09ch,04eh,000h,0a0h,0c9h,005h,042h,05eh>
- DPAID_LobbyProvider GUID <059b95640h,09667h,011d0h,0a7h,07dh,000h,000h,0f8h,003h,0abh,0fch>
- DPAID_Phone GUID <078ec89a0h,0e0afh,011cfh,09ch,04eh,000h,0a0h,0c9h,005h,042h,05eh>
- DPAID_PhoneW GUID <0ba5a7a70h,09dbfh,011d0h,09ch,0c1h,000h,0a0h,0c9h,005h,042h,05eh>
- DPAID_Modem GUID <0f6dcc200h,0a2feh,011d0h,09ch,04fh,000h,0a0h,0c9h,005h,042h,05eh>
- DPAID_ModemW GUID <001fd92e0h,0a2ffh,011d0h,09ch,04fh,000h,0a0h,0c9h,005h,042h,05eh>
- DPAID_INet GUID <0c4a54da0h,0e0afh,011cfh,09ch,04eh,000h,0a0h,0c9h,005h,042h,05eh>
- DPAID_INetW GUID <0e63232a0h,09dbfh,011d0h,09ch,0c1h,000h,0a0h,0c9h,005h,042h,05eh>
- DPAID_INetPort GUID <0e4524541h,08ea5h,011d1h,08ah,096h,000h,060h,097h,0b0h,014h,011h>
- DPAID_MaxMessageSize GUID <0f5d09980h,0f0c4h,011d1h,083h,026h,000h,060h,097h,0b0h,014h,011h>
-
-
- DPCPA_NOFLOW = 0 ; no flow control
- DPCPA_XONXOFFFLOW = 1 ; software flow control
- DPCPA_RTSFLOW = 2 ; hardware flow control with RTS
- DPCPA_DTRFLOW = 3 ; hardware flow control with DTR
- DPCPA_RTSDTRFLOW = 4 ; hardware flow control with RTS and DTR
-
- DPCOMPORTADDRESS STRUCT
- dpcomportaddress_dwComPort DD ? ; COM port to use (1-4)
- dpcomportaddress_dwBaudRate DD ? ; baud rate (100-256k)
- dpcomportaddress_dwStopBits DD ? ; no. stop bits (1-2)
- dpcomportaddress_dwParity DD ? ; parity (none, odd, even, mark)
- dpcomportaddress_dwFlowControl DD ? ; flow control (none, xon/xoff, rts, dtr)
- DPCOMPORTADDRESS ENDS
-
-
- DPAID_ComPort GUID <0f2f0ce00h,0e0afh,011cfh,09ch,04eh,00h,0a0h,0c9h,05,042h,05eh>
-
- ; ****************************************************************************
- ; *
- ; * dplobby 1.0 obsolete definitions
- ; * NOT Included.
- ; *
- ; ****************************************************************************
-
-
- ;end of file
-