Changeset 4133 for trunk/include/win/dplay.h
- Timestamp:
- Aug 31, 2000, 2:46:05 PM (25 years ago)
- File:
-
- 1 edited
-
trunk/include/win/dplay.h (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/dplay.h
r945 r4133 127 127 #define DPID_UNKNOWN 0xFFFFFFFF /* Player ID is unknown */ 128 128 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 129 158 /* DPCAPS - Used to obtain the capabilities of a DirectPlay object */ 130 159 typedef struct tagDPCAPS … … 311 340 312 341 313 typedef BOOL ( CALLBACK*LPDPENUMDPCALLBACKW)(342 typedef BOOL (* CALLBACK LPDPENUMDPCALLBACKW)( 314 343 LPGUID lpguidSP, 315 344 LPWSTR lpSPName, … … 318 347 LPVOID lpContext); 319 348 320 typedef BOOL ( CALLBACK*LPDPENUMDPCALLBACKA)(349 typedef BOOL (* CALLBACK LPDPENUMDPCALLBACKA)( 321 350 LPGUID lpguidSP, 322 351 LPSTR lpSPName, /* ptr to str w/ driver description */ … … 328 357 typedef const DPNAME *LPCDPNAME; 329 358 330 typedef BOOL ( CALLBACK*LPDPENUMCONNECTIONSCALLBACK)(359 typedef BOOL (* CALLBACK LPDPENUMCONNECTIONSCALLBACK)( 331 360 LPCGUID lpguidSP, 332 361 LPVOID lpConnection, … … 336 365 LPVOID lpContext); 337 366 338 typedef BOOL ( CALLBACK*LPDPENUMSESSIONSCALLBACK)(367 typedef BOOL (* CALLBACK LPDPENUMSESSIONSCALLBACK)( 339 368 LPDPSESSIONDESC lpDPSessionDesc, 340 369 LPVOID lpContext, … … 345 374 extern HRESULT WINAPI DirectPlayEnumerateA( LPDPENUMDPCALLBACKA, LPVOID ); 346 375 extern HRESULT WINAPI DirectPlayEnumerateW( LPDPENUMDPCALLBACKW, LPVOID ); 376 #define DirectPlayEnumerate WINELIB_NAME_AW(DirectPlayEnumerate) 377 347 378 extern HRESULT WINAPI DirectPlayCreate( LPGUID lpGUID, LPDIRECTPLAY2 *lplpDP, IUnknown *pUnk); 348 379 349 typedef BOOL ( CALLBACK*LPDPENUMPLAYERSCALLBACK)(380 typedef BOOL (* CALLBACK LPDPENUMPLAYERSCALLBACK)( 350 381 DPID dpId, 351 382 LPSTR lpFriendlyName, … … 354 385 LPVOID lpContext ); 355 386 356 typedef BOOL ( CALLBACK*LPDPENUMPLAYERSCALLBACK2)(387 typedef BOOL (* CALLBACK LPDPENUMPLAYERSCALLBACK2)( 357 388 DPID dpId, 358 389 DWORD dwPlayerType, … … 361 392 LPVOID lpContext ); 362 393 363 typedef BOOL ( CALLBACK*LPDPENUMSESSIONSCALLBACK2)(394 typedef BOOL (* CALLBACK LPDPENUMSESSIONSCALLBACK2)( 364 395 LPCDPSESSIONDESC2 lpThisSD, 365 396 LPDWORD lpdwTimeOut,
Note:
See TracChangeset
for help on using the changeset viewer.
