亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dplay.h

?? Direct8.1SDK 游戲編程必備SDK 8.1版適用范圍廣些
?? H
?? 第 1 頁 / 共 5 頁
字號:
/*==========================================================================;
 *
 *  Copyright (C) 1994-1997 Microsoft Corporation.  All Rights Reserved.
 *
 *  File:       dplay.h
 *  Content:    DirectPlay include file
 *
 ***************************************************************************/

#ifndef __DPLAY_INCLUDED__
#define __DPLAY_INCLUDED__

#include <ole2.h>       // for DECLARE_INTERFACE and HRESULT

/* avoid warnings in MSVC at Level4 */
#pragma warning(disable:4201)


/*
 * Some types
 */

#ifndef _WIN64
#define DWORD_PTR DWORD
#endif

typedef LPVOID (*LPRGLPVOID)[];
typedef LPRGLPVOID PRGPVOID, LPRGPVOID, PRGLPVOID, PAPVOID, LPAPVOID, PALPVOID, LPALPVOID;

#define VOL volatile
typedef VOID *VOL LPVOIDV;


#define _FACDP  0x877
#define MAKE_DPHRESULT( code )    MAKE_HRESULT( 1, _FACDP, code )

#ifdef __cplusplus
extern "C" {
#endif

/*
 * GUIDS used by DirectPlay objects
 */
DEFINE_GUID(IID_IDirectPlay2, 0x2b74f7c0, 0x9154, 0x11cf, 0xa9, 0xcd, 0x0, 0xaa, 0x0, 0x68, 0x86, 0xe3);
DEFINE_GUID(IID_IDirectPlay2A,0x9d460580, 0xa822, 0x11cf, 0x96, 0xc, 0x0, 0x80, 0xc7, 0x53, 0x4e, 0x82);

DEFINE_GUID(IID_IDirectPlay3, 0x133efe40, 0x32dc, 0x11d0, 0x9c, 0xfb, 0x0, 0xa0, 0xc9, 0xa, 0x43, 0xcb);
DEFINE_GUID(IID_IDirectPlay3A,0x133efe41, 0x32dc, 0x11d0, 0x9c, 0xfb, 0x0, 0xa0, 0xc9, 0xa, 0x43, 0xcb);

DEFINE_GUID(IID_IDirectPlay4, 0xab1c530, 0x4745, 0x11d1, 0xa7, 0xa1, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc);
DEFINE_GUID(IID_IDirectPlay4A,0xab1c531, 0x4745, 0x11d1, 0xa7, 0xa1, 0x0, 0x0, 0xf8, 0x3, 0xab, 0xfc);

// {D1EB6D20-8923-11d0-9D97-00A0C90A43CB}
DEFINE_GUID(CLSID_DirectPlay,0xd1eb6d20, 0x8923, 0x11d0, 0x9d, 0x97, 0x0, 0xa0, 0xc9, 0xa, 0x43, 0xcb);

/*
 * GUIDS used by Service Providers shipped with DirectPlay
 * Use these to identify Service Provider returned by EnumConnections
 */

// GUID for IPX service provider
// {685BC400-9D2C-11cf-A9CD-00AA006886E3}
DEFINE_GUID(DPSPGUID_IPX, 
0x685bc400, 0x9d2c, 0x11cf, 0xa9, 0xcd, 0x0, 0xaa, 0x0, 0x68, 0x86, 0xe3);

// GUID for TCP/IP service provider
// 36E95EE0-8577-11cf-960C-0080C7534E82
DEFINE_GUID(DPSPGUID_TCPIP,
0x36E95EE0, 0x8577, 0x11cf, 0x96, 0xc, 0x0, 0x80, 0xc7, 0x53, 0x4e, 0x82);

// GUID for Serial service provider
// {0F1D6860-88D9-11cf-9C4E-00A0C905425E}
DEFINE_GUID(DPSPGUID_SERIAL,						
0xf1d6860, 0x88d9, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);

// GUID for Modem service provider
// {44EAA760-CB68-11cf-9C4E-00A0C905425E}
DEFINE_GUID(DPSPGUID_MODEM,
0x44eaa760, 0xcb68, 0x11cf, 0x9c, 0x4e, 0x0, 0xa0, 0xc9, 0x5, 0x42, 0x5e);

/****************************************************************************
 *
 * DirectPlay Structures
 *
 * Various structures used to invoke DirectPlay.
 *
 ****************************************************************************/

#ifndef IDIRECTPLAY2_OR_GREATER
typedef struct IDirectPlay        FAR *LPDIRECTPLAY;
#else
typedef struct IUnknown           FAR *LPDIRECTPLAY;
#endif

typedef struct IDirectPlay2       FAR *LPDIRECTPLAY2;
typedef struct IDirectPlay2       FAR *LPDIRECTPLAY2A;
typedef struct IDirectPlay2       IDirectPlay2A;

typedef struct IDirectPlay3       FAR *LPDIRECTPLAY3;
typedef struct IDirectPlay3       FAR *LPDIRECTPLAY3A;
typedef struct IDirectPlay3       IDirectPlay3A;

typedef struct IDirectPlay4       FAR *LPDIRECTPLAY4;
typedef struct IDirectPlay4       FAR *LPDIRECTPLAY4A;
typedef struct IDirectPlay4       IDirectPlay4A;

/*
 * DPID
 * DirectPlay player and group ID
 */
typedef DWORD DPID, FAR *LPDPID;

/*
 * DPID that system messages come from
 */
#define DPID_SYSMSG         0

/*
 * DPID representing all players in the session
 */
#define DPID_ALLPLAYERS     0

/*
 * DPID representing the server player
 */
#define DPID_SERVERPLAYER	1


/*
 * DPID representing the maxiumum ID in the range of DPID's reserved for
 * use by DirectPlay.
 */
#define DPID_RESERVEDRANGE     100

/*
 * The player ID is unknown (used with e.g. DPSESSION_NOMESSAGEID)
 */
#define DPID_UNKNOWN		0xFFFFFFFF

/*
 * DPCAPS
 * Used to obtain the capabilities of a DirectPlay object
 */
typedef struct
{
    DWORD dwSize;               // Size of structure, in bytes
    DWORD dwFlags;              // DPCAPS_xxx flags
    DWORD dwMaxBufferSize;      // Maximum message size, in bytes,  for this service provider
    DWORD dwMaxQueueSize;       // Obsolete. 
    DWORD dwMaxPlayers;         // Maximum players/groups (local + remote)
    DWORD dwHundredBaud;        // Bandwidth in 100 bits per second units; 
                                // i.e. 24 is 2400, 96 is 9600, etc.
    DWORD dwLatency;            // Estimated latency; 0 = unknown
    DWORD dwMaxLocalPlayers;    // Maximum # of locally created players allowed
    DWORD dwHeaderLength;       // Maximum header length, in bytes, on messages
                                // added by the service provider
    DWORD dwTimeout;            // Service provider's suggested timeout value
                                // This is how long DirectPlay will wait for 
                                // responses to system messages
} DPCAPS, FAR *LPDPCAPS;

/*
 * This DirectPlay object is the session host.  If the host exits the
 * session, another application will become the host and receive a
 * DPSYS_HOST system message.
 */
#define DPCAPS_ISHOST               0x00000002

/*
 * The service provider bound to this DirectPlay object can optimize
 * group messaging.
 */
#define DPCAPS_GROUPOPTIMIZED       0x00000008

/*
 * The service provider bound to this DirectPlay object can optimize
 * keep alives (see DPSESSION_KEEPALIVE)
 */
#define DPCAPS_KEEPALIVEOPTIMIZED   0x00000010

/*
 * The service provider bound to this DirectPlay object can optimize
 * guaranteed message delivery.
 */
#define DPCAPS_GUARANTEEDOPTIMIZED  0x00000020

/*
 * This DirectPlay object supports guaranteed message delivery.
 */
#define DPCAPS_GUARANTEEDSUPPORTED  0x00000040

/*
 * This DirectPlay object supports digital signing of messages.
 */
#define DPCAPS_SIGNINGSUPPORTED     0x00000080

/*
 * This DirectPlay object supports encryption of messages.
 */
#define DPCAPS_ENCRYPTIONSUPPORTED  0x00000100

/*
 * This DirectPlay player was created on this machine
 */
#define DPPLAYERCAPS_LOCAL			0x00000800

/*
 * Current Open settings supports all forms of Cancel
 */
#define DPCAPS_ASYNCCANCELSUPPORTED    0x00001000

/*
 * Current Open settings supports CancelAll, but not Cancel
 */
#define DPCAPS_ASYNCCANCELALLSUPPORTED 0x00002000

/*
 *  Current Open settings supports Send Timeouts for sends
 */
#define DPCAPS_SENDTIMEOUTSUPPORTED   0x00004000

/*
 *  Current Open settings supports send priority
 */
#define DPCAPS_SENDPRIORITYSUPPORTED   0x00008000

/*
 *  Current Open settings supports DPSEND_ASYNC flag
 */
#define DPCAPS_ASYNCSUPPORTED 		   0x00010000


/*
 * DPSESSIONDESC2
 * Used to describe the properties of a DirectPlay
 * session instance
 */
typedef struct
{
    DWORD   dwSize;             // Size of structure
    DWORD   dwFlags;            // DPSESSION_xxx flags
    GUID    guidInstance;       // ID for the session instance
    GUID    guidApplication;    // GUID of the DirectPlay application.
                                // GUID_NULL for all applications.
    DWORD   dwMaxPlayers;       // Maximum # players allowed in session
    DWORD   dwCurrentPlayers;   // Current # players in session (read only)
    union
    {                           // Name of the session
        LPWSTR  lpszSessionName;    // Unicode
        LPSTR   lpszSessionNameA;   // ANSI
    };
    union
    {                           // Password of the session (optional)
        LPWSTR  lpszPassword;       // Unicode
        LPSTR   lpszPasswordA;      // ANSI
    };
    DWORD_PTR   dwReserved1;        // Reserved for future MS use.
    DWORD_PTR   dwReserved2;
    DWORD_PTR   dwUser1;            // For use by the application
    DWORD_PTR   dwUser2;
    DWORD_PTR   dwUser3;
    DWORD_PTR   dwUser4;
} DPSESSIONDESC2, FAR *LPDPSESSIONDESC2;

typedef DPSESSIONDESC2 * VOL LPDPSESSIONDESC2_V;

/*
 * LPCDPSESSIONDESC2
 * A constant pointer to DPSESSIONDESC2
 */
typedef const DPSESSIONDESC2 FAR *LPCDPSESSIONDESC2;
 
/*
 * Applications cannot create new players in this session.
 */
#define DPSESSION_NEWPLAYERSDISABLED    0x00000001 

/*
 * If the DirectPlay object that created the session, the host,
 * quits, then the host will attempt to migrate to another
 * DirectPlay object so that new players can continue to be created
 * and new applications can join the session.
 */
#define DPSESSION_MIGRATEHOST           0x00000004

/*
 * This flag tells DirectPlay not to set the idPlayerTo and idPlayerFrom 
 * fields in player messages.  This cuts two DWORD's off the message 
 * overhead.
 */
#define DPSESSION_NOMESSAGEID           0x00000008


/*
 * This flag tells DirectPlay to not allow any new applications to
 * join the session.  Applications already in the session can still
 * create new players.
 */
#define DPSESSION_JOINDISABLED          0x00000020

/*
 * This flag tells DirectPlay to detect when remote players 
 * exit abnormally (e.g. their computer or modem gets unplugged)
 */
#define DPSESSION_KEEPALIVE             0x00000040

/*
 * This flag tells DirectPlay not to send a message to all players
 * when a players remote data changes
 */
#define DPSESSION_NODATAMESSAGES        0x00000080

/*
 * This flag indicates that the session belongs to a secure server
 * and needs user authentication
 */
#define DPSESSION_SECURESERVER          0x00000100

/*

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲四区在线观看| 久久久久久久综合色一本| 中文字幕一区在线观看视频| 福利电影一区二区三区| 自拍av一区二区三区| 久久精品99国产精品| 中文成人av在线| 成人蜜臀av电影| 亚洲成人av福利| 久久精品亚洲一区二区三区浴池| 免费亚洲电影在线| 国产三级一区二区三区| 91婷婷韩国欧美一区二区| 亚洲二区在线观看| 国产人久久人人人人爽| av色综合久久天堂av综合| 亚洲超碰97人人做人人爱| 久久综合久久综合久久综合| 91麻豆123| 成人18视频日本| 日韩电影一区二区三区四区| 国产精品丝袜一区| 久久综合色天天久久综合图片| 97精品久久久午夜一区二区三区| 精品影视av免费| 亚洲福利视频一区二区| 国产精品视频麻豆| 国产亚洲成aⅴ人片在线观看| 欧美一区二区三区公司| 国产一区二区91| 美女www一区二区| 午夜激情一区二区| 亚洲一区二区三区四区中文字幕| 国产欧美精品一区aⅴ影院| 精品国产乱码久久久久久久 | 裸体歌舞表演一区二区| 亚洲成人免费在线观看| 日一区二区三区| 日韩国产高清影视| 久久国产成人午夜av影院| 美女mm1313爽爽久久久蜜臀| 日本不卡123| 国产成人精品影视| av网站一区二区三区| 欧美日本一区二区| 日韩一区二区精品| 国产精品丝袜在线| 一区二区三区国产精华| 日韩精品亚洲一区二区三区免费| 日韩国产欧美在线播放| 国产精品66部| 一本到高清视频免费精品| 欧美日韩国产片| 欧美国产精品专区| 天天av天天翘天天综合网| 水野朝阳av一区二区三区| 国产乱码精品一区二区三区五月婷| 成人激情文学综合网| 在线不卡中文字幕| 国产精品久久久久久久岛一牛影视| 亚洲福利一二三区| aa级大片欧美| 欧美mv日韩mv国产网站| 亚洲国产视频一区二区| av资源网一区| 国产欧美日韩综合精品一区二区 | 国产精品网站导航| 日本成人超碰在线观看| 国产精品无圣光一区二区| 日韩电影免费在线| 色婷婷av一区二区| 久久久99精品免费观看不卡| 日韩电影在线一区二区| 91蝌蚪porny| 亚洲猫色日本管| 色呦呦国产精品| 亚洲色图欧洲色图| 99久久综合国产精品| 欧美国产欧美综合| 国产成人精品在线看| 中文字幕在线观看一区二区| 成人国产精品免费网站| 国产精品你懂的在线欣赏| 成人看片黄a免费看在线| 中文字幕在线不卡视频| 日本韩国欧美三级| 亚洲综合在线五月| 欧美日韩在线免费视频| 麻豆精品一区二区综合av| 欧美不卡一二三| 本田岬高潮一区二区三区| 国产精品女主播av| 9191成人精品久久| 国产美女在线精品| 亚洲日本中文字幕区| 欧美日本国产视频| 国产69精品一区二区亚洲孕妇| 亚洲国产精品精华液2区45| 欧美色区777第一页| www.66久久| 麻豆精品蜜桃视频网站| 国产精品美女久久久久aⅴ国产馆| 欧美怡红院视频| 成人综合在线观看| 男人操女人的视频在线观看欧美| 中文字幕不卡的av| 精品久久一二三区| 欧美三级日韩三级| 91免费视频网| 成人激情综合网站| 国产主播一区二区| 美女视频黄频大全不卡视频在线播放| 国产精品欧美一区喷水| 在线免费观看日本欧美| 久久99国产精品成人| 日本最新不卡在线| 亚洲va欧美va国产va天堂影院| 国产精品美女久久久久久久久 | 一区二区三区资源| 国产精品午夜免费| 亚洲欧洲日产国码二区| 亚洲国产成人一区二区三区| 久久亚洲一级片| 国产婷婷精品av在线| 久久精品亚洲乱码伦伦中文| 久久亚洲一级片| 国产精品国产成人国产三级 | 26uuu亚洲| 久久久久久久综合日本| 国产视频在线观看一区二区三区| 国产日韩欧美a| 国产精品激情偷乱一区二区∴| 中文字幕一区二区三区蜜月| 夜夜精品视频一区二区| 日韩专区在线视频| 国产精品自拍毛片| 一本久久a久久精品亚洲| 欧美日韩视频在线观看一区二区三区| 欧美日韩一区三区四区| 久久综合狠狠综合| 亚洲美女淫视频| 国内精品久久久久影院色 | 亚洲综合色噜噜狠狠| 国产在线精品国自产拍免费| 欧洲亚洲精品在线| 久久久精品蜜桃| 五月婷婷久久丁香| 91最新地址在线播放| 久久久亚洲午夜电影| 亚洲免费av在线| 91视频你懂的| 中文字幕av免费专区久久| 日本伊人精品一区二区三区观看方式 | 免费视频一区二区| 色欧美日韩亚洲| 亚洲视频一区二区在线| 欧美午夜电影网| 国产精品私人影院| 国产sm精品调教视频网站| 91精品国产综合久久久蜜臀图片| 亚洲日本在线视频观看| 成人avav影音| 亚洲国产欧美另类丝袜| 99久久99久久久精品齐齐| 亚洲女人小视频在线观看| 99re66热这里只有精品3直播| 国产女同互慰高潮91漫画| 成人免费看视频| 亚洲综合免费观看高清完整版| 97超碰欧美中文字幕| 亚洲欧洲成人av每日更新| 91久久一区二区| 日韩国产在线一| 久久久久久亚洲综合| 99久久精品费精品国产一区二区| 日韩理论电影院| 精品日韩99亚洲| 99精品黄色片免费大全| 亚洲五月六月丁香激情| 欧美白人最猛性xxxxx69交| 成人午夜在线播放| 亚洲制服丝袜在线| 国产婷婷一区二区| 欧美日韩精品欧美日韩精品| 国产精品影视网| 五月婷婷综合激情| 亚洲国产成人自拍| 欧美一级淫片007| 在线观看免费一区| 色综合视频在线观看| 精品无人码麻豆乱码1区2区 | 亚洲四区在线观看| 久久久高清一区二区三区| 欧美三级电影在线观看| 91免费视频网| 91小视频在线观看| 99热精品国产| 成人国产精品免费观看动漫| 国产成人欧美日韩在线电影| 久久99深爱久久99精品|