home *** CD-ROM | disk | FTP | other *** search
- ; tdplay.inc (c) Minde 06/08/99 montana@is.lt
- ; Content: TASM DirectPlay include file ver. 1.2
- ; converted from dsetup.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_IDirectPlay2W GUID <02b74f7c0h,09154h,011cfh,0a9h,0cdh,000h,0aah,000h,068h,086h,0e3h>
- IID_IDirectPlay2A GUID <09d460580h,0a822h,011cfh,096h,00ch,000h,080h,0c7h,053h,04eh,082h>
- IID_IDirectPlay3W GUID <0133efe40h,032dch,011d0h,09ch,0fbh,000h,0a0h,0c9h,00ah,043h,0cbh>
- IID_IDirectPlay3A GUID <0133efe41h,032dch,011d0h,09ch,0fbh,000h,0a0h,0c9h,00ah,043h,0cbh>
- IID_IDirectPlay4W GUID <00ab1c530h,04745h,011d1h,0a7h,0a1h,000h,000h,0f8h,003h,0abh,0fch>
- IID_IDirectPlay4A GUID <00ab1c531h,04745h,011d1h,0a7h,0a1h,000h,000h,0f8h,003h,0abh,0fch>
-
- CLSID_DirectPlay GUID <0d1eb6d20h,08923h,011d0h,09dh,097h,000h,0a0h,0c9h,00ah,043h,0cbh>
- IID_IDirectPlay GUID <05454e9a0h,0db65h,011ceh,092h,01ch,000h,0aah,000h,06ch,049h,072h>
-
- DPSPGUID_IPX GUID <0685bc400h,09d2ch,011cfh,0a9h,0cdh,000h,0aah,000h,068h,086h,0e3h>
- DPSPGUID_TCPIP GUID <036E95EE0h,08577h,011cfh,096h,00ch,000h,080h,0c7h,053h,04eh,082h>
- DPSPGUID_SERIAL GUID <00f1d6860h,088d9h,011cfh,09ch,04eh,000h,0a0h,0c9h,005h,042h,05eh>
- DPSPGUID_MODEM GUID <044eaa760h,0cb68h,011cfh,09ch,04eh,000h,0a0h,0c9h,005h,042h,05eh>
-
-
- DPID typedef DWORD
-
- DPID_SYSMSG = 0
- DPID_ALLPLAYERS = 0
- DPID_SERVERPLAYER = 1;
- DPID_RESERVEDRANGE = 100;
- DPID_UNKNOWN = 0FFFFFFFFh;
-
-
- DPCAPS STRUCT
- dpcaps_dwSize DD ? ; Size of structure, in bytes
- dpcaps_dwFlags DD ? ; DPCAPS_xxx flags
- dpcaps_dwMaxBufferSize DD ? ; Maximum message size, in bytes, for this service provider
- dpcaps_dwMaxQueueSize DD ? ; Obsolete.
- dpcaps_dwMaxPlayers DD ? ; Maximum players/groups (local + remote)
- dpcaps_dwHundredBaud DD ? ; Bandwidth in 100 bits per second units, i.e. 24 is 2400, 96 is 9600, etc.
- dpcaps_dwLatency DD ? ; Estimated latency; 0 = unknown
- dpcaps_dwMaxLocalPlayers DD ? ; Maximum # of locally created players allowed
- dpcaps_dwHeaderLength DD ? ; Maximum header length, in bytes, on messages added by the service provider
- dpcaps_dwTimeout DD ? ; Service provider's suggested timeout value. This is how long DirectPlay will wait for responses to system messages
- DPCAPS ENDS
-
-
- DPCAPS_ISHOST = 000000002h
- DPCAPS_GROUPOPTIMIZED = 000000008h
- DPCAPS_KEEPALIVEOPTIMIZED = 000000010h
- DPCAPS_GUARANTEEDOPTIMIZED = 000000020h
- DPCAPS_GUARANTEEDSUPPORTED = 000000040h
- DPCAPS_SIGNINGSUPPORTED = 000000080h;
- DPCAPS_ENCRYPTIONSUPPORTED = 000000100h;
- DPPLAYERCAPS_LOCAL = 000000800h;
- DPCAPS_ASYNCCANCELSUPPORTED = 000001000h;
- DPCAPS_ASYNCCANCELALLSUPPORTED = 000002000h;
- DPCAPS_SENDTIMEOUTSUPPORTED = 000004000h;
- DPCAPS_SENDPRIORITYSUPPORTED = 000008000h;
- DPCAPS_ASYNCSUPPORTED = 000010000h;
-
-
- DPSESSIONDESC2 STRUCT
- dpsessiondesc2_dwSize DD ? ; Size of structure
- dpsessiondesc2_dwFlags DD ? ; DPSESSION_xxx flags
- dpsessiondesc2_guidInstance GUID ? ; ID for the session instance
- dpsessiondesc2_guidApplication GUID ? ; GUID of the DirectPlay application. GUID_NULL for all applications.
- dpsessiondesc2_dwMaxPlayers DD ? ; Maximum # players allowed in session
- dpsessiondesc2_dwCurrentPlayers DD ? ; Current # players in session (read only)
- union ; Name of the session
- dpsessiondesc2_lpszSessionName DD ? ; Unicode
- dpsessiondesc2_lpszSessionNameA DD ? ; ANSI
- ends
- union ; Password of the session (optional)
- dpsessiondesc2_lpszPassword DD ? ; Unicode
- dpsessiondesc2_lpszPasswordA DD ? ; ANSI
- ends
- dpsessiondesc2_dwReserved1 DD ? ; Reserved for future MS use.
- dpsessiondesc2_dwReserved2 DD ?
- dpsessiondesc2_dwUser1 DD ? ; For use by the application
- dpsessiondesc2_dwUser2 DD ?
- dpsessiondesc2_dwUser3 DD ?
- dpsessiondesc2_dwUser4 DD ?
- DPSESSIONDESC2 ENDS
-
- DPSESSION_NEWPLAYERSDISABLED = 000000001h
- DPSESSION_MIGRATEHOST = 000000004h
- DPSESSION_NOMESSAGEID = 000000008h
- DPSESSION_JOINDISABLED = 000000020h
- DPSESSION_KEEPALIVE = 000000040h
- DPSESSION_NODATAMESSAGES = 000000080h
- DPSESSION_SECURESERVER = 000000100h;
- DPSESSION_PRIVATE = 000000200h;
- DPSESSION_PASSWORDREQUIRED = 000000400h;
- DPSESSION_MULTICASTSERVER = 000000800h;
- DPSESSION_CLIENTSERVER = 000001000h;
- DPSESSION_DIRECTPLAYPROTOCOL = 000002000h;
- DPSESSION_NOPRESERVEORDER = 000004000h;
- DPSESSION_OPTIMIZELATENCY = 000008000h;
-
-
-
- DPNAME STRUCT
- dpname_dwSize DD ? ; Size of structure
- dpname_dwFlags DD ? ; Not used. Must be zero.
- union ; The short or friendly name
- dpname_lpszShortName DD ? ; Unicode
- dpname_lpszShortNameA DD ? ; ANSI
- ends
- union ; The long or formal name
- dpname_lpszLongName DD ? ; Unicode
- dpname_lpszLongNameA DD ? ; ANSI
- ends
- DPNAME ENDS
-
-
- DPCREDENTIALS struct
- dpcredentials_dwSize DD ?
- dpcredentials_dwFlags DD ?
- union
- dpcredentials_lpszUsername DD ?
- dpcredentials_lpszUsernameA DD ?
- ends
- union
- dpcredentials_lpszPassword DD ?
- dpcredentials_lpszPasswordA DD ?
- ends
- union
- dpcredentials_lpszDomain DD ?
- dpcredentials_lpszDomainA DD ?
- ends
- DPCREDENTIALS ends
-
-
- DPSECURITYDESC struct
- dpsecuritydesc_dwSize DD ?
- dpsecuritydesc_dwFlags DD ?
- union
- dpsecuritydesc_lpszSSPIProvider DD ?
- dpsecuritydesc_lpszSSPIProviderA DD ?
- ends
- union
- dpsecuritydesc_lpszCAPIProvider DD ?
- dpsecuritydesc_lpszCAPIProviderA DD ?
- ends
- dpsecuritydesc_dwCAPIProviderType DD ?
- dpsecuritydesc_dwEncryptionAlgorithm DD ?
- DPSECURITYDESC ends
-
-
- DPACCOUNTDESC struct
- dpaccountdesc_dwSize DD ?
- dpaccountdesc_dwFlags DD ?
- union
- dpaccountdesc_lpszAccountID DD ?
- dpaccountdesc_lpszAccountIDA DD ?
- ends
- DPACCOUNTDESC ends
-
-
- DPLCONNECTION struct
- dplconnection_dwSize DD ?
- dplconnection_dwFlags DD ?
- dplconnection_lpSessionDesc DD ?
- dplconnection_lpPlayerName DD ?
- dplconnection_guidSP GUID ?
- dplconnection_lpAddress DD ?
- dplconnection_dwAddressSize DD ?
- DPLCONNECTION ends
-
- DPCHAT struct
- dpchat_dwSize DD ?
- dpchat_dwFlags DD ?
- union
- dpchat_lpszMessage DD ?
- dpchat_lpszMessageA DD ?
- ends
- DPCHAT ends
-
- SGBUFFER struct
- sgbuffer_len DD ?
- sgbuffer_pData DD ?
- SGBUFFER ends
-
-
-
- DPESC_TIMEDOUT = 000000001h
-
- ; API's
- DirectPlayEnumerate = DirectPlayEnumerateA
- DirectPlayEnumerateA PROCDESC STDCALL, :DWORD, :DWORD
- DirectPlayCreate PROCDESC STDCALL, :DWORD, :DWORD, :DWORD
-
-
- ; IDirectPlay2
- ; IUnknown methods
- DP2QueryInterface = 0
- DP2AddRef = 4
- DP2Release = 8
- ; IDirectPlay2 methods
- DP2AddPlayerToGroup = 12
- DP2Close = 16
- DP2CreateGroup = 20
- DP2CreatePlayer = 24
- DP2DeletePlayerFromGroup = 28
- DP2DestroyGroup = 32
- DP2DestroyPlayer = 36
- DP2EnumGroupPlayers = 40
- DP2EnumGroups = 44
- DP2EnumPlayers = 48
- DP2EnumSessions = 52
- DP2GetCaps = 56
- DP2GetGroupData = 60
- DP2GetGroupName = 64
- DP2GetMessageCount = 68
- DP2GetPlayerAddress = 72
- DP2GetPlayerCaps = 76
- DP2GetPlayerData = 80
- DP2GetPlayerName = 84
- DP2GetSessionDesc = 88
- DP2Initialize = 92
- DP2Open = 96
- DP2Receive = 100
- DP2Send = 104
- DP2SetGroupData = 108
- DP2SetGroupName = 112
- DP2SetPlayerData = 116
- DP2SetPlayerName = 120
- DP2SetSessionDesc = 124
- ; IDirectPlay3 methods
- DP3AddGroupToGroup = 128
- DP3CreateGroupInGroup = 132
- DP3DeleteGroupFromGroup = 136
- DP3EnumConnections = 140
- DP3EnumGroupsInGroup = 144
- DP3GetGroupConnectionSettings = 148
- DP3InitializeConnection = 152
- DP3SecureOpen = 156
- DP3SendChatMessage = 160
- DP3SetGroupConnectionSettings = 164
- DP3StartSession = 168
- DP3GetGroupFlags = 172
- DP3GetGroupParent = 176
- DP3GetPlayerAccount = 180
- DP3GetPlayerFlags = 184
- ; IDirectPlay4 methods
- DP4GetGroupOwner = 188
- DP4SetGroupOwner = 192
- DP4SendEx(idFrom = 196
- DP4GetMessageQueue = 200
- DP4CancelMessage = 204
- DP4CancelPriority = 208
-
-
- ; EnumConnections API flags
-
- DPCONNECTION_DIRECTPLAY = 00000001h;
- DPCONNECTION_DIRECTPLAYLOBBY = 00000002h;
-
- ; EnumPlayers API flags
-
- DPENUMPLAYERS_ALL = 000000000h
- DPENUMGROUPS_ALL = DPENUMPLAYERS_ALL;
- DPENUMPLAYERS_LOCAL = 000000008h
- DPENUMGROUPS_LOCAL = DPENUMPLAYERS_LOCAL;
- DPENUMPLAYERS_REMOTE = 000000010h
- DPENUMGROUPS_REMOTE = DPENUMPLAYERS_REMOTE;
- DPENUMPLAYERS_GROUP = 000000020h
- DPENUMPLAYERS_SESSION = 000000080h
- DPENUMGROUPS_SESSION = DPENUMPLAYERS_SESSION;
- DPENUMPLAYERS_SERVERPLAYER = 000000100h;
- DPENUMPLAYERS_SPECTATOR = 000000200h;
- DPENUMGROUPS_SHORTCUT = 000000400h;
- DPENUMGROUPS_STAGINGAREA = 000000800h;
- DPENUMGROUPS_HIDDEN = 000001000h;
- DPENUMPLAYERS_OWNER = 000002000h;
-
- DPPLAYER_SERVERPLAYER = DPENUMPLAYERS_SERVERPLAYER;
- DPPLAYER_SPECTATOR = DPENUMPLAYERS_SPECTATOR;
- DPPLAYER_LOCAL = DPENUMPLAYERS_LOCAL;
- DPPLAYER_OWNER = DPENUMPLAYERS_OWNER;
-
- DPGROUP_STAGINGAREA = DPENUMGROUPS_STAGINGAREA;
- DPGROUP_LOCAL = DPENUMGROUPS_LOCAL;
- DPGROUP_HIDDEN = DPENUMGROUPS_HIDDEN;
-
- DPENUMSESSIONS_AVAILABLE = 000000001h
- DPENUMSESSIONS_ALL = 000000002h
- DPENUMSESSIONS_ASYNC = 000000010h;
- DPENUMSESSIONS_STOPASYNC = 000000020h;
- DPENUMSESSIONS_PASSWORDREQUIRED = 000000040h;
- DPENUMSESSIONS_RETURNSTATUS = 000000080h;
-
- DPGETCAPS_GUARANTEED = 000000001h
- DPGET_REMOTE = 000000000h
- DPGET_LOCAL = 000000001h
-
- DPOPEN_JOIN = 000000001h
- DPOPEN_CREATE = 000000002h
- DPOPEN_RETURNSTATUS = DPENUMSESSIONS_RETURNSTATUS;
-
- DPLCONNECTION_CREATESESSION = DPOPEN_CREATE;
- DPLCONNECTION_JOINSESSION = DPOPEN_JOIN;
-
- DPRECEIVE_ALL = 000000001h
- DPRECEIVE_TOPLAYER = 000000002h
- DPRECEIVE_FROMPLAYER = 000000004h
- DPRECEIVE_PEEK = 000000008h
-
- DPSEND_GUARANTEED = 000000001h
- DPSEND_HIGHPRIORITY = 000000002h
- DPSEND_OPENSTREAM = 000000008h
- DPSEND_CLOSESTREAM = 000000010h
- DPSEND_SIGNED = 000000020h;
- DPSEND_ENCRYPTED = 000000040h;
- DPSEND_LOBBYSYSTEMMESSAGE = 000000080h;
- DPSEND_ASYNC = 000000200h;
- DPSEND_NOSENDCOMPLETEMSG = 000000400h;
- DPSEND_MAX_PRI = 00000FFFFh;
- DPSEND_MAX_PRIORITY = DPSEND_MAX_PRI;
-
- DPSET_REMOTE = 000000000h
- DPSET_LOCAL = 000000001h
- DPSET_GUARANTEED = 000000002h
-
- DPMESSAGEQUEUE_SEND = 000000001h;
- DPMESSAGEQUEUE_RECEIVE = 000000002h;
-
- DPCONNECT_RETURNSTATUS = DPENUMSESSIONS_RETURNSTATUS;
-
-
- ; DirectPlay system messages and message data structures
-
- DPSYS_CREATEPLAYERORGROUP = 00003h
- DPSYS_DESTROYPLAYERORGROUP = 00005h
- DPSYS_ADDPLAYERTOGROUP = 00007h
- DPSYS_DELETEPLAYERFROMGROUP = 00021h
- DPSYS_SESSIONLOST = 00031h
- DPSYS_HOST = 00101h
- DPSYS_SETPLAYERORGROUPDATA = 00102h
- DPSYS_SETPLAYERORGROUPNAME = 00103h
- DPSYS_SETSESSIONDESC = 00104h;
- DPSYS_ADDGROUPTOGROUP = 00105h;
- DPSYS_DELETEGROUPFROMGROUP = 00106h;
- DPSYS_SECUREMESSAGE = 00107h;
- DPSYS_STARTSESSION = 00108h;
- DPSYS_CHAT = 00109h;
- DPSYS_SETGROUPOWNER = 0010Ah;
- DPSYS_SENDCOMPLETE = 0010Dh;
-
- DPPLAYERTYPE_GROUP = 000000000h
- DPPLAYERTYPE_PLAYER = 000000001h
-
- DPMSG_GENERIC STRUCT
- dpmsg_generic_dwType DD ? ; Message type
- DPMSG_GENERIC ENDS
-
- DPMSG_CREATEPLAYERORGROUP STRUCT
- dpmsg_createplayerorgroup_dwType DD ? ; Message type
- dpmsg_createplayerorgroup_dwPlayerType DD ? ; Is it a player or group
- dpmsg_createplayerorgroup_dpId DPID ? ; ID of the player or group
- dpmsg_createplayerorgroup_dwCurrentPlayers DD ? ; current # players & groups in session
- dpmsg_createplayerorgroup_lpData DD ? ; pointer to remote data
- dpmsg_createplayerorgroup_dwDataSize DD ? ; size of remote data
- dpmsg_createplayerorgroup_dpnName DPNAME ? ; structure with name info
- DPMSG_CREATEPLAYERORGROUP ENDS
-
- DPMSG_DESTROYPLAYERORGROUP STRUCT
- dpmsg_destroyplayerorgroup_dwType DD ? ; Message type
- dpmsg_destroyplayerorgroup_dwPlayerType DD ? ; Is it a player or group
- dpmsg_destroyplayerorgroup_dpId DPID ? ; player ID being deleted
- dpmsg_destroyplayerorgroup_lpLocalData DD ? ; copy of players local data
- dpmsg_destroyplayerorgroup_dwLocalDataSize DD ? ; sizeof local data
- dpmsg_destroyplayerorgroup_lpRemoteData DD ? ; copy of players remote data
- dpmsg_destroyplayerorgroup_dwRemoteDataSize DD ? ; sizeof remote data
- DPMSG_DESTROYPLAYERORGROUP ENDS
-
-
- DPMSG_ADDPLAYERTOGROUP STRUCT
- dpmsg_addplayertogroup_dwType DD ? ; Message type
- dpmsg_addplayertogroup_dpIdGroup DPID ? ; group ID being added to
- dpmsg_addplayertogroup_dpIdPlayer DPID ? ; player ID being added
- DPMSG_ADDPLAYERTOGROUP ENDS
-
- DPMSG_DELETEPLAYERFROMGROUP typedef DPMSG_ADDPLAYERTOGROUP
-
-
- DPMSG_ADDGROUPTOGROUP struct
- dpmsg_addgrouptogroup_dwType DD ? ; Message type
- dpmsg_addgrouptogroup_dpIdParentGroup DPID ? ; group ID being added to
- dpmsg_addgrouptogroup_dpIdGroup DPID ? ; group ID being added
- DPMSG_ADDGROUPTOGROUP ends
-
- DPMSG_DELETEGROUPFROMGROUP typedef DPMSG_ADDGROUPTOGROUP
-
-
- DPMSG_SETPLAYERORGROUPDATA STRUCT
- dpmsg_setplayerorgroupdata_dwType DD ? ; Message type
- dpmsg_setplayerorgroupdata_dwPlayerType DD ? ; Is it a player or group
- dpmsg_setplayerorgroupdata_dpId DPID ? ; ID of player or group
- dpmsg_setplayerorgroupdata_lpData DD ? ; pointer to remote data
- dpmsg_setplayerorgroupdata_dwDataSize DD ? ; size of remote data
- DPMSG_SETPLAYERORGROUPDATA ENDS
-
- DPMSG_SETPLAYERORGROUPNAME STRUCT
- dpmsg_setplayerorgroupname_dwType DD ? ; Message type
- dpmsg_setplayerorgroupname_dwPlayerType DD ? ; Is it a player or group
- dpmsg_setplayerorgroupname_dpId DPID ? ; ID of player or group
- dpmsg_setplayerorgroupname_dpnName DPNAME ? ; structure with new name info
- DPMSG_SETPLAYERORGROUPNAME ENDS
-
-
- DPMSG_SETSESSIONDESC struct
- dpmsg_setsessiondesc_dwType DD ? ; Message type
- dpmsg_setsessiondesc_dpDesc DD ? ; Session desc
- DPMSG_SETSESSIONDESC ends
-
- DPMSG_HOST typedef DPMSG_GENERIC
- DPMSG_SESSIONLOST typedef DPMSG_GENERIC
-
- DPMSG_SECUREMESSAGE struct
- dpmsg_securemessage_dwType DD ? ; Message Type
- dpmsg_securemessage_dwFlags DD ? ; Signed/Encrypted
- dpmsg_securemessage_dpIdFrom DPID ? ; ID of Sending Player
- dpmsg_securemessage_lpData DD ? ; Player message
- dpmsg_securemessage_dwDataSize DD ? ; Size of player message
- DPMSG_SECUREMESSAGE ends
-
-
- DPMSG_STARTSESSION struct
- dpmsg_startsession_dwType DD ? ; Message type
- dpmsg_startsession_lpConn DD ? ; DPLConnection structure
- DPMSG_STARTSESSION ends
-
-
- DPMSG_CHAT struct
- dpmsg_chat_dwType DD ? ; Message type
- dpmsg_chat_dwFlags DD ? ; Message flags
- dpmsg_chat_idFromPlayer DPID ? ; ID of the Sending Player
- dpmsg_chat_idToPlayer DPID ? ; ID of the To Player
- dpmsg_chat_idToGroup DPID ? ; ID of the To Group
- dpmsg_chat_lpChat DD ? ; Pointer to a structure containing the chat message
- DPMSG_CHAT ends
-
- DPMSG_SETGROUPOWNER struct
- dpmsg_setgroupowner_dwType DWORD ? ; Message type
- dpmsg_setgroupowner_idGroup DPID ? ; ID of the group
- dpmsg_setgroupowner_idNewOwner DPID ? ; ID of the player that is the new owner
- dpmsg_setgroupowner_idOldOwner DPID ? ; ID of the player that used to be the owner
- DPMSG_SETGROUPOWNER ends
-
- DPMSG_SENDCOMPLETE struct
- dpmsg_sendcomplete_dwType DD ? ; // Message type
- dpmsg_sendcomplete_idFrom DPID ? ;
- dpmsg_sendcomplete_idTo DPID ? ;
- dpmsg_sendcomplete_dwFlags DD ?
- dpmsg_sendcomplete_dwPriority DD ?
- dpmsg_sendcomplete_dwTimeout DD ?
- dpmsg_sendcomplete_lpvContext DD ?
- dpmsg_sendcomplete_dwMsgID DD ?
- dpmsg_sendcomplete_hr DD ?
- dpmsg_sendcomplete_dwSendTime DD ?
- DPMSG_SENDCOMPLETE ends
-
-
-
- ; DIRECTPLAY ERRORS
-
-
- MAKE_DPHRESULT = 088770000h;
- DP_OK = S_OK;
- DPERR_ALREADYINITIALIZED = MAKE_DPHRESULT + 5;
- DPERR_ACCESSDENIED = MAKE_DPHRESULT + 10;
- DPERR_ACTIVEPLAYERS = MAKE_DPHRESULT + 20;
- DPERR_BUFFERTOOSMALL = MAKE_DPHRESULT + 30;
- DPERR_CANTADDPLAYER = MAKE_DPHRESULT + 40;
- DPERR_CANTCREATEGROUP = MAKE_DPHRESULT + 50;
- DPERR_CANTCREATEPLAYER = MAKE_DPHRESULT + 60;
- DPERR_CANTCREATESESSION = MAKE_DPHRESULT + 70;
- DPERR_CAPSNOTAVAILABLEYET = MAKE_DPHRESULT + 80;
- DPERR_EXCEPTION = MAKE_DPHRESULT + 90;
- DPERR_GENERIC = E_FAIL;
- DPERR_INVALIDFLAGS = MAKE_DPHRESULT + 120;
- DPERR_INVALIDOBJECT = MAKE_DPHRESULT + 130;
- DPERR_INVALIDPARAM = E_INVALIDARG;
- DPERR_INVALIDPARAMS = DPERR_INVALIDPARAM;
- DPERR_INVALIDPLAYER = MAKE_DPHRESULT + 150;
- DPERR_INVALIDGROUP = MAKE_DPHRESULT + 155;
- DPERR_NOCAPS = MAKE_DPHRESULT + 160;
- DPERR_NOCONNECTION = MAKE_DPHRESULT + 170;
- DPERR_NOMEMORY = E_OUTOFMEMORY;
- DPERR_OUTOFMEMORY = DPERR_NOMEMORY;
- DPERR_NOMESSAGES = MAKE_DPHRESULT + 190;
- DPERR_NONAMESERVERFOUND = MAKE_DPHRESULT + 200;
- DPERR_NOPLAYERS = MAKE_DPHRESULT + 210;
- DPERR_NOSESSIONS = MAKE_DPHRESULT + 220;
- DPERR_PENDING = E_PENDING;
- DPERR_SENDTOOBIG = MAKE_DPHRESULT + 230;
- DPERR_TIMEOUT = MAKE_DPHRESULT + 240;
- DPERR_UNAVAILABLE = MAKE_DPHRESULT + 250;
- DPERR_UNSUPPORTED = E_NOTIMPL;
- DPERR_BUSY = MAKE_DPHRESULT + 270;
- DPERR_USERCANCEL = MAKE_DPHRESULT + 280;
- DPERR_NOINTERFACE = E_NOINTERFACE;
- DPERR_CANNOTCREATESERVER = MAKE_DPHRESULT + 290;
- DPERR_PLAYERLOST = MAKE_DPHRESULT + 300;
- DPERR_SESSIONLOST = MAKE_DPHRESULT + 310;
- DPERR_UNINITIALIZED = MAKE_DPHRESULT + 320;
- DPERR_NONEWPLAYERS = MAKE_DPHRESULT + 330;
- DPERR_INVALIDPASSWORD = MAKE_DPHRESULT + 340;
- DPERR_CONNECTING = MAKE_DPHRESULT + 350;
- DPERR_CONNECTIONLOST = MAKE_DPHRESULT + 360;
- DPERR_UNKNOWNMESSAGE = MAKE_DPHRESULT + 370;
- DPERR_CANCELFAILED = MAKE_DPHRESULT + 380;
- DPERR_INVALIDPRIORITY = MAKE_DPHRESULT + 390;
- DPERR_NOTHANDLED = MAKE_DPHRESULT + 400;
- DPERR_CANCELLED = MAKE_DPHRESULT + 410;
- DPERR_ABORTED = MAKE_DPHRESULT + 420;
-
- DPERR_BUFFERTOOLARGE = MAKE_DPHRESULT + 1000;
- DPERR_CANTCREATEPROCESS = MAKE_DPHRESULT + 1010;
- DPERR_APPNOTSTARTED = MAKE_DPHRESULT + 1020;
- DPERR_INVALIDINTERFACE = MAKE_DPHRESULT + 1030;
- DPERR_NOSERVICEPROVIDER = MAKE_DPHRESULT + 1040;
- DPERR_UNKNOWNAPPLICATION = MAKE_DPHRESULT + 1050;
- DPERR_NOTLOBBIED = MAKE_DPHRESULT + 1070;
- DPERR_SERVICEPROVIDERLOADED = MAKE_DPHRESULT + 1080;
- DPERR_ALREADYREGISTERED = MAKE_DPHRESULT + 1090;
- DPERR_NOTREGISTERED = MAKE_DPHRESULT + 1100;
-
- ; Security related errors
-
- DPERR_AUTHENTICATIONFAILED = MAKE_DPHRESULT + 2000;
- DPERR_CANTLOADSSPI = MAKE_DPHRESULT + 2010;
- DPERR_ENCRYPTIONFAILED = MAKE_DPHRESULT + 2020;
- DPERR_SIGNFAILED = MAKE_DPHRESULT + 2030;
- DPERR_CANTLOADSECURITYPACKAGE = MAKE_DPHRESULT + 2040;
- DPERR_ENCRYPTIONNOTSUPPORTED = MAKE_DPHRESULT + 2050;
- DPERR_CANTLOADCAPI = MAKE_DPHRESULT + 2060;
- DPERR_NOTLOGGEDIN = MAKE_DPHRESULT + 2070;
- DPERR_LOGONDENIED = MAKE_DPHRESULT + 2080;
-
- ;****************************************************************************
- ; *
- ; * dplay 1.0 obsolete structures + interfaces
- ; * NOT Included. New apps should use IDirectPlay2
- ; *
- ; ****************************************************************************
-
- ;end of file
-