Changeset 4133 for trunk/include
- Timestamp:
- Aug 31, 2000, 2:46:05 PM (25 years ago)
- Location:
- trunk/include/win
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/commctrl.h
r3955 r4133 1 /* $Id: commctrl.h,v 1.3 4 2000-08-06 09:30:47sandervl Exp $ */1 /* $Id: commctrl.h,v 1.35 2000-08-31 12:46:02 sandervl Exp $ */ 2 2 /* 3 3 * Common controls definitions … … 2264 2264 (BOOL)SendMessageW((hwnd), TVM_GETITEMA, 0, (LPARAM) (TVITEMA *)(pitem)) 2265 2265 2266 #define TreeView_GetItem WINELIB_NAME_AW(TreeView_GetItem) 2267 2266 2268 #define TreeView_SetItemA(hwnd, pitem) \ 2267 2269 (BOOL)SendMessageA((hwnd), TVM_SETITEMA, 0, (LPARAM)(const TVITEMA *)(pitem)) 2268 2270 #define TreeView_SetItemW(hwnd, pitem) \ 2269 2271 (BOOL)SendMessageW((hwnd), TVM_SETITEMA, 0, (LPARAM)(const TVITEMA *)(pitem)) 2272 2273 #define TreeView_SetItem WINELIB_NAME_AW(TreeView_SetItem) 2270 2274 2271 2275 #define TreeView_EditLabel(hwnd, hitem) \ -
trunk/include/win/d3d.h
r280 r4133 1 /* $Id: d3d.h,v 1. 3 1999-07-07 07:57:36 phallerExp $ */1 /* $Id: d3d.h,v 1.4 2000-08-31 12:46:04 sandervl Exp $ */ 2 2 3 3 #ifndef __WINE_D3D_H … … 335 335 #define D3DLIGHTINGMODEL_MONO 0x00000002 336 336 337 #define D3DLIGHTCAPS_POINT 0x00000001338 #define D3DLIGHTCAPS_SPOT 0x00000002339 #define D3DLIGHTCAPS_DIRECTIONAL 0x00000004337 #define D3DLIGHTCAPS_POINT 0x00000001 338 #define D3DLIGHTCAPS_SPOT 0x00000002 339 #define D3DLIGHTCAPS_DIRECTIONAL 0x00000004 340 340 #define D3DLIGHTCAPS_PARALLELPOINT 0x00000008 341 #define D3DLIGHTCAPS_GLSPOT 0x00000010 341 342 342 343 … … 526 527 } D3DDEVICEDESC,*LPD3DDEVICEDESC; 527 528 528 typedef HRESULT ( CALLBACK *LPD3DENUMDEVICESCALLBACK)(LPGUID lpGuid,LPSTR lpDeviceDescription,LPSTR lpDeviceName,LPD3DDEVICEDESC,LPD3DDEVICEDESC,LPVOID);529 typedef HRESULT ( CALLBACK*LPD3DVALIDATECALLBACK)(LPVOID lpUserArg, DWORD dwOffset);529 typedef HRESULT (* CALLBACK LPD3DENUMDEVICESCALLBACK)(LPGUID lpGuid,LPSTR lpDeviceDescription,LPSTR lpDeviceName,LPD3DDEVICEDESC,LPD3DDEVICEDESC,LPVOID); 530 typedef HRESULT (* CALLBACK LPD3DVALIDATECALLBACK)(LPVOID lpUserArg, DWORD dwOffset); 530 531 531 532 … … 769 770 770 771 /* Textures */ 771 typedef HRESULT ( CALLBACK*LPD3DENUMTEXTUREFORMATSCALLBACK)(LPDDSURFACEDESC lpDdsd, LPVOID lpContext);772 typedef HRESULT (* CALLBACK LPD3DENUMTEXTUREFORMATSCALLBACK)(LPDDSURFACEDESC lpDdsd, LPVOID lpContext); 772 773 773 774 -
trunk/include/win/ddraw.h
r586 r4133 1 /* $Id: ddraw.h,v 1. 4 1999-08-19 18:05:57 phallerExp $ */1 /* $Id: ddraw.h,v 1.5 2000-08-31 12:46:04 sandervl Exp $ */ 2 2 3 3 #ifndef __WINE_DDRAW_H … … 6 6 #include "winnt.h" /* LARGE_INTEGER ... */ 7 7 #include "wingdi.h" /* PALETTE stuff ... */ 8 #ifndef __WINE_OBJBASE_H 8 9 #include "wine/dd_obj_base.h" 10 #endif 9 11 10 12 #ifndef DIRECTDRAW_VERSION … … 217 219 /* DDSCAPS.dwCaps */ 218 220 /* reserved1, was 3d capable */ 221 #define DDSCAPS_3D 0x00000001 219 222 #define DDSCAPS_RESERVED1 0x00000001 220 223 /* surface contains alpha information */ … … 890 893 } DDCOLORCONTROL,*LPDDCOLORCONTROL; 891 894 892 typedef DWORD ( CALLBACK *LPCLIPPERCALLBACK)(LPDIRECTDRAWCLIPPER , HWND , DWORD , LPVOID );895 typedef DWORD (* CALLBACK LPCLIPPERCALLBACK)(LPDIRECTDRAWCLIPPER , HWND , DWORD , LPVOID ); 893 896 #ifdef STREAMING 894 typedef DWORD ( CALLBACK *LPSURFACESTREAMINGCALLBACK)(DWORD);897 typedef DWORD (* CALLBACK LPSURFACESTREAMINGCALLBACK)(DWORD); 895 898 #endif 896 899 897 900 898 typedef BOOL ( CALLBACK *LPDDENUMCALLBACKA)(GUID *, LPSTR, LPSTR, LPVOID);899 typedef BOOL ( CALLBACK *LPDDENUMCALLBACKW)(GUID *, LPWSTR, LPWSTR, LPVOID);901 typedef BOOL (* CALLBACK LPDDENUMCALLBACKA)(GUID *, LPSTR, LPSTR, LPVOID); 902 typedef BOOL (* CALLBACK LPDDENUMCALLBACKW)(GUID *, LPWSTR, LPWSTR, LPVOID); 900 903 DECL_WINELIB_TYPE_AW(LPDDENUMCALLBACK) 901 904 902 typedef HRESULT ( CALLBACK *LPDDENUMMODESCALLBACK)(LPDDSURFACEDESC, LPVOID);903 typedef HRESULT ( CALLBACK *LPDDENUMSURFACESCALLBACK)(LPDIRECTDRAWSURFACE, LPDDSURFACEDESC, LPVOID);904 typedef HRESULT ( CALLBACK *LPDDENUMMODESCALLBACK2)(LPDDSURFACEDESC2, LPVOID);905 typedef HRESULT ( CALLBACK *LPDDENUMSURFACESCALLBACK2)(LPDIRECTDRAWSURFACE4, LPDDSURFACEDESC2, LPVOID);906 907 typedef BOOL ( CALLBACK *LPDDENUMCALLBACKEXA)(GUID *, LPSTR, LPSTR, LPVOID, HMONITOR);908 typedef BOOL ( CALLBACK *LPDDENUMCALLBACKEXW)(GUID *, LPWSTR, LPWSTR, LPVOID, HMONITOR);905 typedef HRESULT (* CALLBACK LPDDENUMMODESCALLBACK)(LPDDSURFACEDESC, LPVOID); 906 typedef HRESULT (* CALLBACK LPDDENUMSURFACESCALLBACK)(LPDIRECTDRAWSURFACE, LPDDSURFACEDESC, LPVOID); 907 typedef HRESULT (* CALLBACK LPDDENUMMODESCALLBACK2)(LPDDSURFACEDESC2, LPVOID); 908 typedef HRESULT (* CALLBACK LPDDENUMSURFACESCALLBACK2)(LPDIRECTDRAWSURFACE4, LPDDSURFACEDESC2, LPVOID); 909 910 typedef BOOL (* CALLBACK LPDDENUMCALLBACKEXA)(GUID *, LPSTR, LPSTR, LPVOID, HMONITOR); 911 typedef BOOL (* CALLBACK LPDDENUMCALLBACKEXW)(GUID *, LPWSTR, LPWSTR, LPVOID, HMONITOR); 909 912 910 913 DECL_WINELIB_TYPE_AW(LPDDENUMCALLBACKEX) … … 912 915 HRESULT WINAPI DirectDrawEnumerateExA( LPDDENUMCALLBACKEXA lpCallback, LPVOID lpContext, DWORD dwFlags); 913 916 HRESULT WINAPI DirectDrawEnumerateExW( LPDDENUMCALLBACKEXW lpCallback, LPVOID lpContext, DWORD dwFlags); 917 #define DirectDrawEnumerateEx WINELIB_NAME_AW(DirectDrawEnumerateEx) 918 914 919 #ifndef SM_CMONITORS 915 920 #define HMONITOR HANDLE -
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, -
trunk/include/win/dsound.h
r2633 r4133 1 /* $Id: dsound.h,v 1. 3 2000-02-03 23:55:07sandervl Exp $ */1 /* $Id: dsound.h,v 1.4 2000-08-31 12:46:05 sandervl Exp $ */ 2 2 3 3 #ifndef __WINE_DSOUND_H … … 181 181 typedef LPVOID* LPLPVOID; 182 182 183 typedef BOOL (CALLBACK *LPDSENUMCALLBACKW)(LPGUID,LPWSTR,LPWSTR,LPVOID); 184 typedef BOOL (CALLBACK *LPDSENUMCALLBACKA)(LPGUID,LPSTR,LPSTR,LPVOID); 183 typedef BOOL (* CALLBACK LPDSENUMCALLBACKW)(LPGUID,LPWSTR,LPWSTR,LPVOID); 184 typedef BOOL (* CALLBACK LPDSENUMCALLBACKA)(LPGUID,LPSTR,LPSTR,LPVOID); 185 186 extern HRESULT WINAPI DirectSoundEnumerateW(LPDSENUMCALLBACKW lpCallback, LPVOID lpContext ); 187 extern HRESULT WINAPI DirectSoundEnumerateA(LPDSENUMCALLBACKA lpCallback, LPVOID lpContext ); 188 189 #ifdef UNICODE 190 #define LPDSENUMCALLBACK LPDSENUMCALLBACKW 191 #define DirectSoundEnumerate DirectSoundEnumerateW 192 #else 193 #define LPDSENUMCALLBACK LPDSENUMCALLBACKA 194 #define DirectSoundEnumerate DirectSoundEnumerateA 195 #endif 185 196 186 197 extern HRESULT WINAPI DirectSoundCreate(REFGUID lpGUID,LPDIRECTSOUND * ppDS,IUnknown *pUnkOuter );
Note:
See TracChangeset
for help on using the changeset viewer.