Ignore:
Timestamp:
Aug 31, 2000, 2:46:05 PM (25 years ago)
Author:
sandervl
Message:

header updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/dplay.h

    r945 r4133  
    127127#define DPID_UNKNOWN            0xFFFFFFFF  /* Player ID is unknown */
    128128
     129#define DPOPEN_OPENSESSION          0x00000001
     130#define DPOPEN_CREATESESSION        0x00000002
     131
     132#define DPSEND_GUARANTEE            0x00000001
     133#define DPSEND_HIGHPRIORITY         0x00000002
     134#define DPSEND_TRYONCE              0x00000004
     135
     136#define DPRECEIVE_ALL               0x00000001
     137#define DPRECEIVE_TOPLAYER          0x00000002
     138#define DPRECEIVE_FROMPLAYER        0x00000004
     139#define DPRECEIVE_PEEK              0x00000008
     140
     141#define DPCAPS_NAMESERVICE          0x00000001
     142#define DPCAPS_NAMESERVER           0x00000002
     143#define DPCAPS_GUARANTEED           0x00000004
     144
     145#define DPENUMSESSIONS_AVAILABLE    0x00000001
     146#define DPENUMSESSIONS_ALL          0x00000002
     147#define DPENUMSESSIONS_PREVIOUS     0x00000004
     148
     149#define DPENUMPLAYERS_ALL           0x00000000
     150#define DPENUMPLAYERS_PREVIOUS      0x00000004
     151#define DPENUMPLAYERS_LOCAL         0x00000008
     152#define DPENUMPLAYERS_REMOTE        0x00000010
     153#define DPENUMPLAYERS_GROUP         0x00000020
     154#define DPENUMPLAYERS_SESSION       0x00000080
     155
     156#define DPESC_TIMEDOUT              0x00000001
     157
    129158/*  DPCAPS -  Used to obtain the capabilities of a DirectPlay object */
    130159typedef struct tagDPCAPS
     
    311340
    312341
    313 typedef BOOL (CALLBACK* LPDPENUMDPCALLBACKW)(
     342typedef BOOL (* CALLBACK LPDPENUMDPCALLBACKW)(
    314343    LPGUID      lpguidSP,
    315344    LPWSTR      lpSPName,
     
    318347    LPVOID      lpContext);
    319348
    320 typedef BOOL (CALLBACK* LPDPENUMDPCALLBACKA)(
     349typedef BOOL (* CALLBACK LPDPENUMDPCALLBACKA)(
    321350    LPGUID      lpguidSP,
    322351    LPSTR       lpSPName,       /* ptr to str w/ driver description */
     
    328357typedef const DPNAME *LPCDPNAME;
    329358
    330 typedef BOOL (CALLBACK* LPDPENUMCONNECTIONSCALLBACK)(
     359typedef BOOL (* CALLBACK LPDPENUMCONNECTIONSCALLBACK)(
    331360    LPCGUID     lpguidSP,
    332361    LPVOID      lpConnection,
     
    336365    LPVOID      lpContext);
    337366
    338 typedef BOOL (CALLBACK* LPDPENUMSESSIONSCALLBACK)(
     367typedef BOOL (* CALLBACK LPDPENUMSESSIONSCALLBACK)(
    339368    LPDPSESSIONDESC lpDPSessionDesc,
    340369    LPVOID      lpContext,
     
    345374extern HRESULT WINAPI DirectPlayEnumerateA( LPDPENUMDPCALLBACKA, LPVOID );
    346375extern HRESULT WINAPI DirectPlayEnumerateW( LPDPENUMDPCALLBACKW, LPVOID );
     376#define DirectPlayEnumerate WINELIB_NAME_AW(DirectPlayEnumerate)
     377
    347378extern HRESULT WINAPI DirectPlayCreate( LPGUID lpGUID, LPDIRECTPLAY2 *lplpDP, IUnknown *pUnk);
    348379
    349 typedef BOOL (CALLBACK* LPDPENUMPLAYERSCALLBACK)(
     380typedef BOOL (* CALLBACK LPDPENUMPLAYERSCALLBACK)(
    350381    DPID   dpId,
    351382    LPSTR  lpFriendlyName,
     
    354385    LPVOID          lpContext );
    355386
    356 typedef BOOL (CALLBACK* LPDPENUMPLAYERSCALLBACK2)(
     387typedef BOOL (* CALLBACK LPDPENUMPLAYERSCALLBACK2)(
    357388    DPID            dpId,
    358389    DWORD           dwPlayerType,
     
    361392    LPVOID          lpContext );
    362393
    363 typedef BOOL (CALLBACK* LPDPENUMSESSIONSCALLBACK2)(
     394typedef BOOL (* CALLBACK LPDPENUMSESSIONSCALLBACK2)(
    364395    LPCDPSESSIONDESC2   lpThisSD,
    365396    LPDWORD             lpdwTimeOut,
Note: See TracChangeset for help on using the changeset viewer.