Changeset 2606 for trunk/include
- Timestamp:
- Feb 3, 2000, 2:26:23 PM (26 years ago)
- Location:
- trunk/include/win
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/commdlg.h
r1546 r2606 1 /* $Id: commdlg.h,v 1. 3 1999-11-02 19:06:42 sandervl Exp $ */1 /* $Id: commdlg.h,v 1.4 2000-02-03 13:26:22 sandervl Exp $ */ 2 2 /* 3 3 * COMMDLG - Common Wine Dialog ... :-) … … 49 49 #define OPEN_DIALOG 2 50 50 51 typedef UINT16 ( CALLBACK *LPOFNHOOKPROC16)(HWND16,UINT16,WPARAM16,LPARAM);52 typedef UINT ( CALLBACK *LPOFNHOOKPROC)(HWND,UINT,WPARAM,LPARAM);51 typedef UINT16 (* CALLBACK LPOFNHOOKPROC16)(HWND16,UINT16,WPARAM16,LPARAM); 52 typedef UINT (* CALLBACK LPOFNHOOKPROC)(HWND,UINT,WPARAM,LPARAM); 53 53 54 54 typedef struct { … … 141 141 DECL_WINELIB_TYPE_AW(LPOFNOTIFY) 142 142 143 typedef UINT16 ( CALLBACK *LPCCHOOKPROC16) (HWND16, UINT16, WPARAM16, LPARAM);144 typedef UINT ( CALLBACK *LPCCHOOKPROC) (HWND, UINT, WPARAM, LPARAM);143 typedef UINT16 (* CALLBACK LPCCHOOKPROC16) (HWND16, UINT16, WPARAM16, LPARAM); 144 typedef UINT (* CALLBACK LPCCHOOKPROC) (HWND, UINT, WPARAM, LPARAM); 145 145 146 146 typedef struct { … … 195 195 #define CC_ENABLETEMPLATEHANDLE 0x00000040 196 196 197 typedef UINT16 ( CALLBACK *LPFRHOOKPROC16)(HWND16,UINT16,WPARAM16,LPARAM);198 typedef UINT ( CALLBACK *LPFRHOOKPROC)(HWND,UINT,WPARAM,LPARAM);197 typedef UINT16 (* CALLBACK LPFRHOOKPROC16)(HWND16,UINT16,WPARAM16,LPARAM); 198 typedef UINT (* CALLBACK LPFRHOOKPROC)(HWND,UINT,WPARAM,LPARAM); 199 199 200 200 typedef struct { … … 264 264 #define FR_HIDEWHOLEWORD 0x00010000 265 265 266 typedef UINT16 ( CALLBACK *LPCFHOOKPROC16)(HWND16,UINT16,WPARAM16,LPARAM);267 typedef UINT ( CALLBACK *LPCFHOOKPROC)(HWND,UINT,WPARAM,LPARAM);266 typedef UINT16 (* CALLBACK LPCFHOOKPROC16)(HWND16,UINT16,WPARAM16,LPARAM); 267 typedef UINT (* CALLBACK LPCFHOOKPROC)(HWND,UINT,WPARAM,LPARAM); 268 268 269 269 typedef struct … … 410 410 #define CDM_SETDEFEXT (CDM_FIRST + 0x0006) 411 411 412 typedef UINT16 ( CALLBACK *LPPRINTHOOKPROC16) (HWND16, UINT16, WPARAM16, LPARAM);413 typedef UINT ( CALLBACK *LPPRINTHOOKPROC) (HWND, UINT, WPARAM, LPARAM);414 415 typedef UINT16 ( CALLBACK *LPSETUPHOOKPROC16) (HWND16, UINT16, WPARAM16, LPARAM);416 typedef UINT ( CALLBACK *LPSETUPHOOKPROC) (HWND, UINT, WPARAM, LPARAM);412 typedef UINT16 (* CALLBACK LPPRINTHOOKPROC16) (HWND16, UINT16, WPARAM16, LPARAM); 413 typedef UINT (* CALLBACK LPPRINTHOOKPROC) (HWND, UINT, WPARAM, LPARAM); 414 415 typedef UINT16 (* CALLBACK LPSETUPHOOKPROC16) (HWND16, UINT16, WPARAM16, LPARAM); 416 typedef UINT (* CALLBACK LPSETUPHOOKPROC) (HWND, UINT, WPARAM, LPARAM); 417 417 418 418 typedef struct … … 531 531 #define WM_PSD_YAFULLPAGERECT (WM_USER+6) 532 532 533 typedef UINT ( CALLBACK*LPPAGEPAINTHOOK)( HWND, UINT, WPARAM, LPARAM );534 typedef UINT ( CALLBACK*LPPAGESETUPHOOK)( HWND, UINT, WPARAM, LPARAM );533 typedef UINT (* CALLBACK LPPAGEPAINTHOOK)( HWND, UINT, WPARAM, LPARAM ); 534 typedef UINT (* CALLBACK LPPAGESETUPHOOK)( HWND, UINT, WPARAM, LPARAM ); 535 535 536 536 typedef struct tagPSDA -
trunk/include/win/mmsystem.h
r2524 r2606 1 /* $Id: mmsystem.h,v 1. 5 2000-01-26 23:17:48sandervl Exp $ */1 /* $Id: mmsystem.h,v 1.6 2000-02-03 13:26:22 sandervl Exp $ */ 2 2 /* 3 3 * MMSYSTEM - Multimedia Wine Extension ... :-) … … 163 163 #define CALLBACK_EVENT 0x00050000l /* dwCallback is an EVENT Handler */ 164 164 165 typedef void ( CALLBACK *LPDRVCALLBACK16) (HDRVR16 h, UINT16 uMessage, DWORD dwUser, DWORD dw1, DWORD dw2);166 typedef void ( CALLBACK *LPDRVCALLBACK) (HDRVR h, UINT uMessage, DWORD dwUser, DWORD dw1, DWORD dw2);165 typedef void (* CALLBACK LPDRVCALLBACK16) (HDRVR16 h, UINT16 uMessage, DWORD dwUser, DWORD dw1, DWORD dw2); 166 typedef void (* CALLBACK LPDRVCALLBACK) (HDRVR h, UINT uMessage, DWORD dwUser, DWORD dw1, DWORD dw2); 167 167 168 168 #define MM_MICROSOFT 1 /* Microsoft Corp. */ … … 788 788 #define TIMERR_STRUCT (TIMERR_BASE+33) /* time struct size */ 789 789 790 typedef void ( CALLBACK *LPTIMECALLBACK16)(UINT16 uTimerID, UINT16 uMessage, DWORD dwUser, DWORD dw1, DWORD dw2);791 typedef void ( CALLBACK *LPTIMECALLBACK)(UINT uTimerID, UINT uMessage, DWORD dwUser, DWORD dw1, DWORD dw2);790 typedef void (* CALLBACK LPTIMECALLBACK16)(UINT16 uTimerID, UINT16 uMessage, DWORD dwUser, DWORD dw1, DWORD dw2); 791 typedef void (* CALLBACK LPTIMECALLBACK)(UINT uTimerID, UINT uMessage, DWORD dwUser, DWORD dw1, DWORD dw2); 792 792 793 793 #define TIME_ONESHOT 0x0000 /* program timer for single event */ … … 1501 1501 1502 1502 typedef DWORD FOURCC; /* a four character code */ 1503 typedef LONG ( CALLBACK *LPMMIOPROC16)(LPSTR lpmmioinfo, UINT16 uMessage,1503 typedef LONG (* CALLBACK LPMMIOPROC16)(LPSTR lpmmioinfo, UINT16 uMessage, 1504 1504 LPARAM lParam1, LPARAM lParam2); 1505 typedef LONG ( CALLBACK *LPMMIOPROC)(LPSTR lpmmioinfo, UINT uMessage,1505 typedef LONG (* CALLBACK LPMMIOPROC)(LPSTR lpmmioinfo, UINT uMessage, 1506 1506 LPARAM lParam1, LPARAM lParam2); 1507 1507 -
trunk/include/win/shlobj.h
r1546 r2606 1 /* $Id: shlobj.h,v 1. 4 1999-11-02 19:06:43 sandervl Exp $ */1 /* $Id: shlobj.h,v 1.5 2000-02-03 13:26:23 sandervl Exp $ */ 2 2 #ifndef __WINE_SHLOBJ_H 3 3 #define __WINE_SHLOBJ_H … … 200 200 * SHBrowseForFolder API 201 201 */ 202 typedef INT ( CALLBACK*BFFCALLBACK)(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData);202 typedef INT (* CALLBACK BFFCALLBACK)(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData); 203 203 204 204 typedef struct tagBROWSEINFOA { … … 332 332 */ 333 333 334 typedef HRESULT( CALLBACK *SHELLVIEWPROC)(DWORD dwUserParam,LPSHELLFOLDER psf,334 typedef HRESULT(* CALLBACK SHELLVIEWPROC)(DWORD dwUserParam,LPSHELLFOLDER psf, 335 335 HWND hwnd,UINT uMsg,UINT wParam,LPARAM lParam); 336 336 … … 367 367 #define FMF_NO_PROGRAM_GROUPS 0x04 368 368 369 typedef void ( CALLBACK *LPFNFMCALLBACK)(LPCITEMIDLIST pidlFolder, LPCITEMIDLIST pidlFile);369 typedef void (* CALLBACK LPFNFMCALLBACK)(LPCITEMIDLIST pidlFolder, LPCITEMIDLIST pidlFile); 370 370 371 371 /* FileMenu_AppendItem lpszText */ … … 378 378 */ 379 379 typedef struct 380 { BOOLfShowAllObjects : 1;381 BOOLfShowExtensions : 1;382 BOOLfNoConfirmRecycle : 1;383 BOOLfShowSysFiles : 1;384 385 BOOLfShowCompColor : 1;386 BOOLfDoubleClickInWebView : 1;387 BOOLfDesktopHTML : 1;388 BOOLfWin95Classic : 1;389 390 BOOLfDontPrettyPath : 1;391 BOOLfShowAttribCol : 1;392 BOOLfMapNetDrvBtn : 1;393 BOOLfShowInfoTip : 1;394 395 BOOLfHideIcons : 1;396 UINTfRestFlags : 3;380 { unsigned int fShowAllObjects : 1; 381 unsigned int fShowExtensions : 1; 382 unsigned int fNoConfirmRecycle : 1; 383 unsigned int fShowSysFiles : 1; 384 385 unsigned int fShowCompColor : 1; 386 unsigned int fDoubleClickInWebView : 1; 387 unsigned int fDesktopHTML : 1; 388 unsigned int fWin95Classic : 1; 389 390 unsigned int fDontPrettyPath : 1; 391 unsigned int fShowAttribCol : 1; 392 unsigned int fMapNetDrvBtn : 1; 393 unsigned int fShowInfoTip : 1; 394 395 unsigned int fHideIcons : 1; 396 unsigned int fRestFlags : 3; 397 397 } SHELLFLAGSTATE, * LPSHELLFLAGSTATE; 398 398 -
trunk/include/win/wine/obj_base.h
r1626 r2606 1 /* $Id: obj_base.h,v 1.1 4 1999-11-05 20:38:46 davidrExp $ */1 /* $Id: obj_base.h,v 1.15 2000-02-03 13:26:23 sandervl Exp $ */ 2 2 /* 3 3 * This file defines the macros and types necessary to define COM interfaces, … … 453 453 454 454 #define ICOM_METHOD(ret,xfn) \ 455 ret ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me);455 ret (* CALLBACK fn##xfn)(ICOM_INTERFACE* me); 456 456 #define ICOM_METHOD1(ret,xfn,ta,na) \ 457 ret ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a);457 ret (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a); 458 458 #define ICOM_METHOD2(ret,xfn,ta,na,tb,nb) \ 459 ret ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a,tb b);459 ret (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a,tb b); 460 460 #define ICOM_METHOD3(ret,xfn,ta,na,tb,nb,tc,nc) \ 461 ret ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c);461 ret (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c); 462 462 #define ICOM_METHOD4(ret,xfn,ta,na,tb,nb,tc,nc,td,nd) \ 463 ret ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d);463 ret (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d); 464 464 #define ICOM_METHOD5(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne) \ 465 ret ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e);465 ret (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e); 466 466 #define ICOM_METHOD6(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf) \ 467 ret ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f);467 ret (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f); 468 468 #define ICOM_METHOD7(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng) \ 469 ret ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g);469 ret (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g); 470 470 #define ICOM_METHOD8(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng,th,nh) \ 471 ret ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h);471 ret (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h); 472 472 #define ICOM_METHOD9(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng,th,nh,ti,ni) \ 473 ret ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h,ti i);473 ret (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h,ti i); 474 474 #define ICOM_METHOD10(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng,th,nh,ti,ni,tj,nj) \ 475 ret ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h,ti i,tj j);475 ret (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h,ti i,tj j); 476 476 477 477 #define ICOM_CMETHOD(ret,xfn) \ 478 ret ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me);478 ret (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me); 479 479 #define ICOM_CMETHOD1(ret,xfn,ta,na) \ 480 ret ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me,ta a);480 ret (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me,ta a); 481 481 #define ICOM_CMETHOD2(ret,xfn,ta,na,tb,nb) \ 482 ret ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b);482 ret (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b); 483 483 #define ICOM_CMETHOD3(ret,xfn,ta,na,tb,nb,tc,nc) \ 484 ret ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c);484 ret (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c); 485 485 #define ICOM_CMETHOD4(ret,xfn,ta,na,tb,nb,tc,nc,td,nd) \ 486 ret ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d);486 ret (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d); 487 487 #define ICOM_CMETHOD5(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne) \ 488 ret ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e);488 ret (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e); 489 489 #define ICOM_CMETHOD6(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf) \ 490 ret ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f);490 ret (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f); 491 491 #define ICOM_CMETHOD7(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng) \ 492 ret ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g);492 ret (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g); 493 493 #define ICOM_CMETHOD8(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng,th,nh) \ 494 ret ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h);494 ret (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h); 495 495 496 496 #define ICOM_VMETHOD(xfn) \ 497 void ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me);497 void (* CALLBACK fn##xfn)(ICOM_INTERFACE* me); 498 498 #define ICOM_VMETHOD1(xfn,ta,na) \ 499 void ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a);499 void (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a); 500 500 #define ICOM_VMETHOD2(xfn,ta,na,tb,nb) \ 501 void ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a,tb b);501 void (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a,tb b); 502 502 #define ICOM_VMETHOD3(xfn,ta,na,tb,nb,tc,nc) \ 503 void ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c);503 void (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c); 504 504 #define ICOM_VMETHOD4(xfn,ta,na,tb,nb,tc,nc,td,nd) \ 505 void ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d);505 void (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d); 506 506 #define ICOM_VMETHOD5(xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne) \ 507 void ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e);507 void (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e); 508 508 #define ICOM_VMETHOD6(xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf) \ 509 void ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f);509 void (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f); 510 510 #define ICOM_VMETHOD7(xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng) \ 511 void ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g);511 void (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g); 512 512 #define ICOM_VMETHOD8(xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng,nh) \ 513 void ( CALLBACK *fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h);513 void (* CALLBACK fn##xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h); 514 514 515 515 #define ICOM_CVMETHOD(xfn) \ 516 void ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me);516 void (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me); 517 517 #define ICOM_CVMETHOD1(xfn,ta,na) \ 518 void ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me,ta a);518 void (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me,ta a); 519 519 #define ICOM_CVMETHOD2(xfn,ta,na,tb,nb) \ 520 void ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b);520 void (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b); 521 521 #define ICOM_CVMETHOD3(xfn,ta,na,tb,nb,tc,nc) \ 522 void ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c);522 void (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c); 523 523 #define ICOM_CVMETHOD4(xfn,ta,na,tb,nb,tc,nc,td,nd) \ 524 void ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d);524 void (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d); 525 525 #define ICOM_CVMETHOD5(xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne) \ 526 void ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e);526 void (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e); 527 527 #define ICOM_CVMETHOD6(xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf) \ 528 void ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f);528 void (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f); 529 529 #define ICOM_CVMETHOD7(xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng) \ 530 void ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g);530 void (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g); 531 531 #define ICOM_CVMETHOD8(xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng,th,nh) \ 532 void ( CALLBACK *fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h);532 void (* CALLBACK fn##xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h); 533 533 534 534 #define ICOM_CALL(xfn, p) ICOM_VTBL(p)->fn##xfn(p) … … 549 549 550 550 #define ICOM_METHOD(ret,xfn) \ 551 ret ( CALLBACK *xfn)(ICOM_INTERFACE* me);551 ret (* CALLBACK xfn)(ICOM_INTERFACE* me); 552 552 #define ICOM_METHOD1(ret,xfn,ta,na) \ 553 ret ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a);553 ret (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a); 554 554 #define ICOM_METHOD2(ret,xfn,ta,na,tb,nb) \ 555 ret ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a,tb b);555 ret (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a,tb b); 556 556 #define ICOM_METHOD3(ret,xfn,ta,na,tb,nb,tc,nc) \ 557 ret ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c);557 ret (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c); 558 558 #define ICOM_METHOD4(ret,xfn,ta,na,tb,nb,tc,nc,td,nd) \ 559 ret ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d);559 ret (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d); 560 560 #define ICOM_METHOD5(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne) \ 561 ret ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e);561 ret (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e); 562 562 #define ICOM_METHOD6(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf) \ 563 ret ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f);563 ret (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f); 564 564 #define ICOM_METHOD7(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng) \ 565 ret ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g);565 ret (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g); 566 566 #define ICOM_METHOD8(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng,th,nh) \ 567 ret ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h);567 ret (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h); 568 568 #define ICOM_METHOD9(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng,th,nh,ti,ni) \ 569 ret ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h,ti i);569 ret (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h,ti i); 570 570 #define ICOM_METHOD10(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng,th,nh,ti,ni,tj,nj) \ 571 ret ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h,ti i,tj j);571 ret (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h,ti i,tj j); 572 572 573 573 #define ICOM_CMETHOD(ret,xfn) \ 574 ret ( CALLBACK *xfn)(const ICOM_INTERFACE* me);574 ret (* CALLBACK xfn)(const ICOM_INTERFACE* me); 575 575 #define ICOM_CMETHOD1(ret,xfn,ta,na) \ 576 ret ( CALLBACK *xfn)(const ICOM_INTERFACE* me,ta a);576 ret (* CALLBACK xfn)(const ICOM_INTERFACE* me,ta a); 577 577 #define ICOM_CMETHOD2(ret,xfn,ta,na,tb,nb) \ 578 ret ( CALLBACK *xfn)(const ICOM_INTERFACE* me,ta a,tb b);578 ret (* CALLBACK xfn)(const ICOM_INTERFACE* me,ta a,tb b); 579 579 #define ICOM_CMETHOD3(ret,xfn,ta,na,tb,nb,tc,nc) \ 580 ret ( CALLBACK *xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c);580 ret (* CALLBACK xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c); 581 581 #define ICOM_CMETHOD4(ret,xfn,ta,na,tb,nb,tc,nc,td,nd) \ 582 ret ( CALLBACK *xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d);582 ret (* CALLBACK xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d); 583 583 #define ICOM_CMETHOD5(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne) \ 584 ret ( CALLBACK *xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e);584 ret (* CALLBACK xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e); 585 585 #define ICOM_CMETHOD6(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf) \ 586 ret ( CALLBACK *xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f);586 ret (* CALLBACK xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f); 587 587 #define ICOM_CMETHOD7(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng) \ 588 ret ( CALLBACK *xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g);588 ret (* CALLBACK xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g); 589 589 #define ICOM_CMETHOD8(ret,xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng,th,nh) \ 590 ret ( CALLBACK *xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h);590 ret (* CALLBACK xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h); 591 591 592 592 #define ICOM_VMETHOD(xfn) \ 593 void ( CALLBACK *xfn)(ICOM_INTERFACE* me);593 void (* CALLBACK xfn)(ICOM_INTERFACE* me); 594 594 #define ICOM_VMETHOD1(xfn,ta,na) \ 595 void ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a);595 void (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a); 596 596 #define ICOM_VMETHOD2(xfn,ta,na,tb,nb) \ 597 void ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a,tb b);597 void (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a,tb b); 598 598 #define ICOM_VMETHOD3(xfn,ta,na,tb,nb,tc,nc) \ 599 void ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c);599 void (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c); 600 600 #define ICOM_VMETHOD4(xfn,ta,na,tb,nb,tc,nc,td,nd) \ 601 void ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d);601 void (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d); 602 602 #define ICOM_VMETHOD5(xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne) \ 603 void ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e);603 void (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e); 604 604 #define ICOM_VMETHOD6(xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf) \ 605 void ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f);605 void (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f); 606 606 #define ICOM_VMETHOD7(xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng) \ 607 void ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g);607 void (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g); 608 608 #define ICOM_VMETHOD8(xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng,nh) \ 609 void ( CALLBACK *xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h);609 void (* CALLBACK xfn)(ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h); 610 610 611 611 #define ICOM_CVMETHOD(xfn) \ 612 void ( CALLBACK *xfn)(const ICOM_INTERFACE* me);612 void (* CALLBACK xfn)(const ICOM_INTERFACE* me); 613 613 #define ICOM_CVMETHOD1(xfn,ta,na) \ 614 void ( CALLBACK *xfn)(const ICOM_INTERFACE* me,ta a);614 void (* CALLBACK xfn)(const ICOM_INTERFACE* me,ta a); 615 615 #define ICOM_CVMETHOD2(xfn,ta,na,tb,nb) \ 616 void ( CALLBACK *xfn)(const ICOM_INTERFACE* me,ta a,tb b);616 void (* CALLBACK xfn)(const ICOM_INTERFACE* me,ta a,tb b); 617 617 #define ICOM_CVMETHOD3(xfn,ta,na,tb,nb,tc,nc) \ 618 void ( CALLBACK *xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c);618 void (* CALLBACK xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c); 619 619 #define ICOM_CVMETHOD4(xfn,ta,na,tb,nb,tc,nc,td,nd) \ 620 void ( CALLBACK *xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d);620 void (* CALLBACK xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d); 621 621 #define ICOM_CVMETHOD5(xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne) \ 622 void ( CALLBACK *xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e);622 void (* CALLBACK xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e); 623 623 #define ICOM_CVMETHOD6(xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf) \ 624 void ( CALLBACK *xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f);624 void (* CALLBACK xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f); 625 625 #define ICOM_CVMETHOD7(xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng) \ 626 void ( CALLBACK *xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g);626 void (* CALLBACK xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g); 627 627 #define ICOM_CVMETHOD8(xfn,ta,na,tb,nb,tc,nc,td,nd,te,ne,tf,nf,tg,ng,th,nh) \ 628 void ( CALLBACK *xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h);628 void (* CALLBACK xfn)(const ICOM_INTERFACE* me,ta a,tb b,tc c,td d,te e,tf f,tg g,th h); 629 629 630 630 #define ICOM_CALL(xfn, p) ICOM_VTBL(p)->xfn(p) -
trunk/include/win/wine/obj_oleaut.h
r2191 r2606 1 /* $Id: obj_oleaut.h,v 1. 6 1999-12-22 23:27:14 davidrExp $ */1 /* $Id: obj_oleaut.h,v 1.7 2000-02-03 13:26:23 sandervl Exp $ */ 2 2 /* 3 3 * Defines the COM interfaces and APIs related to OLE automation support. … … 225 225 DWORD dwHelpContext; 226 226 PVOID pvReserved; 227 HRESULT ( __stdcall *pfnDeferredFillIn)(struct tagEXCEPINFO *);227 HRESULT (* __stdcall pfnDeferredFillIn)(struct tagEXCEPINFO *); 228 228 SCODE scode; 229 229 } EXCEPINFO, * LPEXCEPINFO;
Note:
See TracChangeset
for help on using the changeset viewer.