2 * oledlg.h - Declarations for OLEDLG
5 #ifndef __WINE_OLEDLG_H
6 #define __WINE_OLEDLG_H
18 typedef struct IOleUILinkContainerA IOleUILinkContainerA
, *POLEUILINKCONTAINERA
, *LPOLEUILINKCONTAINERA
;
19 typedef struct IOleUILinkContainerW IOleUILinkContainerW
, *POLEUILINKCONTAINERW
, *LPOLEUILINKCONTAINERW
;
21 typedef struct IOleUILinkInfoA IOleUILinkInfoA
, *POLEUILINKINFOA
, *LPOLEUILINKINFOA
;
22 typedef struct IOleUILinkInfoW IOleUILinkInfoW
, *POLEUILINKINFOW
, *LPOLEUILINKINFOW
;
24 typedef struct IOleUIObjInfoA IOleUIObjInfoA
, *POLEUIOBJINFOA
, *LPOLEUIOBJINFOA
;
25 typedef struct IOleUIObjInfoW IOleUIObjInfoW
, *POLEUIOBJINFOW
, *LPOLEUIOBJINFOW
;
27 #define IDC_OLEUIHELP 99
29 /* Change Source Dialog flags */
30 #define CSF_SHOWHELP 0x00000001L
31 #define CSF_VALIDSOURCE 0x00000002L
32 #define CSF_ONLYGETSOURCE 0x00000004L
33 #define CSF_EXPLORER 0x00000008L
35 #define PSF_SHOWHELP 0x00000001L
36 #define PSF_SELECTPASTE 0x00000002L
37 #define PSF_SELECTPASTELINK 0x00000004L
38 #define PSF_CHECKDISPLAYASICON 0x00000008L
39 #define PSF_DISABLEDISPLAYASICON 0x00000010L
40 #define PSF_HIDECHANGEICON 0x00000020L
41 #define PSF_STAYONCLIPBOARDCHANGE 0x00000040L
42 #define PSF_NOREFRESHDATAOBJECT 0x00000080L
44 #define IOF_SHOWHELP 0x00000001L
45 #define IOF_SELECTCREATENEW 0x00000002L
46 #define IOF_SELECTCREATEFROMFILE 0x00000004L
47 #define IOF_CHECKLINK 0x00000008L
48 #define IOF_CHECKDISPLAYASICON 0x00000010L
49 #define IOF_CREATENEWOBJECT 0x00000020L
50 #define IOF_CREATEFILEOBJECT 0x00000040L
51 #define IOF_CREATELINKOBJECT 0x00000080L
52 #define IOF_DISABLELINK 0x00000100L
53 #define IOF_VERIFYSERVERSEXIST 0x00000200L
54 #define IOF_DISABLEDISPLAYASICON 0x00000400L
55 #define IOF_HIDECHANGEICON 0x00000800L
56 #define IOF_SHOWINSERTCONTROL 0x00001000L
57 #define IOF_SELECTCREATECONTROL 0x00002000L
59 #define CF_SHOWHELPBUTTON 0x00000001L
60 #define CF_SETCONVERTDEFAULT 0x00000002L
61 #define CF_SETACTIVATEDEFAULT 0x00000004L
62 #define CF_SELECTCONVERTTO 0x00000008L
63 #define CF_SELECTACTIVATEAS 0x00000010L
64 #define CF_DISABLEDISPLAYASICON 0x00000020L
65 #define CF_DISABLEACTIVATEAS 0x00000040L
66 #define CF_HIDECHANGEICON 0x00000080L
67 #define CF_CONVERTONLY 0x00000100L
69 #define CIF_SHOWHELP 0x00000001L
70 #define CIF_SELECTCURRENT 0x00000002L
71 #define CIF_SELECTDEFAULT 0x00000004L
72 #define CIF_SELECTFROMFILE 0x00000008L
73 #define CIF_USEICONEXE 0x00000010L
75 #define BZ_DISABLECANCELBUTTON 0x00000001L
76 #define BZ_DISABLESWITCHTOBUTTON 0x00000002L
77 #define BZ_DISABLERETRYBUTTON 0x00000004L
78 #define BZ_NOTRESPONDINGDIALOG 0x00000008L
80 #define OLEUI_ERR_STANDARDMAX 116
82 #define OLEUI_BZERR_HTASKINVALID (OLEUI_ERR_STANDARDMAX+0)
83 #define OLEUI_BZ_SWITCHTOSELECTED (OLEUI_ERR_STANDARDMAX+1)
84 #define OLEUI_BZ_RETRYSELECTED (OLEUI_ERR_STANDARDMAX+2)
85 #define OLEUI_BZ_CALLUNBLOCKED (OLEUI_ERR_STANDARDMAX+3)
88 #define OLEUI_SUCCESS 1 /* Same as OLEUI_OK */
89 #define OLEUI_OK 1 /* OK button pressed */
90 #define OLEUI_CANCEL 2 /* Cancel button pressed */
92 #define OPF_OBJECTISLINK 0x00000001L
93 #define OPF_NOFILLDEFAULT 0x00000002L
94 #define OPF_SHOWHELP 0x00000004L
95 #define OPF_DISABLECONVERT 0x00000008L
97 typedef UINT (CALLBACK
*LPFNOLEUIHOOK
)(HWND
, UINT
, WPARAM
, LPARAM
);
99 /*****************************************************************************
100 * INSERT OBJECT DIALOG
102 typedef struct tagOLEUIINSERTOBJECTA
108 LPFNOLEUIHOOK lpfnHook
;
117 LPCLSID lpClsidExclude
;
120 LPFORMATETC lpFormatEtc
;
121 LPOLECLIENTSITE lpIOleClientSite
;
122 LPSTORAGE lpIStorage
;
126 } OLEUIINSERTOBJECTA
, *POLEUIINSERTOBJECTA
, *LPOLEUIINSERTOBJECTA
;
128 typedef struct tagOLEUIINSERTOBJECTW
134 LPFNOLEUIHOOK lpfnHook
;
137 LPCWSTR lpszTemplate
;
143 LPCLSID lpClsidExclude
;
146 LPFORMATETC lpFormatEtc
;
147 LPOLECLIENTSITE lpIOleClientSite
;
148 LPSTORAGE lpIStorage
;
152 } OLEUIINSERTOBJECTW
, *POLEUIINSERTOBJECTW
, *LPOLEUIINSERTOBJECTW
;
154 DECL_WINELIB_TYPE_AW(OLEUIINSERTOBJECT
)
155 DECL_WINELIB_TYPE_AW(POLEUIINSERTOBJECT
)
156 DECL_WINELIB_TYPE_AW(LPOLEUIINSERTOBJECT
)
159 /*****************************************************************************
162 typedef struct tagOLEUICONVERTA
168 LPFNOLEUIHOOK lpfnHook
;
174 CLSID clsidConvertDefault
;
175 CLSID clsidActivateDefault
;
179 BOOL fIsLinkedObject
;
182 BOOL fObjectsIconChanged
;
185 LPCLSID lpClsidExclude
;
186 } OLEUICONVERTA
, *POLEUICONVERTA
, *LPOLEUICONVERTA
;
188 typedef struct tagOLEUICONVERTW
194 LPFNOLEUIHOOK lpfnHook
;
197 LPCWSTR lpszTemplate
;
200 CLSID clsidConvertDefault
;
201 CLSID clsidActivateDefault
;
205 BOOL fIsLinkedObject
;
208 BOOL fObjectsIconChanged
;
211 LPCLSID lpClsidExclude
;
212 } OLEUICONVERTW
, *POLEUICONVERTW
, *LPOLEUICONVERTW
;
214 DECL_WINELIB_TYPE_AW(OLEUICONVERT
)
215 DECL_WINELIB_TYPE_AW(POLEUICONVERT
)
216 DECL_WINELIB_TYPE_AW(LPOLEUICONVERT
)
218 /*****************************************************************************
221 typedef struct tagOLEUICHANGEICONA
227 LPFNOLEUIHOOK lpfnHook
;
234 CHAR szIconExe
[MAX_PATH
];
236 } OLEUICHANGEICONA
, *POLEUICHANGEICONA
, *LPOLEUICHANGEICONA
;
238 typedef struct tagOLEUICHANGEICONW
244 LPFNOLEUIHOOK lpfnHook
;
247 LPCWSTR lpszTemplate
;
251 WCHAR szIconExe
[MAX_PATH
];
253 } OLEUICHANGEICONW
, *POLEUICHANGEICONW
, *LPOLEUICHANGEICONW
;
255 DECL_WINELIB_TYPE_AW(OLEUICHANGEICON
)
256 DECL_WINELIB_TYPE_AW(POLEUICHANGEICON
)
257 DECL_WINELIB_TYPE_AW(LPOLEUICHANGEICON
)
260 /*****************************************************************************
261 * PASTE SPECIAL DIALOG
264 typedef enum tagOLEUIPASTEFLAG
266 OLEUIPASTE_ENABLEICON
= 2048,
267 OLEUIPASTE_PASTEONLY
= 0,
268 OLEUIPASTE_PASTE
= 512,
269 OLEUIPASTE_LINKANYTYPE
= 1024,
270 OLEUIPASTE_LINKTYPE1
= 1,
271 OLEUIPASTE_LINKTYPE2
= 2,
272 OLEUIPASTE_LINKTYPE3
= 4,
273 OLEUIPASTE_LINKTYPE4
= 8,
274 OLEUIPASTE_LINKTYPE5
= 16,
275 OLEUIPASTE_LINKTYPE6
= 32,
276 OLEUIPASTE_LINKTYPE7
= 64,
277 OLEUIPASTE_LINKTYPE8
= 128
280 typedef struct tagOLEUIPASTEENTRYA
283 LPCSTR lpstrFormatName
;
284 LPCSTR lpstrResultText
;
286 DWORD dwScratchSpace
;
287 } OLEUIPASTEENTRYA
, *POLEUIPASTEENTRYA
, *LPOLEUIPASTEENTRYA
;
289 typedef struct tagOLEUIPASTEENTRYW
292 LPCWSTR lpstrFormatName
;
293 LPCWSTR lpstrResultText
;
295 DWORD dwScratchSpace
;
296 } OLEUIPASTEENTRYW
, *POLEUIPASTEENTRYW
, *LPOLEUIPASTEENTRYW
;
298 DECL_WINELIB_TYPE_AW(OLEUIPASTEENTRY
)
299 DECL_WINELIB_TYPE_AW(POLEUIPASTEENTRY
)
300 DECL_WINELIB_TYPE_AW(LPOLEUIPASTEENTRY
)
302 typedef struct tagOLEUIPASTESPECIALA
308 LPFNOLEUIHOOK lpfnHook
;
313 LPDATAOBJECT lpSrcDataObj
;
314 LPOLEUIPASTEENTRYA arrPasteEntries
;
319 LPCLSID lpClsidExclude
;
324 } OLEUIPASTESPECIALA
, *POLEUIPASTESPECIALA
, *LPOLEUIPASTESPECIALA
;
326 typedef struct tagOLEUIPASTESPECIALW
332 LPFNOLEUIHOOK lpfnHook
;
335 LPCWSTR lpszTemplate
;
337 LPDATAOBJECT lpSrcDataObj
;
338 LPOLEUIPASTEENTRYW arrPasteEntries
;
343 LPCLSID lpClsidExclude
;
348 } OLEUIPASTESPECIALW
, *POLEUIPASTESPECIALW
, *LPOLEUIPASTESPECIALW
;
350 DECL_WINELIB_TYPE_AW(OLEUIPASTESPECIAL
)
351 DECL_WINELIB_TYPE_AW(POLEUIPASTESPECIAL
)
352 DECL_WINELIB_TYPE_AW(LPOLEUIPASTESPECIAL
)
354 #define PSF_SHOWHELP 0x00000001L
355 #define PSF_SELECTPASTE 0x00000002L
356 #define PSF_SELECTPASTELINK 0x00000004L
358 #define PSF_CHECKDISPLAYASICON 0x00000008L
359 #define PSF_DISABLEDISPLAYASICON 0x00000010L
360 #define PSF_HIDECHANGEICON 0x00000020L
361 #define PSF_STAYONCLIPBOARDCHANGE 0x00000040L
362 #define PSF_NOREFRESHDATAOBJECT 0x00000080L
364 #define OLEUI_IOERR_SRCDATAOBJECTINVALID (OLEUI_ERR_STANDARDMAX+0)
365 #define OLEUI_IOERR_ARRPASTEENTRIESINVALID (OLEUI_ERR_STANDARDMAX+1)
366 #define OLEUI_IOERR_ARRLINKTYPESINVALID (OLEUI_ERR_STANDARDMAX+2)
367 #define OLEUI_PSERR_CLIPBOARDCHANGED (OLEUI_ERR_STANDARDMAX+3)
368 #define OLEUI_PSERR_GETCLIPBOARDFAILED (OLEUI_ERR_STANDARDMAX+4)
370 #define ELF_SHOWHELP 0x00000001L
371 #define ELF_DISABLEUPDATENOW 0x00000002L
372 #define ELF_DISABLEOPENSOURCE 0x00000004L
373 #define ELF_DISABLECHANGESOURCE 0x00000008L
374 #define ELF_DISABLECANCELLINK 0x00000010L
376 typedef struct tagOLEUIEDITLINKSW
382 LPFNOLEUIHOOK lpfnHook
;
385 LPCWSTR lpszTemplate
;
387 LPOLEUILINKCONTAINERW lpOleUILinkContainer
;
388 } OLEUIEDITLINKSW
, *POLEUIEDITLINKSW
, *LPOLEUIEDITLINKSW
;
390 typedef struct tagOLEUIEDITLINKSA
396 LPFNOLEUIHOOK lpfnHook
;
401 LPOLEUILINKCONTAINERA lpOleUILinkContainer
;
402 } OLEUIEDITLINKSA
, *POLEUIEDITLINKSA
, *LPOLEUIEDITLINKSA
;
404 DECL_WINELIB_TYPE_AW(OLEUIEDITLINKS
)
405 DECL_WINELIB_TYPE_AW(POLEUIEDITLINKS
)
406 DECL_WINELIB_TYPE_AW(LPOLEUIEDITLINKS
)
409 /***********************************************************************************
412 typedef struct tagOLEUIBUSYA
418 LPFNOLEUIHOOK lpfnHook
;
425 } OLEUIBUSYA
, *POLEUIBUSYA
, *LPOLEUIBUSYA
;
427 typedef struct tagOLEUIBUSYW
433 LPFNOLEUIHOOK lpfnHook
;
436 LPCWSTR lpszTemplate
;
440 } OLEUIBUSYW
, *POLEUIBUSYW
, *LPOLEUIBUSYW
;
442 DECL_WINELIB_TYPE_AW(OLEUIBUSY
)
443 DECL_WINELIB_TYPE_AW(POLEUIBUSY
)
444 DECL_WINELIB_TYPE_AW(LPOLEUIBUSY
)
447 struct tagOLEUIOBJECTPROPSW
;
448 struct tagOLEUIOBJECTPROPSA
;
450 typedef struct tagOLEUIGNRLPROPSA
454 DWORD dwReserved1
[2];
455 LPFNOLEUIHOOK lpfnHook
;
457 DWORD dwReserved2
[3];
458 struct tagOLEUIOBJECTPROPSA
* lpOP
;
460 } OLEUIGNRLPROPSA
, *POLEUIGNRLPROPSA
, *LPOLEUIGNRLPROPSA
;
462 typedef struct tagOLEUIGNRLPROPSW
466 DWORD dwReserved1
[2];
467 LPFNOLEUIHOOK lpfnHook
;
469 DWORD dwReserved2
[3];
470 struct tagOLEUIOBJECTPROPSW
* lpOP
;
471 } OLEUIGNRLPROPSW
, *POLEUIGNRLPROPSW
, *LPOLEUIGNRLPROPSW
;
473 DECL_WINELIB_TYPE_AW(OLEUIGNRLPROPS
)
474 DECL_WINELIB_TYPE_AW(POLEUIGNRLPROPS
)
475 DECL_WINELIB_TYPE_AW(LPOLEUIGNRLPROPS
)
477 typedef struct tagOLEUIVIEWPROPSA
481 DWORD dwReserved1
[2];
482 LPFNOLEUIHOOK lpfnHook
;
484 DWORD dwReserved2
[3];
485 struct tagOLEUIOBJECTPROPSA
* lpOP
;
488 } OLEUIVIEWPROPSA
, *POLEUIVIEWPROPSA
, *LPOLEUIVIEWPROPSA
;
490 typedef struct tagOLEUIVIEWPROPSW
494 DWORD dwReserved1
[2];
495 LPFNOLEUIHOOK lpfnHook
;
497 DWORD dwReserved2
[3];
498 struct tagOLEUIOBJECTPROPSW
* lpOP
;
501 } OLEUIVIEWPROPSW
, *POLEUIVIEWPROPSW
, *LPOLEUIVIEWPROPSW
;
503 DECL_WINELIB_TYPE_AW(OLEUIVIEWPROPS
)
504 DECL_WINELIB_TYPE_AW(POLEUIVIEWPROPS
)
505 DECL_WINELIB_TYPE_AW(LPOLEUIVIEWPROPS
)
508 #define VPF_SELECTRELATIVE 0x00000001L
509 #define VPF_DISABLERELATIVE 0x00000002L
510 #define VPF_DISABLESCALE 0x00000004L
512 typedef struct tagOLEUILINKPROPSA
516 DWORD dwReserved1
[2];
517 LPFNOLEUIHOOK lpfnHook
;
519 DWORD dwReserved2
[3];
520 struct tagOLEUIOBJECTPROPSA
* lpOP
;
521 } OLEUILINKPROPSA
, *POLEUILINKPROPSA
, *LPOLEUILINKPROPSA
;
523 typedef struct tagOLEUILINKPROPSW
527 DWORD dwReserved1
[2];
528 LPFNOLEUIHOOK lpfnHook
;
530 DWORD dwReserved2
[3];
531 struct tagOLEUIOBJECTPROPSW
* lpOP
;
532 } OLEUILINKPROPSW
, *POLEUILINKPROPSW
, *LPOLEUILINKPROPSW
;
534 DECL_WINELIB_TYPE_AW(OLEUILINKPROPS
)
535 DECL_WINELIB_TYPE_AW(POLEUILINKPROPS
)
536 DECL_WINELIB_TYPE_AW(LPOLEUILINKPROPS
)
538 typedef struct tagOLEUIOBJECTPROPSA
542 LPPROPSHEETHEADERA lpPS
;
544 LPOLEUIOBJINFOA lpObjInfo
;
546 LPOLEUILINKINFOA lpLinkInfo
;
547 LPOLEUIGNRLPROPSA lpGP
;
548 LPOLEUIVIEWPROPSA lpVP
;
549 LPOLEUILINKPROPSA lpLP
;
550 } OLEUIOBJECTPROPSA
, *POLEUIOBJECTPROPSA
, *LPOLEUIOBJECTPROPSA
;
552 typedef struct tagOLEUIOBJECTPROPSW
556 LPPROPSHEETHEADERW lpPS
;
558 LPOLEUIOBJINFOW lpObjInfo
;
560 LPOLEUILINKINFOW lpLinkInfo
;
561 LPOLEUIGNRLPROPSW lpGP
;
562 LPOLEUIVIEWPROPSW lpVP
;
563 LPOLEUILINKPROPSW lpLP
;
564 } OLEUIOBJECTPROPSW
, *POLEUIOBJECTPROPSW
, *LPOLEUIOBJECTPROPSW
;
566 DECL_WINELIB_TYPE_AW(OLEUIOBJECTPROPS
)
567 DECL_WINELIB_TYPE_AW(POLEUIOBJECTPROPS
)
568 DECL_WINELIB_TYPE_AW(LPOLEUIOBJECTPROPS
)
570 /************************************************************************************
571 * CHANGE SOURCE DIALOG
575 typedef struct tagOLEUICHANGESOURCEW
581 LPFNOLEUIHOOK lpfnHook
;
584 LPCWSTR lpszTemplate
;
587 DWORD dwReserved1
[4];
588 LPOLEUILINKCONTAINERW lpOleUILinkContainer
;
590 LPWSTR lpszDisplayName
;
594 } OLEUICHANGESOURCEW
, *POLEUICHANGESOURCEW
, *LPOLEUICHANGESOURCEW
;
597 typedef struct tagOLEUICHANGESOURCEA
603 LPFNOLEUIHOOK lpfnHook
;
608 OPENFILENAMEA
* lpOFN
;
609 DWORD dwReserved1
[4];
610 LPOLEUILINKCONTAINERA lpOleUILinkContainer
;
612 LPSTR lpszDisplayName
;
616 } OLEUICHANGESOURCEA
, *POLEUICHANGESOURCEA
, *LPOLEUICHANGESOURCEA
;
619 DECL_WINELIB_TYPE_AW(OLEUICHANGESOURCE
)
620 DECL_WINELIB_TYPE_AW(POLEUICHANGESOURCE
)
621 DECL_WINELIB_TYPE_AW(LPOLEUICHANGESOURCE
)
624 /*****************************************************************************
625 * IOleUILinkContainer interface
627 #define ICOM_INTERFACE IOleUILinkContainerA
628 #define IOleUILinkContainerA_METHODS \
629 ICOM_METHOD1(DWORD,GetNextLink, DWORD,dwLink) \
630 ICOM_METHOD2(HRESULT,SetLinkUpdateOptions, DWORD,dwLink, DWORD,dwUpdateOpt) \
631 ICOM_METHOD2(HRESULT,GetLinkUpdateOptions, DWORD,dwLink, DWORD*,lpdwUpdateOpt) \
632 ICOM_METHOD5(HRESULT,SetLinkSource, DWORD,dwLink, LPSTR,lpszDisplayName, \
633 ULONG,lenFileName, ULONG*,pchEaten, BOOL,fValidateSource) \
634 ICOM_METHOD7(HRESULT,GetLinkSource, DWORD,dwLink, \
635 LPSTR*,lplpszDisplayName, ULONG*,lplenFileName, \
636 LPSTR*,lplpszFullLinkType, LPSTR*,lplpszShortLinkType, \
637 BOOL*,lpfSourceAvailable, BOOL*,lpfIsSelected) \
638 ICOM_METHOD1(HRESULT,OpenLinkSource, DWORD,dwLink) \
639 ICOM_METHOD3(HRESULT,UpdateLink, DWORD,dwLink, \
640 BOOL,fErrorMessage, BOOL,fReserved) \
641 ICOM_METHOD1(HRESULT,CancelLink, DWORD,dwLink)
642 #define IOleUILinkContainerA_IMETHODS \
644 IOleUILinkContainerA_METHODS
645 ICOM_DEFINE(IOleUILinkContainerA
, IUnknown
)
646 #undef ICOM_INTERFACE
648 #define ICOM_INTERFACE IOleUILinkContainerW
649 #define IOleUILinkContainerW_METHODS \
650 ICOM_METHOD1(DWORD,GetNextLink, DWORD,dwLink) \
651 ICOM_METHOD2(HRESULT,SetLinkUpdateOptions, DWORD,dwLink, DWORD,dwUpdateOpt) \
652 ICOM_METHOD2(HRESULT,GetLinkUpdateOptions, DWORD,dwLink, DWORD*,lpdwUpdateOpt) \
653 ICOM_METHOD5(HRESULT,SetLinkSource, DWORD,dwLink, LPWSTR,lpszDisplayName, \
654 ULONG,lenFileName, ULONG*,pchEaten, BOOL,fValidateSource) \
655 ICOM_METHOD7(HRESULT,GetLinkSource, DWORD,dwLink, \
656 LPWSTR*,lplpszDisplayName, ULONG*,lplenFileName, \
657 LPWSTR*,lplpszFullLinkType, LPWSTR*,lplpszShortLinkType, \
658 BOOL*,lpfSourceAvailable, BOOL*,lpfIsSelected) \
659 ICOM_METHOD1(HRESULT,OpenLinkSource, DWORD,dwLink) \
660 ICOM_METHOD3(HRESULT,UpdateLink, DWORD,dwLink, \
661 BOOL,fErrorMessage, BOOL,fReserved) \
662 ICOM_METHOD1(HRESULT,CancelLink, DWORD,dwLink)
663 #define IOleUILinkContainerW_IMETHODS \
665 IOleUILinkContainerW_METHODS
666 ICOM_DEFINE(IOleUILinkContainerW
, IUnknown
)
667 #undef ICOM_INTERFACE
669 DECL_WINELIB_TYPE_AW(IOleUILinkContainer
)
670 DECL_WINELIB_TYPE_AW(POLEUILINKCONTAINER
)
671 DECL_WINELIB_TYPE_AW(LPOLEUILINKCONTAINER
)
674 /*** IUnknown methods ***/
675 #define IOleUILinkContainer_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
676 #define IOleUILinkContainer_AddRef(p) ICOM_CALL (AddRef,p)
677 #define IOleUILinkContainer_Release(p) ICOM_CALL (Release,p)
678 /*** IOleUILinkContainer methods ***/
679 #define IOleUILinkContainer_GetNextLink(p,a) ICOM_CALL1(GetNextLink,p,a)
680 #define IOleUILinkContainer_SetLinkUpdateOptions(p,a,b) ICOM_CALL2(SetLinkUpdateOptions,p,a,b)
681 #define IOleUILinkContainer_GetLinkUpdateOptions(p,a,b) ICOM_CALL2(GetLinkUpdateOptions,p,a,b)
682 #define IOleUILinkContainer_SetLinkSource(p,a,b,c,d,e) ICOM_CALL5(SetLinkSource,p,a,b,c,d,e)
683 #define IOleUILinkContainer_GetLinkSource(p,a,b,c,d,e,f,g) ICOM_CALL7(GetLinkSource,p,a,b,c,d,e,f,g)
684 #define IOleUILinkContainer_OpenLinkSource(p,a) ICOM_CALL1(OpenLinkSource,p,a)
685 #define IOleUILinkContainer_UpdateLink(p,a,b,c) ICOM_CALL3(UpdateLink,p,a,b,c)
686 #define IOleUILinkContainer_CancelLink(p,a) ICOM_CALL1(CancelLink,p,a)
690 /*****************************************************************************
691 * IOleUILinkInfo interface
693 #define ICOM_INTERFACE IOleUILinkInfoA
694 #define IOleUILinkInfoA_METHODS \
695 ICOM_METHOD2(HRESULT,GetLastUpdate, DWORD,dwLink, FILETIME*,lpLastUpdate)
696 #define IOleUILinkInfoA_IMETHODS \
697 IOleUILinkContainerA_IMETHODS \
698 IOleUILinkInfoA_METHODS
699 ICOM_DEFINE(IOleUILinkInfoA
, IOleUILinkContainerA
)
700 #undef ICOM_INTERFACE
702 #define ICOM_INTERFACE IOleUILinkInfoW
703 #define IOleUILinkInfoW_METHODS \
704 ICOM_METHOD2(HRESULT,GetLastUpdate, DWORD,dwLink, FILETIME*,lpLastUpdate)
705 #define IOleUILinkInfoW_IMETHODS \
706 IOleUILinkContainerW_IMETHODS \
707 IOleUILinkInfoW_METHODS
708 ICOM_DEFINE(IOleUILinkInfoW
, IOleUILinkContainerW
)
709 #undef ICOM_INTERFACE
711 DECL_WINELIB_TYPE_AW(IOleUILinkInfo
)
712 DECL_WINELIB_TYPE_AW(POLEUILINKINFO
)
713 DECL_WINELIB_TYPE_AW(LPOLEUILINKINFO
)
715 /*** IUnknown methods ***/
716 #define IOleUILinkInfo_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
717 #define IOleUILinkInfo_AddRef(p) ICOM_CALL (AddRef,p)
718 #define IOleUILinkInfo_Release(p) ICOM_CALL (Release,p)
719 /*** IOleUILinkContainer methods ***/
720 #define IOleUILinkInfo_GetNextLink(p,a) ICOM_CALL1(GetNextLink,p,a)
721 #define IOleUILinkInfo_SetLinkUpdateOptions(p,a,b) ICOM_CALL2(SetLinkUpdateOptions,p,a,b)
722 #define IOleUILinkInfo_GetLinkUpdateOptions(p,a,b) ICOM_CALL2(GetLinkUpdateOptions,p,a,b)
723 #define IOleUILinkInfo_SetLinkSource(p,a,b,c,d,e) ICOM_CALL5(SetLinkSource,p,a,b,c,d,e)
724 #define IOleUILinkInfo_GetLinkSource(p,a,b,c,d,e,f,g) ICOM_CALL7(GetLinkSource,p,a,b,c,d,e,f,g)
725 #define IOleUILinkInfo_OpenLinkSource(p,a) ICOM_CALL1(OpenLinkSource,p,a)
726 #define IOleUILinkInfo_UpdateLink(p,a,b,c) ICOM_CALL3(UpdateLink,p,a,b,c)
727 #define IOleUILinkInfo_CancelLink(p,a) ICOM_CALL1(CancelLink,p,a)
728 /*** IOleUILinkInfo methods ***/
729 #define IOleUILinkInfo_GetLastUpdate(p,a,b) ICOM_CALL2(GetLastUpdate,p,a,b)
732 /*****************************************************************************
733 * IOleUIObjInfo interface
735 #define ICOM_INTERFACE IOleUIObjInfoA
736 #define IOleUIObjInfoA_METHODS \
737 ICOM_METHOD6(HRESULT,GetObjectInfo, DWORD,dwObject, DWORD*,lpdwObjSize, LPSTR*,lplpszLabel, \
738 LPSTR*,lplpszType, LPSTR*,lplpszShortType, LPSTR*,lplpszLocation) \
739 ICOM_METHOD6(HRESULT,GetConvertInfo, DWORD,dwObject, CLSID*,lpClassID, WORD*,lpwFormat, \
740 CLSID*,lpConvertDefaultClassID, LPCLSID*,lplpClsidExclude, UINT*,lpcClsidExclude) \
741 ICOM_METHOD2(HRESULT,ConvertObject, DWORD,dwObject, REFCLSID,clsidNew) \
742 ICOM_METHOD4(HRESULT,GetViewInfo, DWORD,dwObject, \
743 HGLOBAL*,phMetaPict, DWORD*,pdvAspect, INT*,pnCurrentScale) \
744 ICOM_METHOD5(HRESULT,SetViewInfo, DWORD,dwObject, \
745 HGLOBAL,hMetaPict, DWORD,dvAspect, \
746 INT,nCurrentScale, BOOL,bRelativeToOrig)
747 #define IOleUIObjInfoA_IMETHODS \
749 IOleUIObjInfoA_METHODS
750 ICOM_DEFINE(IOleUIObjInfoA
, IUnknown
)
751 #undef ICOM_INTERFACE
753 #define ICOM_INTERFACE IOleUIObjInfoW
754 #define IOleUIObjInfoW_METHODS \
755 ICOM_METHOD6(HRESULT,GetObjectInfo, DWORD,dwObject, DWORD*,lpdwObjSize, LPWSTR*,lplpszLabel, \
756 LPWSTR*,lplpszType, LPWSTR*,lplpszShortType, LPWSTR*,lplpszLocation) \
757 ICOM_METHOD6(HRESULT,GetConvertInfo, DWORD,dwObject, CLSID*,lpClassID, WORD*,lpwFormat, \
758 CLSID*,lpConvertDefaultClassID, LPCLSID*,lplpClsidExclude, UINT*,lpcClsidExclude) \
759 ICOM_METHOD2(HRESULT,ConvertObject, DWORD,dwObject, REFCLSID,clsidNew) \
760 ICOM_METHOD4(HRESULT,GetViewInfo, DWORD,dwObject, \
761 HGLOBAL*,phMetaPict, DWORD*,pdvAspect, INT*,pnCurrentScale) \
762 ICOM_METHOD5(HRESULT,SetViewInfo, DWORD,dwObject, \
763 HGLOBAL,hMetaPict, DWORD,dvAspect, \
764 INT,nCurrentScale, BOOL,bRelativeToOrig)
765 #define IOleUIObjInfoW_IMETHODS \
767 IOleUIObjInfoW_METHODS
768 ICOM_DEFINE(IOleUIObjInfoW
, IUnknown
)
769 #undef ICOM_INTERFACE
771 DECL_WINELIB_TYPE_AW(IOleUIObjInfo
)
772 DECL_WINELIB_TYPE_AW(POLEUIOBJINFO
)
773 DECL_WINELIB_TYPE_AW(LPOLEUIOBJINFO
)
775 /*** IUnknown methods ***/
776 #define IOleUIObjInfo_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
777 #define IOleUIObjInfo_AddRef(p) ICOM_CALL (AddRef,p)
778 #define IOleUIObjInfo_Release(p) ICOM_CALL (Release,p)
779 /*** IOleUIObjInfo methods ***/
780 #define IOleUIObjInfo_GetObjectInfo(p,a,b,c,d,e,f) ICOM_CALL6(GetObjectInfo,p,a,b,c,d,e,f)
781 #define IOleUIObjInfo_GetConvertInfo(p,a,b,c,d,e,f) ICOM_CALL6(GetConvertInfo,p,a,b,c,d,e,f)
782 #define IOleUIObjInfo_ConvertObject(p,a,b) ICOM_CALL2(ConvertObject,p,a,b)
783 #define IOleUIObjInfo_GetViewInfo(p,a,b,c,d) ICOM_CALL4(GetViewInfo,p,a,b,c,d)
784 #define IOleUIObjInfo_SetViewInfo(p,a,b,c,d,e) ICOM_CALL5(SetViewInfo,p,a,b,c,d,e)
786 UINT WINAPI
OleUIInsertObjectW(LPOLEUIINSERTOBJECTW
);
787 UINT WINAPI
OleUIInsertObjectA(LPOLEUIINSERTOBJECTA
);
788 #define OleUIInsertObject WINELIB_NAME_AW(OleUIInsertObject)
789 UINT WINAPI
OleUIConvertA(LPOLEUICONVERTA
);
790 UINT WINAPI
OleUIConvertW(LPOLEUICONVERTW
);
791 #define OleUIConvert WINELIB_NAME_AW(OleUIConvert)
792 UINT WINAPI
OleUIChangeIconA(LPOLEUICHANGEICONA
);
793 UINT WINAPI
OleUIChangeIconW(LPOLEUICHANGEICONW
);
794 #define OleUIChangeIcon WINELIB_NAME_AW(OleUIChangeIcon)
795 UINT WINAPI
OleUIBusyA(LPOLEUIBUSYA
);
796 UINT WINAPI
OleUIBusyW(LPOLEUIBUSYW
);
797 #define OleUIBusy WINELIB_NAME_AW(OleUIBusy)
798 UINT WINAPI
OleUIObjectPropertiesA(LPOLEUIOBJECTPROPSA
);
799 UINT WINAPI
OleUIObjectPropertiesW(LPOLEUIOBJECTPROPSW
);
800 #define OleUIObjectProperties WINELIB_NAME_AW(OleUIObjectProperties)
801 UINT WINAPI
OleUIChangeSourceW(LPOLEUICHANGESOURCEW
);
802 UINT WINAPI
OleUIChangeSourceA(LPOLEUICHANGESOURCEA
);
803 #define OleUIChangeSource WINELIB_NAME_AW(OleUIChangeSource)
804 UINT WINAPI
OleUIEditLinksA(LPOLEUIEDITLINKSA lpOleUIEditLinks
);
805 UINT WINAPI
OleUIEditLinksW(LPOLEUIEDITLINKSW lpOleUIEditLinks
);
806 #define OleUIEditLinks WINELIB_NAME_AW(OleUIEditLinks)
807 BOOL WINAPI
OleUIUpdateLinksA(LPOLEUILINKCONTAINERA lpOleUILinkCntr
, HWND hwndParent
, LPSTR lpszTitle
, INT cLinks
);
808 BOOL WINAPI
OleUIUpdateLinksW(LPOLEUILINKCONTAINERW lpOleUILinkCntr
, HWND hwndParent
, LPWSTR lpszTitle
, INT cLinks
);
809 #define OleUIUpdateLinks WINELIB_NAME_AW(OleUIUpdateLinks)
810 BOOL WINAPI
OleUIAddVerbMenuA(LPOLEOBJECT lpOleObj
, LPCSTR lpszShortType
, HMENU hMenu
, UINT uPos
, UINT uIDVerbMin
, UINT uIDVerbMax
,
811 BOOL bAddConvert
, UINT idConvert
, HMENU
*lphMenu
);
812 BOOL WINAPI
OleUIAddVerbMenuW(LPOLEOBJECT lpOleObj
, LPCWSTR lpszShortType
, HMENU hMenu
, UINT uPos
, UINT uIDVerbMin
, UINT uIDVerbMax
,
813 BOOL bAddConvert
, UINT idConvert
, HMENU
*lphMenu
);
814 #define OleUIAddVerbMenu WINELIB_NAME_AW(OleUIAddVerbMenu)
815 UINT WINAPI
OleUIPasteSpecialA(LPOLEUIPASTESPECIALA lpOleUIPasteSpecial
);
816 UINT WINAPI
OleUIPasteSpecialW(LPOLEUIPASTESPECIALW lpOleUIPasteSpecial
);
817 #define OleUIPasteSpecial WINELIB_NAME_AW(OleUIPasteSpecial)
825 #endif /* __WINE_OLEDLG_H */