2 * Declarations for OLEDLG
4 * Copyright (C) the Wine project
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WINE_OLEDLG_H
22 #define __WINE_OLEDLG_H
33 typedef struct IOleUILinkContainerA
*POLEUILINKCONTAINERA
, *LPOLEUILINKCONTAINERA
;
34 typedef struct IOleUILinkContainerW
*POLEUILINKCONTAINERW
, *LPOLEUILINKCONTAINERW
;
36 typedef struct IOleUILinkInfoA
*POLEUILINKINFOA
, *LPOLEUILINKINFOA
;
37 typedef struct IOleUILinkInfoW
*POLEUILINKINFOW
, *LPOLEUILINKINFOW
;
39 typedef struct IOleUIObjInfoA
*POLEUIOBJINFOA
, *LPOLEUIOBJINFOA
;
40 typedef struct IOleUIObjInfoW
*POLEUIOBJINFOW
, *LPOLEUIOBJINFOW
;
42 #define IDC_OLEUIHELP 99
45 #define OLEUI_ERR_STANDARDMAX 116
47 #define OLEUI_BZERR_HTASKINVALID (OLEUI_ERR_STANDARDMAX+0)
48 #define OLEUI_BZ_SWITCHTOSELECTED (OLEUI_ERR_STANDARDMAX+1)
49 #define OLEUI_BZ_RETRYSELECTED (OLEUI_ERR_STANDARDMAX+2)
50 #define OLEUI_BZ_CALLUNBLOCKED (OLEUI_ERR_STANDARDMAX+3)
53 #define OLEUI_SUCCESS 1 /* Same as OLEUI_OK */
54 #define OLEUI_OK 1 /* OK button pressed */
55 #define OLEUI_CANCEL 2 /* Cancel button pressed */
57 #define OLEUI_ERR_STANDARDMIN 100
58 #define OLEUI_ERR_OLEMEMALLOC 100
59 #define OLEUI_ERR_STRUCTURENULL 101
60 #define OLEUI_ERR_STRUCTUREINVALID 102
61 #define OLEUI_ERR_CBSTRUCTINCORRECT 103
62 #define OLEUI_ERR_HWNDOWNERINVALID 104
63 #define OLEUI_ERR_LPSZCAPTIONINVALID 105
64 #define OLEUI_ERR_LPFNHOOKINVALID 106
65 #define OLEUI_ERR_HINSTANCEINVALID 107
66 #define OLEUI_ERR_LPSZTEMPLATEINVALID 108
67 #define OLEUI_ERR_HRESOURCEINVALID 109
68 #define OLEUI_ERR_FINDTEMPLATEFAILURE 110
69 #define OLEUI_ERR_LOADTEMPLATEFAILURE 111
70 #define OLEUI_ERR_DIALOGFAILURE 112
71 #define OLEUI_ERR_LOCALMEMALLOC 113
72 #define OLEUI_ERR_GLOBALMEMALLOC 114
73 #define OLEUI_ERR_LOADSTRING 115
74 #define OLEUI_ERR_STANDARDMAX 116
76 typedef UINT (CALLBACK
*LPFNOLEUIHOOK
)(HWND
, UINT
, WPARAM
, LPARAM
);
78 /*****************************************************************************
79 * Registered Message Names
81 #define SZOLEUI_MSG_HELPA "OLEUI_MSG_HELP"
82 #define SZOLEUI_MSG_ENDDIALOGA "OLEUI_MSG_ENDDIALOG"
83 #define SZOLEUI_MSG_BROWSEA "OLEUI_MSG_BROWSE"
84 #define SZOLEUI_MSG_CHANGEICONA "OLEUI_MSG_CHANGEICON"
85 #define SZOLEUI_MSG_CLOSEBUSYDIALOGA "OLEUI_MSG_CLOSEBUSYDIALOG"
86 #define SZOLEUI_MSG_CONVERTA "OLEUI_MSG_CONVERT"
87 #define SZOLEUI_MSG_CHANGESOURCEA "OLEUI_MSG_CHANGESOURCE"
88 #define SZOLEUI_MSG_ADDCONTROLA "OLEUI_MSG_ADDCONTROL"
89 #define SZOLEUI_MSG_BROWSE_OFNA "OLEUI_MSG_BROWSE_OFN"
91 # define SZOLEUI_MSG_HELPW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','H','E','L','P',0 }
92 # define SZOLEUI_MSG_ENDDIALOGW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','E','N','D','D','I','A','L','O','G',0 }
93 # define SZOLEUI_MSG_BROWSEW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','B','R','O','W','S','E',0 }
94 # define SZOLEUI_MSG_CHANGEICONW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','C','H','A','N','G','E','I','C','O','N',0 }
95 # define SZOLEUI_MSG_CLOSEBUSYDIALOGW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','C','L','O','S','E','B','U','S','Y','D','I','A','L','O','G',0 }
96 # define SZOLEUI_MSG_CONVERTW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','C','O','N','V','E','R','T',0 }
97 # define SZOLEUI_MSG_CHANGESOURCEW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','C','H','A','N','G','E','S','O','U','R','C','E',0 }
98 # define SZOLEUI_MSG_ADDCONTROLW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','A','D','D','C','O','N','T','R','O','L',0 }
99 # define SZOLEUI_MSG_BROWSE_OFNW (const WCHAR []){ 'O','L','E','U','I','_','M','S','G','_','B','R','O','W','S','E','_','O','F','N',0 }
100 #elif defined(_MSC_VER)
101 # define SZOLEUI_MSG_HELPW L"OLEUI_MSG_HELP"
102 # define SZOLEUI_MSG_ENDDIALOGW L"OLEUI_MSG_ENDDIALOG"
103 # define SZOLEUI_MSG_BROWSEW L"OLEUI_MSG_BROWSE"
104 # define SZOLEUI_MSG_CHANGEICONW L"OLEUI_MSG_CHANGEICON"
105 # define SZOLEUI_MSG_CLOSEBUSYDIALOGW L"OLEUI_MSG_CLOSEBUSYDIALOG"
106 # define SZOLEUI_MSG_CONVERTW L"OLEUI_MSG_CONVERT"
107 # define SZOLEUI_MSG_CHANGESOURCEW L"OLEUI_MSG_CHANGESOURCE"
108 # define SZOLEUI_MSG_ADDCONTROLW L"OLEUI_MSG_ADDCONTROL"
109 # define SZOLEUI_MSG_BROWSE_OFNW L"OLEUI_MSG_BROWSE_OFN"
111 static const WCHAR SZOLEUI_MSG_HELPW
[] = { 'O','L','E','U','I','_','M','S','G','_','H','E','L','P',0 };
112 static const WCHAR SZOLEUI_MSG_ENDDIALOGW
[] = { 'O','L','E','U','I','_','M','S','G','_','E','N','D','D','I','A','L','O','G',0 };
113 static const WCHAR SZOLEUI_MSG_BROWSEW
[] = { 'O','L','E','U','I','_','M','S','G','_','B','R','O','W','S','E',0 };
114 static const WCHAR SZOLEUI_MSG_CHANGEICONW
[] = { 'O','L','E','U','I','_','M','S','G','_','C','H','A','N','G','E','I','C','O','N',0 };
115 static const WCHAR SZOLEUI_MSG_CLOSEBUSYDIALOGW
[] = { 'O','L','E','U','I','_','M','S','G','_','C','L','O','S','E','B','U','S','Y','D','I','A','L','O','G',0 };
116 static const WCHAR SZOLEUI_MSG_CONVERTW
[] = { 'O','L','E','U','I','_','M','S','G','_','C','O','N','V','E','R','T',0 };
117 static const WCHAR SZOLEUI_MSG_CHANGESOURCEW
[] = { 'O','L','E','U','I','_','M','S','G','_','C','H','A','N','G','E','S','O','U','R','C','E',0 };
118 static const WCHAR SZOLEUI_MSG_ADDCONTROLW
[] = { 'O','L','E','U','I','_','M','S','G','_','A','D','D','C','O','N','T','R','O','L',0 };
119 static const WCHAR SZOLEUI_MSG_BROWSE_OFNW
[] = { 'O','L','E','U','I','_','M','S','G','_','B','R','O','W','S','E','_','O','F','N',0 };
121 #define SZOLEUI_MSG_HELP WINELIB_NAME_AW(SZOLEUI_MSG_HELP)
122 #define SZOLEUI_MSG_ENDDIALOG WINELIB_NAME_AW(SZOLEUI_MSG_ENDDIALOG)
123 #define SZOLEUI_MSG_BROWSE WINELIB_NAME_AW(SZOLEUI_MSG_BROWSE)
124 #define SZOLEUI_MSG_CHANGEICON WINELIB_NAME_AW(SZOLEUI_MSG_CHANGEICON)
125 #define SZOLEUI_MSG_CLOSEBUSYDIALOG WINELIB_NAME_AW(SZOLEUI_MSG_CLOSEBUSYDIALOG)
126 #define SZOLEUI_MSG_CONVERT WINELIB_NAME_AW(SZOLEUI_MSG_CONVERT)
127 #define SZOLEUI_MSG_CHANGESOURCE WINELIB_NAME_AW(SZOLEUI_MSG_CHANGESOURCE)
128 #define SZOLEUI_MSG_ADDCONTROL WINELIB_NAME_AW(SZOLEUI_MSG_ADDCONTROL)
129 #define SZOLEUI_MSG_BROWSE_OFN WINELIB_NAME_AW(SZOLEUI_MSG_BROWSE_OFN)
132 /*****************************************************************************
133 * INSERT OBJECT DIALOG
135 typedef struct tagOLEUIINSERTOBJECTA
141 LPFNOLEUIHOOK lpfnHook
;
150 LPCLSID lpClsidExclude
;
153 LPFORMATETC lpFormatEtc
;
154 LPOLECLIENTSITE lpIOleClientSite
;
155 LPSTORAGE lpIStorage
;
159 } OLEUIINSERTOBJECTA
, *POLEUIINSERTOBJECTA
, *LPOLEUIINSERTOBJECTA
;
161 typedef struct tagOLEUIINSERTOBJECTW
167 LPFNOLEUIHOOK lpfnHook
;
170 LPCWSTR lpszTemplate
;
176 LPCLSID lpClsidExclude
;
179 LPFORMATETC lpFormatEtc
;
180 LPOLECLIENTSITE lpIOleClientSite
;
181 LPSTORAGE lpIStorage
;
185 } OLEUIINSERTOBJECTW
, *POLEUIINSERTOBJECTW
, *LPOLEUIINSERTOBJECTW
;
187 DECL_WINELIB_TYPE_AW(OLEUIINSERTOBJECT
)
188 DECL_WINELIB_TYPE_AW(POLEUIINSERTOBJECT
)
189 DECL_WINELIB_TYPE_AW(LPOLEUIINSERTOBJECT
)
191 #define IOF_SHOWHELP 0x00000001L
192 #define IOF_SELECTCREATENEW 0x00000002L
193 #define IOF_SELECTCREATEFROMFILE 0x00000004L
194 #define IOF_CHECKLINK 0x00000008L
195 #define IOF_CHECKDISPLAYASICON 0x00000010L
196 #define IOF_CREATENEWOBJECT 0x00000020L
197 #define IOF_CREATEFILEOBJECT 0x00000040L
198 #define IOF_CREATELINKOBJECT 0x00000080L
199 #define IOF_DISABLELINK 0x00000100L
200 #define IOF_VERIFYSERVERSEXIST 0x00000200L
201 #define IOF_DISABLEDISPLAYASICON 0x00000400L
202 #define IOF_HIDECHANGEICON 0x00000800L
203 #define IOF_SHOWINSERTCONTROL 0x00001000L
204 #define IOF_SELECTCREATECONTROL 0x00002000L
206 /*****************************************************************************
209 typedef struct tagOLEUICONVERTA
215 LPFNOLEUIHOOK lpfnHook
;
221 CLSID clsidConvertDefault
;
222 CLSID clsidActivateDefault
;
226 BOOL fIsLinkedObject
;
229 BOOL fObjectsIconChanged
;
232 LPCLSID lpClsidExclude
;
233 } OLEUICONVERTA
, *POLEUICONVERTA
, *LPOLEUICONVERTA
;
235 typedef struct tagOLEUICONVERTW
241 LPFNOLEUIHOOK lpfnHook
;
244 LPCWSTR lpszTemplate
;
247 CLSID clsidConvertDefault
;
248 CLSID clsidActivateDefault
;
252 BOOL fIsLinkedObject
;
255 BOOL fObjectsIconChanged
;
258 LPCLSID lpClsidExclude
;
259 } OLEUICONVERTW
, *POLEUICONVERTW
, *LPOLEUICONVERTW
;
261 DECL_WINELIB_TYPE_AW(OLEUICONVERT
)
262 DECL_WINELIB_TYPE_AW(POLEUICONVERT
)
263 DECL_WINELIB_TYPE_AW(LPOLEUICONVERT
)
265 #define CF_SHOWHELPBUTTON 0x00000001L
266 #define CF_SETCONVERTDEFAULT 0x00000002L
267 #define CF_SETACTIVATEDEFAULT 0x00000004L
268 #define CF_SELECTCONVERTTO 0x00000008L
269 #define CF_SELECTACTIVATEAS 0x00000010L
270 #define CF_DISABLEDISPLAYASICON 0x00000020L
271 #define CF_DISABLEACTIVATEAS 0x00000040L
272 #define CF_HIDECHANGEICON 0x00000080L
273 #define CF_CONVERTONLY 0x00000100L
275 /*****************************************************************************
278 typedef struct tagOLEUICHANGEICONA
284 LPFNOLEUIHOOK lpfnHook
;
291 CHAR szIconExe
[MAX_PATH
];
293 } OLEUICHANGEICONA
, *POLEUICHANGEICONA
, *LPOLEUICHANGEICONA
;
295 typedef struct tagOLEUICHANGEICONW
301 LPFNOLEUIHOOK lpfnHook
;
304 LPCWSTR lpszTemplate
;
308 WCHAR szIconExe
[MAX_PATH
];
310 } OLEUICHANGEICONW
, *POLEUICHANGEICONW
, *LPOLEUICHANGEICONW
;
312 DECL_WINELIB_TYPE_AW(OLEUICHANGEICON
)
313 DECL_WINELIB_TYPE_AW(POLEUICHANGEICON
)
314 DECL_WINELIB_TYPE_AW(LPOLEUICHANGEICON
)
317 #define CIF_SHOWHELP 0x00000001L
318 #define CIF_SELECTCURRENT 0x00000002L
319 #define CIF_SELECTDEFAULT 0x00000004L
320 #define CIF_SELECTFROMFILE 0x00000008L
321 #define CIF_USEICONEXE 0x00000010L
323 /*****************************************************************************
324 * PASTE SPECIAL DIALOG
327 typedef enum tagOLEUIPASTEFLAG
329 OLEUIPASTE_ENABLEICON
= 2048,
330 OLEUIPASTE_PASTEONLY
= 0,
331 OLEUIPASTE_PASTE
= 512,
332 OLEUIPASTE_LINKANYTYPE
= 1024,
333 OLEUIPASTE_LINKTYPE1
= 1,
334 OLEUIPASTE_LINKTYPE2
= 2,
335 OLEUIPASTE_LINKTYPE3
= 4,
336 OLEUIPASTE_LINKTYPE4
= 8,
337 OLEUIPASTE_LINKTYPE5
= 16,
338 OLEUIPASTE_LINKTYPE6
= 32,
339 OLEUIPASTE_LINKTYPE7
= 64,
340 OLEUIPASTE_LINKTYPE8
= 128
343 typedef struct tagOLEUIPASTEENTRYA
346 LPCSTR lpstrFormatName
;
347 LPCSTR lpstrResultText
;
349 DWORD dwScratchSpace
;
350 } OLEUIPASTEENTRYA
, *POLEUIPASTEENTRYA
, *LPOLEUIPASTEENTRYA
;
352 typedef struct tagOLEUIPASTEENTRYW
355 LPCWSTR lpstrFormatName
;
356 LPCWSTR lpstrResultText
;
358 DWORD dwScratchSpace
;
359 } OLEUIPASTEENTRYW
, *POLEUIPASTEENTRYW
, *LPOLEUIPASTEENTRYW
;
361 DECL_WINELIB_TYPE_AW(OLEUIPASTEENTRY
)
362 DECL_WINELIB_TYPE_AW(POLEUIPASTEENTRY
)
363 DECL_WINELIB_TYPE_AW(LPOLEUIPASTEENTRY
)
365 typedef struct tagOLEUIPASTESPECIALA
371 LPFNOLEUIHOOK lpfnHook
;
376 LPDATAOBJECT lpSrcDataObj
;
377 LPOLEUIPASTEENTRYA arrPasteEntries
;
382 LPCLSID lpClsidExclude
;
387 } OLEUIPASTESPECIALA
, *POLEUIPASTESPECIALA
, *LPOLEUIPASTESPECIALA
;
389 typedef struct tagOLEUIPASTESPECIALW
395 LPFNOLEUIHOOK lpfnHook
;
398 LPCWSTR lpszTemplate
;
400 LPDATAOBJECT lpSrcDataObj
;
401 LPOLEUIPASTEENTRYW arrPasteEntries
;
406 LPCLSID lpClsidExclude
;
411 } OLEUIPASTESPECIALW
, *POLEUIPASTESPECIALW
, *LPOLEUIPASTESPECIALW
;
413 DECL_WINELIB_TYPE_AW(OLEUIPASTESPECIAL
)
414 DECL_WINELIB_TYPE_AW(POLEUIPASTESPECIAL
)
415 DECL_WINELIB_TYPE_AW(LPOLEUIPASTESPECIAL
)
417 #define PS_MAXLINKTYPES 8
419 #define PSF_SHOWHELP 0x00000001L
420 #define PSF_SELECTPASTE 0x00000002L
421 #define PSF_SELECTPASTELINK 0x00000004L
423 #define PSF_CHECKDISPLAYASICON 0x00000008L
424 #define PSF_DISABLEDISPLAYASICON 0x00000010L
425 #define PSF_HIDECHANGEICON 0x00000020L
426 #define PSF_STAYONCLIPBOARDCHANGE 0x00000040L
427 #define PSF_NOREFRESHDATAOBJECT 0x00000080L
429 #define OLEUI_IOERR_SRCDATAOBJECTINVALID (OLEUI_ERR_STANDARDMAX+0)
430 #define OLEUI_IOERR_ARRPASTEENTRIESINVALID (OLEUI_ERR_STANDARDMAX+1)
431 #define OLEUI_IOERR_ARRLINKTYPESINVALID (OLEUI_ERR_STANDARDMAX+2)
432 #define OLEUI_PSERR_CLIPBOARDCHANGED (OLEUI_ERR_STANDARDMAX+3)
433 #define OLEUI_PSERR_GETCLIPBOARDFAILED (OLEUI_ERR_STANDARDMAX+4)
435 /* Paste Special dialog resource ids */
436 #define IDD_PASTESPECIAL 1003
437 #define IDD_PASTESPECIAL4 1108
439 /* Paste Special dialog control ids */
440 #define IDC_PS_PASTE 500
441 #define IDC_PS_PASTELINK 501
442 #define IDC_PS_SOURCETEXT 502
443 #define IDC_PS_PASTELIST 503
444 #define IDC_PS_PASTELINKLIST 504
445 #define IDC_PS_DISPLAYLIST 505
446 #define IDC_PS_DISPLAYASICON 506
447 #define IDC_PS_ICONDISPLAY 507
448 #define IDC_PS_CHANGEICON 508
449 #define IDC_PS_RESULTIMAGE 509
450 #define IDC_PS_RESULTTEXT 510
452 /*****************************************************************************
456 #define ELF_SHOWHELP 0x00000001L
457 #define ELF_DISABLEUPDATENOW 0x00000002L
458 #define ELF_DISABLEOPENSOURCE 0x00000004L
459 #define ELF_DISABLECHANGESOURCE 0x00000008L
460 #define ELF_DISABLECANCELLINK 0x00000010L
462 typedef struct tagOLEUIEDITLINKSW
468 LPFNOLEUIHOOK lpfnHook
;
471 LPCWSTR lpszTemplate
;
473 LPOLEUILINKCONTAINERW lpOleUILinkContainer
;
474 } OLEUIEDITLINKSW
, *POLEUIEDITLINKSW
, *LPOLEUIEDITLINKSW
;
476 typedef struct tagOLEUIEDITLINKSA
482 LPFNOLEUIHOOK lpfnHook
;
487 LPOLEUILINKCONTAINERA lpOleUILinkContainer
;
488 } OLEUIEDITLINKSA
, *POLEUIEDITLINKSA
, *LPOLEUIEDITLINKSA
;
490 DECL_WINELIB_TYPE_AW(OLEUIEDITLINKS
)
491 DECL_WINELIB_TYPE_AW(POLEUIEDITLINKS
)
492 DECL_WINELIB_TYPE_AW(LPOLEUIEDITLINKS
)
495 /***********************************************************************************
498 typedef struct tagOLEUIBUSYA
504 LPFNOLEUIHOOK lpfnHook
;
511 } OLEUIBUSYA
, *POLEUIBUSYA
, *LPOLEUIBUSYA
;
513 typedef struct tagOLEUIBUSYW
519 LPFNOLEUIHOOK lpfnHook
;
522 LPCWSTR lpszTemplate
;
526 } OLEUIBUSYW
, *POLEUIBUSYW
, *LPOLEUIBUSYW
;
528 DECL_WINELIB_TYPE_AW(OLEUIBUSY
)
529 DECL_WINELIB_TYPE_AW(POLEUIBUSY
)
530 DECL_WINELIB_TYPE_AW(LPOLEUIBUSY
)
533 #define BZ_DISABLECANCELBUTTON 0x00000001L
534 #define BZ_DISABLESWITCHTOBUTTON 0x00000002L
535 #define BZ_DISABLERETRYBUTTON 0x00000004L
536 #define BZ_NOTRESPONDINGDIALOG 0x00000008L
538 /***********************************************************************************
539 * OBJECT PROPERTIES DIALOG
542 struct tagOLEUIOBJECTPROPSW
;
543 struct tagOLEUIOBJECTPROPSA
;
545 typedef struct tagOLEUIGNRLPROPSA
549 DWORD dwReserved1
[2];
550 LPFNOLEUIHOOK lpfnHook
;
552 DWORD dwReserved2
[3];
553 struct tagOLEUIOBJECTPROPSA
* lpOP
;
555 } OLEUIGNRLPROPSA
, *POLEUIGNRLPROPSA
, *LPOLEUIGNRLPROPSA
;
557 typedef struct tagOLEUIGNRLPROPSW
561 DWORD dwReserved1
[2];
562 LPFNOLEUIHOOK lpfnHook
;
564 DWORD dwReserved2
[3];
565 struct tagOLEUIOBJECTPROPSW
* lpOP
;
566 } OLEUIGNRLPROPSW
, *POLEUIGNRLPROPSW
, *LPOLEUIGNRLPROPSW
;
568 DECL_WINELIB_TYPE_AW(OLEUIGNRLPROPS
)
569 DECL_WINELIB_TYPE_AW(POLEUIGNRLPROPS
)
570 DECL_WINELIB_TYPE_AW(LPOLEUIGNRLPROPS
)
572 typedef struct tagOLEUIVIEWPROPSA
576 DWORD dwReserved1
[2];
577 LPFNOLEUIHOOK lpfnHook
;
579 DWORD dwReserved2
[3];
580 struct tagOLEUIOBJECTPROPSA
* lpOP
;
583 } OLEUIVIEWPROPSA
, *POLEUIVIEWPROPSA
, *LPOLEUIVIEWPROPSA
;
585 typedef struct tagOLEUIVIEWPROPSW
589 DWORD dwReserved1
[2];
590 LPFNOLEUIHOOK lpfnHook
;
592 DWORD dwReserved2
[3];
593 struct tagOLEUIOBJECTPROPSW
* lpOP
;
596 } OLEUIVIEWPROPSW
, *POLEUIVIEWPROPSW
, *LPOLEUIVIEWPROPSW
;
598 DECL_WINELIB_TYPE_AW(OLEUIVIEWPROPS
)
599 DECL_WINELIB_TYPE_AW(POLEUIVIEWPROPS
)
600 DECL_WINELIB_TYPE_AW(LPOLEUIVIEWPROPS
)
603 #define VPF_SELECTRELATIVE 0x00000001L
604 #define VPF_DISABLERELATIVE 0x00000002L
605 #define VPF_DISABLESCALE 0x00000004L
607 typedef struct tagOLEUILINKPROPSA
611 DWORD dwReserved1
[2];
612 LPFNOLEUIHOOK lpfnHook
;
614 DWORD dwReserved2
[3];
615 struct tagOLEUIOBJECTPROPSA
* lpOP
;
616 } OLEUILINKPROPSA
, *POLEUILINKPROPSA
, *LPOLEUILINKPROPSA
;
618 typedef struct tagOLEUILINKPROPSW
622 DWORD dwReserved1
[2];
623 LPFNOLEUIHOOK lpfnHook
;
625 DWORD dwReserved2
[3];
626 struct tagOLEUIOBJECTPROPSW
* lpOP
;
627 } OLEUILINKPROPSW
, *POLEUILINKPROPSW
, *LPOLEUILINKPROPSW
;
629 DECL_WINELIB_TYPE_AW(OLEUILINKPROPS
)
630 DECL_WINELIB_TYPE_AW(POLEUILINKPROPS
)
631 DECL_WINELIB_TYPE_AW(LPOLEUILINKPROPS
)
633 typedef struct tagOLEUIOBJECTPROPSA
637 LPPROPSHEETHEADERA lpPS
;
639 LPOLEUIOBJINFOA lpObjInfo
;
641 LPOLEUILINKINFOA lpLinkInfo
;
642 LPOLEUIGNRLPROPSA lpGP
;
643 LPOLEUIVIEWPROPSA lpVP
;
644 LPOLEUILINKPROPSA lpLP
;
645 } OLEUIOBJECTPROPSA
, *POLEUIOBJECTPROPSA
, *LPOLEUIOBJECTPROPSA
;
647 typedef struct tagOLEUIOBJECTPROPSW
651 LPPROPSHEETHEADERW lpPS
;
653 LPOLEUIOBJINFOW lpObjInfo
;
655 LPOLEUILINKINFOW lpLinkInfo
;
656 LPOLEUIGNRLPROPSW lpGP
;
657 LPOLEUIVIEWPROPSW lpVP
;
658 LPOLEUILINKPROPSW lpLP
;
659 } OLEUIOBJECTPROPSW
, *POLEUIOBJECTPROPSW
, *LPOLEUIOBJECTPROPSW
;
661 DECL_WINELIB_TYPE_AW(OLEUIOBJECTPROPS
)
662 DECL_WINELIB_TYPE_AW(POLEUIOBJECTPROPS
)
663 DECL_WINELIB_TYPE_AW(LPOLEUIOBJECTPROPS
)
665 #define OPF_OBJECTISLINK 0x00000001L
666 #define OPF_NOFILLDEFAULT 0x00000002L
667 #define OPF_SHOWHELP 0x00000004L
668 #define OPF_DISABLECONVERT 0x00000008L
671 /************************************************************************************
672 * CHANGE SOURCE DIALOG
676 typedef struct tagOLEUICHANGESOURCEW
682 LPFNOLEUIHOOK lpfnHook
;
685 LPCWSTR lpszTemplate
;
688 DWORD dwReserved1
[4];
689 LPOLEUILINKCONTAINERW lpOleUILinkContainer
;
691 LPWSTR lpszDisplayName
;
695 } OLEUICHANGESOURCEW
, *POLEUICHANGESOURCEW
, *LPOLEUICHANGESOURCEW
;
698 typedef struct tagOLEUICHANGESOURCEA
704 LPFNOLEUIHOOK lpfnHook
;
709 OPENFILENAMEA
* lpOFN
;
710 DWORD dwReserved1
[4];
711 LPOLEUILINKCONTAINERA lpOleUILinkContainer
;
713 LPSTR lpszDisplayName
;
717 } OLEUICHANGESOURCEA
, *POLEUICHANGESOURCEA
, *LPOLEUICHANGESOURCEA
;
720 DECL_WINELIB_TYPE_AW(OLEUICHANGESOURCE
)
721 DECL_WINELIB_TYPE_AW(POLEUICHANGESOURCE
)
722 DECL_WINELIB_TYPE_AW(LPOLEUICHANGESOURCE
)
724 /* Change Source Dialog flags */
725 #define CSF_SHOWHELP 0x00000001L
726 #define CSF_VALIDSOURCE 0x00000002L
727 #define CSF_ONLYGETSOURCE 0x00000004L
728 #define CSF_EXPLORER 0x00000008L
731 /*****************************************************************************
732 * IOleUILinkContainer interface
734 #define INTERFACE IOleUILinkContainerA
735 DECLARE_INTERFACE_(IOleUILinkContainerA
,IUnknown
)
737 /*** IUnknown methods ***/
738 STDMETHOD_(HRESULT
,QueryInterface
)(THIS_ REFIID riid
, void** ppvObject
) PURE
;
739 STDMETHOD_(ULONG
,AddRef
)(THIS
) PURE
;
740 STDMETHOD_(ULONG
,Release
)(THIS
) PURE
;
741 /*** IOleUILinkContainerA methods ***/
742 STDMETHOD_(DWORD
,GetNextLink
)(THIS_ DWORD dwLink
) PURE
;
743 STDMETHOD(SetLinkUpdateOptions
)(THIS_ DWORD dwLink
, DWORD dwUpdateOpt
) PURE
;
744 STDMETHOD(GetLinkUpdateOptions
)(THIS_ DWORD dwLink
, DWORD
*lpdwUpdateOpt
) PURE
;
745 STDMETHOD(SetLinkSource
)(THIS_ DWORD dwLink
, LPSTR lpszDisplayName
,
746 ULONG lenFileName
, ULONG
*pchEaten
, BOOL fValidateSource
) PURE
;
747 STDMETHOD(GetLinkSource
)(THIS_ DWORD dwLink
, LPSTR
*lplpszDisplayName
, ULONG
*lplenFileName
,
748 LPSTR
*lplpszFullLinkType
, LPSTR
*lplpszShortLinkType
,
749 BOOL
*lpfSourceAvailable
, BOOL
*lpfIsSelected
) PURE
;
750 STDMETHOD(OpenLinkSource
)(THIS_ DWORD dwLink
) PURE
;
751 STDMETHOD(UpdateLink
)(THIS_ DWORD dwLink
, BOOL fErrorMessage
, BOOL fReserved
) PURE
;
752 STDMETHOD(CancelLink
)(THIS_ DWORD dwLink
) PURE
;
756 #define INTERFACE IOleUILinkContainerW
757 DECLARE_INTERFACE_(IOleUILinkContainerW
,IUnknown
)
759 /*** IUnknown methods ***/
760 STDMETHOD_(HRESULT
,QueryInterface
)(THIS_ REFIID riid
, void** ppvObject
) PURE
;
761 STDMETHOD_(ULONG
,AddRef
)(THIS
) PURE
;
762 STDMETHOD_(ULONG
,Release
)(THIS
) PURE
;
763 /*** IOleUILinkContainerW methods ***/
764 STDMETHOD_(DWORD
,GetNextLink
)(THIS_ DWORD dwLink
) PURE
;
765 STDMETHOD(SetLinkUpdateOptions
)(THIS_ DWORD dwLink
, DWORD dwUpdateOpt
) PURE
;
766 STDMETHOD(GetLinkUpdateOptions
)(THIS_ DWORD dwLink
, DWORD
*lpdwUpdateOpt
) PURE
;
767 STDMETHOD(SetLinkSource
)(THIS_ DWORD dwLink
, LPWSTR lpszDisplayName
,
768 ULONG lenFileName
, ULONG
*pchEaten
, BOOL fValidateSource
) PURE
;
769 STDMETHOD(GetLinkSource
)(THIS_ DWORD dwLink
, LPWSTR
*lplpszDisplayName
, ULONG
*lplenFileName
,
770 LPWSTR
*lplpszFullLinkType
, LPWSTR
*lplpszShortLinkType
,
771 BOOL
*lpfSourceAvailable
, BOOL
*lpfIsSelected
) PURE
;
772 STDMETHOD(OpenLinkSource
)(THIS_ DWORD dwLink
) PURE
;
773 STDMETHOD(UpdateLink
)(THIS_ DWORD dwLink
, BOOL fErrorMessage
, BOOL fReserved
) PURE
;
774 STDMETHOD(CancelLink
)(THIS_ DWORD dwLink
) PURE
;
778 DECL_WINELIB_TYPE_AW(IOleUILinkContainer
)
779 DECL_WINELIB_TYPE_AW(POLEUILINKCONTAINER
)
780 DECL_WINELIB_TYPE_AW(LPOLEUILINKCONTAINER
)
782 #if !defined(__cplusplus) || defined(CINTERFACE)
783 /*** IUnknown methods ***/
784 #define IOleUILinkContainer_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
785 #define IOleUILinkContainer_AddRef(p) (p)->lpVtbl->AddRef(p)
786 #define IOleUILinkContainer_Release(p) (p)->lpVtbl->Release(p)
787 /*** IOleUILinkContainer methods ***/
788 #define IOleUILinkContainer_GetNextLink(p,a) (p)->lpVtbl->GetNextLink(p,a)
789 #define IOleUILinkContainer_SetLinkUpdateOptions(p,a,b) (p)->lpVtbl->SetLinkUpdateOptions(p,a,b)
790 #define IOleUILinkContainer_GetLinkUpdateOptions(p,a,b) (p)->lpVtbl->GetLinkUpdateOptions(p,a,b)
791 #define IOleUILinkContainer_SetLinkSource(p,a,b,c,d,e) (p)->lpVtbl->SetLinkSource(p,a,b,c,d,e)
792 #define IOleUILinkContainer_GetLinkSource(p,a,b,c,d,e,f,g) (p)->lpVtbl->GetLinkSource(p,a,b,c,d,e,f,g)
793 #define IOleUILinkContainer_OpenLinkSource(p,a) (p)->lpVtbl->OpenLinkSource(p,a)
794 #define IOleUILinkContainer_UpdateLink(p,a,b,c) (p)->lpVtbl->UpdateLink(p,a,b,c)
795 #define IOleUILinkContainer_CancelLink(p,a) (p)->lpVtbl->CancelLink(p,a)
799 /*****************************************************************************
800 * IOleUILinkInfo interface
802 #define INTERFACE IOleUILinkInfoA
803 DECLARE_INTERFACE_(IOleUILinkInfoA
,IOleUILinkContainerA
)
805 /*** IUnknown methods ***/
806 STDMETHOD_(HRESULT
,QueryInterface
)(THIS_ REFIID riid
, void** ppvObject
) PURE
;
807 STDMETHOD_(ULONG
,AddRef
)(THIS
) PURE
;
808 STDMETHOD_(ULONG
,Release
)(THIS
) PURE
;
809 /*** IOleUILinkContainerA methods ***/
810 STDMETHOD_(DWORD
,GetNextLink
)(THIS_ DWORD dwLink
) PURE
;
811 STDMETHOD(SetLinkUpdateOptions
)(THIS_ DWORD dwLink
, DWORD dwUpdateOpt
) PURE
;
812 STDMETHOD(GetLinkUpdateOptions
)(THIS_ DWORD dwLink
, DWORD
*lpdwUpdateOpt
) PURE
;
813 STDMETHOD(SetLinkSource
)(THIS_ DWORD dwLink
, LPSTR lpszDisplayName
,
814 ULONG lenFileName
, ULONG
*pchEaten
, BOOL fValidateSource
) PURE
;
815 STDMETHOD(GetLinkSource
)(THIS_ DWORD dwLink
, LPSTR
*lplpszDisplayName
, ULONG
*lplenFileName
,
816 LPSTR
*lplpszFullLinkType
, LPSTR
*lplpszShortLinkType
,
817 BOOL
*lpfSourceAvailable
, BOOL
*lpfIsSelected
) PURE
;
818 STDMETHOD(OpenLinkSource
)(THIS_ DWORD dwLink
) PURE
;
819 STDMETHOD(UpdateLink
)(THIS_ DWORD dwLink
, BOOL fErrorMessage
, BOOL fReserved
) PURE
;
820 STDMETHOD(CancelLink
)(THIS_ DWORD dwLink
) PURE
;
821 /*** IOleUILinkInfoA methods ***/
822 STDMETHOD(GetLastUpdate
)(THIS_ DWORD dwLink
, FILETIME
*lpLastUpdate
) PURE
;
826 #define INTERFACE IOleUILinkInfoW
827 DECLARE_INTERFACE_(IOleUILinkInfoW
,IOleUILinkContainerW
)
829 /*** IUnknown methods ***/
830 STDMETHOD_(HRESULT
,QueryInterface
)(THIS_ REFIID riid
, void** ppvObject
) PURE
;
831 STDMETHOD_(ULONG
,AddRef
)(THIS
) PURE
;
832 STDMETHOD_(ULONG
,Release
)(THIS
) PURE
;
833 /*** IOleUILinkContainerW methods ***/
834 STDMETHOD_(DWORD
,GetNextLink
)(THIS_ DWORD dwLink
) PURE
;
835 STDMETHOD(SetLinkUpdateOptions
)(THIS_ DWORD dwLink
, DWORD dwUpdateOpt
) PURE
;
836 STDMETHOD(GetLinkUpdateOptions
)(THIS_ DWORD dwLink
, DWORD
*lpdwUpdateOpt
) PURE
;
837 STDMETHOD(SetLinkSource
)(THIS_ DWORD dwLink
, LPWSTR lpszDisplayName
,
838 ULONG lenFileName
, ULONG
*pchEaten
, BOOL fValidateSource
) PURE
;
839 STDMETHOD(GetLinkSource
)(THIS_ DWORD dwLink
, LPWSTR
*lplpszDisplayName
, ULONG
*lplenFileName
,
840 LPWSTR
*lplpszFullLinkType
, LPWSTR
*lplpszShortLinkType
,
841 BOOL
*lpfSourceAvailable
, BOOL
*lpfIsSelected
) PURE
;
842 STDMETHOD(OpenLinkSource
)(THIS_ DWORD dwLink
) PURE
;
843 STDMETHOD(UpdateLink
)(THIS_ DWORD dwLink
, BOOL fErrorMessage
, BOOL fReserved
) PURE
;
844 STDMETHOD(CancelLink
)(THIS_ DWORD dwLink
) PURE
;
845 /*** IOleUILinkInfoW methods ***/
846 STDMETHOD(GetLastUpdate
)(THIS_ DWORD dwLink
, FILETIME
*lpLastUpdate
) PURE
;
850 DECL_WINELIB_TYPE_AW(IOleUILinkInfo
)
851 DECL_WINELIB_TYPE_AW(POLEUILINKINFO
)
852 DECL_WINELIB_TYPE_AW(LPOLEUILINKINFO
)
854 #if !defined(__cplusplus) || defined(CINTERFACE)
855 /*** IUnknown methods ***/
856 #define IOleUILinkInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
857 #define IOleUILinkInfo_AddRef(p) (p)->lpVtbl->AddRef(p)
858 #define IOleUILinkInfo_Release(p) (p)->lpVtbl->Release(p)
859 /*** IOleUILinkContainer methods ***/
860 #define IOleUILinkInfo_GetNextLink(p,a) (p)->lpVtbl->GetNextLink(p,a)
861 #define IOleUILinkInfo_SetLinkUpdateOptions(p,a,b) (p)->lpVtbl->SetLinkUpdateOptions(p,a,b)
862 #define IOleUILinkInfo_GetLinkUpdateOptions(p,a,b) (p)->lpVtbl->GetLinkUpdateOptions(p,a,b)
863 #define IOleUILinkInfo_SetLinkSource(p,a,b,c,d,e) (p)->lpVtbl->SetLinkSource(p,a,b,c,d,e)
864 #define IOleUILinkInfo_GetLinkSource(p,a,b,c,d,e,f,g) (p)->lpVtbl->GetLinkSource(p,a,b,c,d,e,f,g)
865 #define IOleUILinkInfo_OpenLinkSource(p,a) (p)->lpVtbl->OpenLinkSource(p,a)
866 #define IOleUILinkInfo_UpdateLink(p,a,b,c) (p)->lpVtbl->UpdateLink(p,a,b,c)
867 #define IOleUILinkInfo_CancelLink(p,a) (p)->lpVtbl->CancelLink(p,a)
868 /*** IOleUILinkInfo methods ***/
869 #define IOleUILinkInfo_GetLastUpdate(p,a,b) (p)->lpVtbl->GetLastUpdate(p,a,b)
873 /*****************************************************************************
874 * IOleUIObjInfo interface
876 #define INTERFACE IOleUIObjInfoA
877 DECLARE_INTERFACE_(IOleUIObjInfoA
,IUnknown
)
879 /*** IUnknown methods ***/
880 STDMETHOD_(HRESULT
,QueryInterface
)(THIS_ REFIID riid
, void** ppvObject
) PURE
;
881 STDMETHOD_(ULONG
,AddRef
)(THIS
) PURE
;
882 STDMETHOD_(ULONG
,Release
)(THIS
) PURE
;
883 /*** IOleUIObjInfoA methods ***/
884 STDMETHOD(GetObjectInfo
)(THIS_ DWORD dwObject
, DWORD
*lpdwObjSize
, LPSTR
*lplpszLabel
,
885 LPSTR
*lplpszType
, LPSTR
*lplpszShortType
, LPSTR
*lplpszLocation
) PURE
;
886 STDMETHOD(GetConvertInfo
)(THIS_ DWORD dwObject
, CLSID
*lpClassID
, WORD
*lpwFormat
,
887 CLSID
*lpConvertDefaultClassID
, LPCLSID
*lplpClsidExclude
, UINT
*lpcClsidExclude
) PURE
;
888 STDMETHOD(ConvertObject
)(THIS_ DWORD dwObject
, REFCLSID clsidNew
) PURE
;
889 STDMETHOD(GetViewInfo
)(THIS_ DWORD dwObject
, HGLOBAL
*phMetaPict
, DWORD
*pdvAspect
, INT
*pnCurrentScale
) PURE
;
890 STDMETHOD(SetViewInfo
)(THIS_ DWORD dwObject
, HGLOBAL hMetaPict
, DWORD dvAspect
,
891 INT nCurrentScale
, BOOL bRelativeToOrig
) PURE
;
895 #define INTERFACE IOleUIObjInfoW
896 DECLARE_INTERFACE_(IOleUIObjInfoW
,IUnknown
)
898 /*** IUnknown methods ***/
899 STDMETHOD_(HRESULT
,QueryInterface
)(THIS_ REFIID riid
, void** ppvObject
) PURE
;
900 STDMETHOD_(ULONG
,AddRef
)(THIS
) PURE
;
901 STDMETHOD_(ULONG
,Release
)(THIS
) PURE
;
902 /*** IOleUIObjInfoW methods ***/
903 STDMETHOD(GetObjectInfo
)(THIS_ DWORD dwObject
, DWORD
*lpdwObjSize
, LPWSTR
*lplpszLabel
,
904 LPWSTR
*lplpszType
, LPWSTR
*lplpszShortType
, LPWSTR
*lplpszLocation
) PURE
;
905 STDMETHOD(GetConvertInfo
)(THIS_ DWORD dwObject
, CLSID
*lpClassID
, WORD
*lpwFormat
,
906 CLSID
*lpConvertDefaultClassID
, LPCLSID
*lplpClsidExclude
, UINT
*lpcClsidExclude
) PURE
;
907 STDMETHOD(ConvertObject
)(THIS_ DWORD dwObject
, REFCLSID clsidNew
) PURE
;
908 STDMETHOD(GetViewInfo
)(THIS_ DWORD dwObject
, HGLOBAL
*phMetaPict
, DWORD
*pdvAspect
, INT
*pnCurrentScale
) PURE
;
909 STDMETHOD(SetViewInfo
)(THIS_ DWORD dwObject
, HGLOBAL hMetaPict
, DWORD dvAspect
,
910 INT nCurrentScale
, BOOL bRelativeToOrig
) PURE
;
914 DECL_WINELIB_TYPE_AW(IOleUIObjInfo
)
915 DECL_WINELIB_TYPE_AW(POLEUIOBJINFO
)
916 DECL_WINELIB_TYPE_AW(LPOLEUIOBJINFO
)
918 #if !defined(__cplusplus) || defined(CINTERFACE)
919 /*** IUnknown methods ***/
920 #define IOleUIObjInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
921 #define IOleUIObjInfo_AddRef(p) (p)->lpVtbl->AddRef(p)
922 #define IOleUIObjInfo_Release(p) (p)->lpVtbl->Release(p)
923 /*** IOleUIObjInfo methods ***/
924 #define IOleUIObjInfo_GetObjectInfo(p,a,b,c,d,e,f) (p)->lpVtbl->GetObjectInfo(p,a,b,c,d,e,f)
925 #define IOleUIObjInfo_GetConvertInfo(p,a,b,c,d,e,f) (p)->lpVtbl->GetConvertInfo(p,a,b,c,d,e,f)
926 #define IOleUIObjInfo_ConvertObject(p,a,b) (p)->lpVtbl->ConvertObject(p,a,b)
927 #define IOleUIObjInfo_GetViewInfo(p,a,b,c,d) (p)->lpVtbl->GetViewInfo(p,a,b,c,d)
928 #define IOleUIObjInfo_SetViewInfo(p,a,b,c,d,e) (p)->lpVtbl->SetViewInfo(p,a,b,c,d,e)
931 UINT WINAPI
OleUIInsertObjectW(LPOLEUIINSERTOBJECTW
);
932 UINT WINAPI
OleUIInsertObjectA(LPOLEUIINSERTOBJECTA
);
933 #define OleUIInsertObject WINELIB_NAME_AW(OleUIInsertObject)
934 UINT WINAPI
OleUIConvertA(LPOLEUICONVERTA
);
935 UINT WINAPI
OleUIConvertW(LPOLEUICONVERTW
);
936 #define OleUIConvert WINELIB_NAME_AW(OleUIConvert)
937 UINT WINAPI
OleUIChangeIconA(LPOLEUICHANGEICONA
);
938 UINT WINAPI
OleUIChangeIconW(LPOLEUICHANGEICONW
);
939 #define OleUIChangeIcon WINELIB_NAME_AW(OleUIChangeIcon)
940 UINT WINAPI
OleUIBusyA(LPOLEUIBUSYA
);
941 UINT WINAPI
OleUIBusyW(LPOLEUIBUSYW
);
942 #define OleUIBusy WINELIB_NAME_AW(OleUIBusy)
943 UINT WINAPI
OleUIObjectPropertiesA(LPOLEUIOBJECTPROPSA
);
944 UINT WINAPI
OleUIObjectPropertiesW(LPOLEUIOBJECTPROPSW
);
945 #define OleUIObjectProperties WINELIB_NAME_AW(OleUIObjectProperties)
946 UINT WINAPI
OleUIChangeSourceW(LPOLEUICHANGESOURCEW
);
947 UINT WINAPI
OleUIChangeSourceA(LPOLEUICHANGESOURCEA
);
948 #define OleUIChangeSource WINELIB_NAME_AW(OleUIChangeSource)
949 UINT WINAPI
OleUIEditLinksA(LPOLEUIEDITLINKSA lpOleUIEditLinks
);
950 UINT WINAPI
OleUIEditLinksW(LPOLEUIEDITLINKSW lpOleUIEditLinks
);
951 #define OleUIEditLinks WINELIB_NAME_AW(OleUIEditLinks)
952 BOOL WINAPI
OleUIUpdateLinksA(LPOLEUILINKCONTAINERA lpOleUILinkCntr
, HWND hwndParent
, LPSTR lpszTitle
, INT cLinks
);
953 BOOL WINAPI
OleUIUpdateLinksW(LPOLEUILINKCONTAINERW lpOleUILinkCntr
, HWND hwndParent
, LPWSTR lpszTitle
, INT cLinks
);
954 #define OleUIUpdateLinks WINELIB_NAME_AW(OleUIUpdateLinks)
955 BOOL WINAPI
OleUIAddVerbMenuA(LPOLEOBJECT lpOleObj
, LPCSTR lpszShortType
, HMENU hMenu
, UINT uPos
, UINT uIDVerbMin
, UINT uIDVerbMax
,
956 BOOL bAddConvert
, UINT idConvert
, HMENU
*lphMenu
);
957 BOOL WINAPI
OleUIAddVerbMenuW(LPOLEOBJECT lpOleObj
, LPCWSTR lpszShortType
, HMENU hMenu
, UINT uPos
, UINT uIDVerbMin
, UINT uIDVerbMax
,
958 BOOL bAddConvert
, UINT idConvert
, HMENU
*lphMenu
);
959 #define OleUIAddVerbMenu WINELIB_NAME_AW(OleUIAddVerbMenu)
960 UINT WINAPI
OleUIPasteSpecialA(LPOLEUIPASTESPECIALA lpOleUIPasteSpecial
);
961 UINT WINAPI
OleUIPasteSpecialW(LPOLEUIPASTESPECIALW lpOleUIPasteSpecial
);
962 #define OleUIPasteSpecial WINELIB_NAME_AW(OleUIPasteSpecial)
963 INT __cdecl
OleUIPromptUserA(INT
,HWND
, ...);
964 INT __cdecl
OleUIPromptUserW(INT
,HWND
, ...);
965 #define OleUIPromptUser WINELIB_NAME_AW(OleUIPromptUser)
972 #endif /* __WINE_OLEDLG_H */