1 /**
2  * Windows API header module
3  *
4  * Translated from MinGW Windows headers
5  *
6  * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
7  * Source: $(DRUNTIMESRC core/sys/windows/_oledlg.d)
8  */
9 /// Automatically imported and edited from the druntime module
10 /// core.sys.windows.oledlg for the auto-generated win32 package.
11 module win32.oledlg;
12 @system:
13 //version (Windows):
14 
15 version (ANSI) {} else version = Unicode;
16 
17 import win32.commdlg, win32.dlgs, win32.ole2, win32.prsht, win32.shellapi;
18 import win32.winbase, win32.objidl, win32.objfwd, win32.winnt;
19 
20 // FIXME: remove inherited methods from interface definitions
21 
22 enum PS_MAXLINKTYPES=8;
23 
24 const TCHAR[] OLESTDDELIM = "\\";
25 const TCHAR[] SZOLEUI_MSG_HELP = "OLEUI_MSG_HELP";
26 const TCHAR[] SZOLEUI_MSG_ENDDIALOG = "OLEUI_MSG_ENDDIALOG";
27 const TCHAR[] SZOLEUI_MSG_BROWSE = "OLEUI_MSG_BROWSE";
28 const TCHAR[] SZOLEUI_MSG_CHANGEICON = "OLEUI_MSG_CHANGEICON";
29 const TCHAR[] SZOLEUI_MSG_CLOSEBUSYDIALOG = "OLEUI_MSG_CLOSEBUSYDIALOG";
30 const TCHAR[] SZOLEUI_MSG_CONVERT = "OLEUI_MSG_CONVERT";
31 const TCHAR[] SZOLEUI_MSG_CHANGESOURCE = "OLEUI_MSG_CHANGESOURCE";
32 const TCHAR[] SZOLEUI_MSG_ADDCONTROL = "OLEUI_MSG_ADDCONTROL";
33 const TCHAR[] SZOLEUI_MSG_BROWSE_OFN = "OLEUI_MSG_BROWSE_OFN";
34 
35 const TCHAR[] PROP_HWND_CHGICONDLG = "HWND_CIDLG";
36 
37 enum IDC_OLEUIHELP=99;
38 
39 enum {
40     IDC_IO_CREATENEW = 2100,
41     IDC_IO_CREATEFROMFILE,
42     IDC_IO_LINKFILE,
43     IDC_IO_OBJECTTYPELIST,
44     IDC_IO_DISPLAYASICON,
45     IDC_IO_CHANGEICON,
46     IDC_IO_FILE,
47     IDC_IO_FILEDISPLAY,
48     IDC_IO_RESULTIMAGE,
49     IDC_IO_RESULTTEXT,
50     IDC_IO_ICONDISPLAY,
51     IDC_IO_OBJECTTYPETEXT,
52     IDC_IO_FILETEXT,
53     IDC_IO_FILETYPE,
54     IDC_IO_INSERTCONTROL,
55     IDC_IO_ADDCONTROL,
56     IDC_IO_CONTROLTYPELIST // = 2116
57 }
58 
59 enum IDC_PS_PASTE=500;
60 enum IDC_PS_PASTELINK=501;
61 enum IDC_PS_SOURCETEXT=502;
62 enum IDC_PS_PASTELIST=503;
63 enum IDC_PS_PASTELINKLIST=504;
64 enum IDC_PS_DISPLAYLIST=505;
65 enum IDC_PS_DISPLAYASICON=506;
66 enum IDC_PS_ICONDISPLAY=507;
67 enum IDC_PS_CHANGEICON=508;
68 enum IDC_PS_RESULTIMAGE=509;
69 enum IDC_PS_RESULTTEXT=510;
70 
71 enum IDC_CI_GROUP=120;
72 enum IDC_CI_CURRENT=121;
73 enum IDC_CI_CURRENTICON=122;
74 enum IDC_CI_DEFAULT=123;
75 enum IDC_CI_DEFAULTICON=124;
76 enum IDC_CI_FROMFILE=125;
77 enum IDC_CI_FROMFILEEDIT=126;
78 enum IDC_CI_ICONLIST=127;
79 enum IDC_CI_LABEL=128;
80 enum IDC_CI_LABELEDIT=129;
81 enum IDC_CI_BROWSE=130;
82 enum IDC_CI_ICONDISPLAY=131;
83 
84 enum IDC_CV_OBJECTTYPE=150;
85 enum IDC_CV_DISPLAYASICON=152;
86 enum IDC_CV_CHANGEICON=153;
87 enum IDC_CV_ACTIVATELIST=154;
88 enum IDC_CV_CONVERTTO=155;
89 enum IDC_CV_ACTIVATEAS=156;
90 enum IDC_CV_RESULTTEXT=157;
91 enum IDC_CV_CONVERTLIST=158;
92 enum IDC_CV_ICONDISPLAY=165;
93 
94 enum IDC_EL_CHANGESOURCE=201;
95 enum IDC_EL_AUTOMATIC=202;
96 enum IDC_EL_CANCELLINK=209;
97 enum IDC_EL_UPDATENOW=210;
98 enum IDC_EL_OPENSOURCE=211;
99 enum IDC_EL_MANUAL=212;
100 enum IDC_EL_LINKSOURCE=216;
101 enum IDC_EL_LINKTYPE=217;
102 enum IDC_EL_LINKSLISTBOX=206;
103 enum IDC_EL_COL1=220;
104 enum IDC_EL_COL2=221;
105 enum IDC_EL_COL3=222;
106 
107 enum IDC_BZ_RETRY=600;
108 enum IDC_BZ_ICON=601;
109 enum IDC_BZ_MESSAGE1=602;
110 enum IDC_BZ_SWITCHTO=604;
111 
112 enum IDC_UL_METER=1029;
113 enum IDC_UL_STOP=1030;
114 enum IDC_UL_PERCENT=1031;
115 enum IDC_UL_PROGRESS=1032;
116 
117 enum IDC_PU_LINKS=900;
118 enum IDC_PU_TEXT=901;
119 enum IDC_PU_CONVERT=902;
120 enum IDC_PU_ICON=908;
121 
122 enum IDC_GP_OBJECTNAME=1009;
123 enum IDC_GP_OBJECTTYPE=1010;
124 enum IDC_GP_OBJECTSIZE=1011;
125 enum IDC_GP_CONVERT=1013;
126 enum IDC_GP_OBJECTICON=1014;
127 enum IDC_GP_OBJECTLOCATION=1022;
128 
129 enum IDC_VP_PERCENT=1000;
130 enum IDC_VP_CHANGEICON=1001;
131 enum IDC_VP_EDITABLE=1002;
132 enum IDC_VP_ASICON=1003;
133 enum IDC_VP_RELATIVE=1005;
134 enum IDC_VP_SPIN=1006;
135 enum IDC_VP_SCALETXT=1034;
136 enum IDC_VP_ICONDISPLAY=1021;
137 enum IDC_VP_RESULTIMAGE=1033;
138 
139 enum IDC_LP_OPENSOURCE=1006;
140 enum IDC_LP_UPDATENOW=1007;
141 enum IDC_LP_BREAKLINK=1008;
142 enum IDC_LP_LINKSOURCE=1012;
143 enum IDC_LP_CHANGESOURCE=1015;
144 enum IDC_LP_AUTOMATIC=1016;
145 enum IDC_LP_MANUAL=1017;
146 enum IDC_LP_DATE=1018;
147 enum IDC_LP_TIME=1019;
148 
149 enum IDD_INSERTOBJECT=1000;
150 enum IDD_CHANGEICON=1001;
151 enum IDD_CONVERT=1002;
152 enum IDD_PASTESPECIAL=1003;
153 enum IDD_EDITLINKS=1004;
154 enum IDD_BUSY=1006;
155 enum IDD_UPDATELINKS=1007;
156 enum IDD_CHANGESOURCE=1009;
157 enum IDD_INSERTFILEBROWSE=1010;
158 enum IDD_CHANGEICONBROWSE=1011;
159 enum IDD_CONVERTONLY=1012;
160 enum IDD_CHANGESOURCE4=1013;
161 enum IDD_GNRLPROPS=1100;
162 enum IDD_VIEWPROPS=1101;
163 enum IDD_LINKPROPS=1102;
164 enum IDD_CANNOTUPDATELINK=1008;
165 enum IDD_LINKSOURCEUNAVAILABLE=1020;
166 enum IDD_SERVERNOTFOUND=1023;
167 enum IDD_OUTOFMEMORY=1024;
168 enum IDD_SERVERNOTREGW=1021;
169 enum IDD_LINKTYPECHANGEDW=1022;
170 enum IDD_SERVERNOTREGA=1025;
171 enum IDD_LINKTYPECHANGEDA=1026;
172 
173 enum ID_BROWSE_CHANGEICON=1;
174 enum ID_BROWSE_INSERTFILE=2;
175 enum ID_BROWSE_ADDCONTROL=3;
176 enum ID_BROWSE_CHANGESOURCE=4;
177 
178 enum OLEUI_FALSE=0;
179 enum OLEUI_SUCCESS=1;
180 enum OLEUI_OK=1;
181 enum OLEUI_CANCEL=2;
182 
183 enum OLEUI_ERR_STANDARDMIN=100;
184 enum OLEUI_ERR_STRUCTURENULL=101;
185 enum OLEUI_ERR_STRUCTUREINVALID=102;
186 enum OLEUI_ERR_CBSTRUCTINCORRECT=103;
187 enum OLEUI_ERR_HWNDOWNERINVALID=104;
188 enum OLEUI_ERR_LPSZCAPTIONINVALID=105;
189 enum OLEUI_ERR_LPFNHOOKINVALID=106;
190 enum OLEUI_ERR_HINSTANCEINVALID=107;
191 enum OLEUI_ERR_LPSZTEMPLATEINVALID=108;
192 enum OLEUI_ERR_HRESOURCEINVALID=109;
193 enum OLEUI_ERR_FINDTEMPLATEFAILURE=110;
194 enum OLEUI_ERR_LOADTEMPLATEFAILURE=111;
195 enum OLEUI_ERR_DIALOGFAILURE=112;
196 enum OLEUI_ERR_LOCALMEMALLOC=113;
197 enum OLEUI_ERR_GLOBALMEMALLOC=114;
198 enum OLEUI_ERR_LOADSTRING=115;
199 enum OLEUI_ERR_OLEMEMALLOC=116;
200 enum OLEUI_ERR_STANDARDMAX=116;
201 
202 enum OPF_OBJECTISLINK=1;
203 enum OPF_NOFILLDEFAULT=2;
204 enum OPF_SHOWHELP=4;
205 enum OPF_DISABLECONVERT=8;
206 
207 enum OLEUI_OPERR_SUBPROPNULL=OLEUI_ERR_STANDARDMAX;
208 enum OLEUI_OPERR_SUBPROPINVALID=(OLEUI_ERR_STANDARDMAX+1);
209 enum OLEUI_OPERR_PROPSHEETNULL=(OLEUI_ERR_STANDARDMAX+2);
210 enum OLEUI_OPERR_PROPSHEETINVALID=(OLEUI_ERR_STANDARDMAX+3);
211 enum OLEUI_OPERR_SUPPROP=(OLEUI_ERR_STANDARDMAX+4);
212 enum OLEUI_OPERR_PROPSINVALID=(OLEUI_ERR_STANDARDMAX+5);
213 enum OLEUI_OPERR_PAGESINCORRECT=(OLEUI_ERR_STANDARDMAX+6);
214 enum OLEUI_OPERR_INVALIDPAGES=(OLEUI_ERR_STANDARDMAX+7);
215 enum OLEUI_OPERR_NOTSUPPORTED=(OLEUI_ERR_STANDARDMAX+8);
216 enum OLEUI_OPERR_DLGPROCNOTNULL=(OLEUI_ERR_STANDARDMAX+9);
217 enum OLEUI_OPERR_LPARAMNOTZERO=(OLEUI_ERR_STANDARDMAX+10);
218 enum OLEUI_GPERR_STRINGINVALID=(OLEUI_ERR_STANDARDMAX+11);
219 enum OLEUI_GPERR_CLASSIDINVALID=(OLEUI_ERR_STANDARDMAX+12);
220 enum OLEUI_GPERR_LPCLSIDEXCLUDEINVALID=(OLEUI_ERR_STANDARDMAX+13);
221 enum OLEUI_GPERR_CBFORMATINVALID=(OLEUI_ERR_STANDARDMAX+14);
222 enum OLEUI_VPERR_METAPICTINVALID=(OLEUI_ERR_STANDARDMAX+15);
223 enum OLEUI_VPERR_DVASPECTINVALID=(OLEUI_ERR_STANDARDMAX+16);
224 enum OLEUI_LPERR_LINKCNTRNULL=(OLEUI_ERR_STANDARDMAX+17);
225 enum OLEUI_LPERR_LINKCNTRINVALID=(OLEUI_ERR_STANDARDMAX+18);
226 enum OLEUI_OPERR_PROPERTYSHEET=(OLEUI_ERR_STANDARDMAX+19);
227 enum OLEUI_OPERR_OBJINFOINVALID=(OLEUI_ERR_STANDARDMAX+20);
228 enum OLEUI_OPERR_LINKINFOINVALID=(OLEUI_ERR_STANDARDMAX+21);
229 
230 enum OLEUI_QUERY_GETCLASSID=65280;
231 enum OLEUI_QUERY_LINKBROKEN=65281;
232 
233 enum IOF_SHOWHELP=1;
234 enum IOF_SELECTCREATENEW=2;
235 enum IOF_SELECTCREATEFROMFILE=4;
236 enum IOF_CHECKLINK=8;
237 enum IOF_CHECKDISPLAYASICON=16;
238 enum IOF_CREATENEWOBJECT=32;
239 enum IOF_CREATEFILEOBJECT=64;
240 enum IOF_CREATELINKOBJECT=128;
241 enum IOF_DISABLELINK=256;
242 enum IOF_VERIFYSERVERSEXIST=512;
243 enum IOF_DISABLEDISPLAYASICON=1024;
244 enum IOF_HIDECHANGEICON=2048;
245 enum IOF_SHOWINSERTCONTROL=4096;
246 enum IOF_SELECTCREATECONTROL=8192;
247 
248 enum OLEUI_IOERR_LPSZFILEINVALID=OLEUI_ERR_STANDARDMAX;
249 enum OLEUI_IOERR_LPSZLABELINVALID=(OLEUI_ERR_STANDARDMAX+1);
250 enum OLEUI_IOERR_HICONINVALID=(OLEUI_ERR_STANDARDMAX+2);
251 enum OLEUI_IOERR_LPFORMATETCINVALID=(OLEUI_ERR_STANDARDMAX+3);
252 enum OLEUI_IOERR_PPVOBJINVALID=(OLEUI_ERR_STANDARDMAX+4);
253 enum OLEUI_IOERR_LPIOLECLIENTSITEINVALID=(OLEUI_ERR_STANDARDMAX+5);
254 enum OLEUI_IOERR_LPISTORAGEINVALID=(OLEUI_ERR_STANDARDMAX+6);
255 enum OLEUI_IOERR_SCODEHASERROR=(OLEUI_ERR_STANDARDMAX+7);
256 enum OLEUI_IOERR_LPCLSIDEXCLUDEINVALID=(OLEUI_ERR_STANDARDMAX+8);
257 enum OLEUI_IOERR_CCHFILEINVALID=(OLEUI_ERR_STANDARDMAX+9);
258 
259 enum PSF_SHOWHELP=1;
260 enum PSF_SELECTPASTE=2;
261 enum PSF_SELECTPASTELINK=4;
262 enum PSF_CHECKDISPLAYASICON=8;
263 enum PSF_DISABLEDISPLAYASICON=16;
264 enum PSF_HIDECHANGEICON=32;
265 enum PSF_STAYONCLIPBOARDCHANGE=64;
266 enum PSF_NOREFRESHDATAOBJECT=128;
267 
268 enum OLEUI_IOERR_SRCDATAOBJECTINVALID=OLEUI_ERR_STANDARDMAX;
269 enum OLEUI_IOERR_ARRPASTEENTRIESINVALID=(OLEUI_ERR_STANDARDMAX+1);
270 enum OLEUI_IOERR_ARRLINKTYPESINVALID=(OLEUI_ERR_STANDARDMAX+2);
271 enum OLEUI_PSERR_CLIPBOARDCHANGED=(OLEUI_ERR_STANDARDMAX+3);
272 enum OLEUI_PSERR_GETCLIPBOARDFAILED=(OLEUI_ERR_STANDARDMAX+4);
273 enum OLEUI_ELERR_LINKCNTRNULL=OLEUI_ERR_STANDARDMAX;
274 enum OLEUI_ELERR_LINKCNTRINVALID=(OLEUI_ERR_STANDARDMAX+1);
275 
276 enum ELF_SHOWHELP=1;
277 enum ELF_DISABLEUPDATENOW=2;
278 enum ELF_DISABLEOPENSOURCE=4;
279 enum ELF_DISABLECHANGESOURCE=8;
280 enum ELF_DISABLECANCELLINK=16;
281 
282 enum CIF_SHOWHELP=1;
283 enum CIF_SELECTCURRENT=2;
284 enum CIF_SELECTDEFAULT=4;
285 enum CIF_SELECTFROMFILE=8;
286 enum CIF_USEICONEXE=16;
287 
288 enum OLEUI_CIERR_MUSTHAVECLSID=OLEUI_ERR_STANDARDMAX;
289 enum OLEUI_CIERR_MUSTHAVECURRENTMETAFILE=OLEUI_ERR_STANDARDMAX+1;
290 enum OLEUI_CIERR_SZICONEXEINVALID=OLEUI_ERR_STANDARDMAX+2;
291 
292 enum CF_SHOWHELPBUTTON=1;
293 enum CF_SETCONVERTDEFAULT=2;
294 enum CF_SETACTIVATEDEFAULT=4;
295 enum CF_SELECTCONVERTTO=8;
296 enum CF_SELECTACTIVATEAS=16;
297 enum CF_DISABLEDISPLAYASICON=32;
298 enum CF_DISABLEACTIVATEAS=64;
299 enum CF_HIDECHANGEICON=128;
300 enum CF_CONVERTONLY=256;
301 
302 enum OLEUI_CTERR_CLASSIDINVALID = OLEUI_ERR_STANDARDMAX+1;
303 enum OLEUI_CTERR_DVASPECTINVALID = OLEUI_ERR_STANDARDMAX+2;
304 enum OLEUI_CTERR_CBFORMATINVALID = OLEUI_ERR_STANDARDMAX+3;
305 enum OLEUI_CTERR_HMETAPICTINVALID = OLEUI_ERR_STANDARDMAX+4;
306 enum OLEUI_CTERR_STRINGINVALID = OLEUI_ERR_STANDARDMAX+5;
307 
308 enum BZ_DISABLECANCELBUTTON = 1;
309 enum BZ_DISABLESWITCHTOBUTTON = 2;
310 enum BZ_DISABLERETRYBUTTON = 4;
311 enum BZ_NOTRESPONDINGDIALOG = 8;
312 
313 enum OLEUI_BZERR_HTASKINVALID = OLEUI_ERR_STANDARDMAX;
314 enum OLEUI_BZ_SWITCHTOSELECTED = OLEUI_ERR_STANDARDMAX+1;
315 enum OLEUI_BZ_RETRYSELECTED = OLEUI_ERR_STANDARDMAX+2;
316 enum OLEUI_BZ_CALLUNBLOCKED = OLEUI_ERR_STANDARDMAX+3;
317 
318 enum CSF_SHOWHELP = 1;
319 enum CSF_VALIDSOURCE = 2;
320 enum CSF_ONLYGETSOURCE = 4;
321 enum CSF_EXPLORER = 8;
322 
323 enum OLEUI_CSERR_LINKCNTRNULL = OLEUI_ERR_STANDARDMAX;
324 enum OLEUI_CSERR_LINKCNTRINVALID = OLEUI_ERR_STANDARDMAX+1;
325 enum OLEUI_CSERR_FROMNOTNULL = OLEUI_ERR_STANDARDMAX+2;
326 enum OLEUI_CSERR_TONOTNULL = OLEUI_ERR_STANDARDMAX+3;
327 enum OLEUI_CSERR_SOURCENULL = OLEUI_ERR_STANDARDMAX+4;
328 enum OLEUI_CSERR_SOURCEINVALID = OLEUI_ERR_STANDARDMAX+5;
329 enum OLEUI_CSERR_SOURCEPARSERROR = OLEUI_ERR_STANDARDMAX+6;
330 enum OLEUI_CSERR_SOURCEPARSEERROR = OLEUI_ERR_STANDARDMAX+7;
331 
332 enum VPF_SELECTRELATIVE=1;
333 enum VPF_DISABLERELATIVE=2;
334 enum VPF_DISABLESCALE=4;
335 
336 align(8):
337 extern (Windows) {
338     alias UINT function(HWND, UINT, WPARAM, LPARAM) LPFNOLEUIHOOK;
339 }
340 
341 struct OLEUIINSERTOBJECTW {
342     DWORD cbStruct;
343     DWORD dwFlags;
344     HWND hWndOwner;
345     LPCWSTR lpszCaption;
346     LPFNOLEUIHOOK lpfnHook;
347     LPARAM lCustData;
348     HINSTANCE hInstance;
349     LPCWSTR lpszTemplate;
350     HRSRC hResource;
351     CLSID clsid;
352     LPWSTR lpszFile;
353     UINT cchFile;
354     UINT cClsidExclude;
355     LPCLSID lpClsidExclude;
356     IID iid;
357     DWORD oleRender;
358     LPFORMATETC lpFormatEtc;
359     LPOLECLIENTSITE lpIOleClientSite;
360     LPSTORAGE lpIStorage;
361     PVOID *ppvObj;
362     SCODE sc;
363     HGLOBAL hMetaPict;
364 }
365 alias OLEUIINSERTOBJECTW* POLEUIINSERTOBJECTW, LPOLEUIINSERTOBJECTW;
366 
367 struct OLEUIINSERTOBJECTA {
368     DWORD cbStruct;
369     DWORD dwFlags;
370     HWND hWndOwner;
371     LPCSTR lpszCaption;
372     LPFNOLEUIHOOK lpfnHook;
373     LPARAM lCustData;
374     HINSTANCE hInstance;
375     LPCSTR lpszTemplate;
376     HRSRC hResource;
377     CLSID clsid;
378     LPSTR lpszFile;
379     UINT cchFile;
380     UINT cClsidExclude;
381     LPCLSID lpClsidExclude;
382     IID iid;
383     DWORD oleRender;
384     LPFORMATETC lpFormatEtc;
385     LPOLECLIENTSITE lpIOleClientSite;
386     LPSTORAGE lpIStorage;
387     PVOID *ppvObj;
388     SCODE sc;
389     HGLOBAL hMetaPict;
390 }
391 alias OLEUIINSERTOBJECTA* POLEUIINSERTOBJECTA, LPOLEUIINSERTOBJECTA;
392 
393 extern (Windows) {
394     UINT OleUIInsertObjectW(LPOLEUIINSERTOBJECTW);
395     UINT OleUIInsertObjectA(LPOLEUIINSERTOBJECTA);
396 }
397 
398 enum OLEUIPASTEFLAG {
399     OLEUIPASTE_PASTEONLY,
400     OLEUIPASTE_LINKTYPE1,
401     OLEUIPASTE_LINKTYPE2,
402     OLEUIPASTE_LINKTYPE3 = 4,
403     OLEUIPASTE_LINKTYPE4 = 8,
404     OLEUIPASTE_LINKTYPE5 = 16,
405     OLEUIPASTE_LINKTYPE6 = 32,
406     OLEUIPASTE_LINKTYPE7 = 64,
407     OLEUIPASTE_LINKTYPE8 = 128,
408     OLEUIPASTE_PASTE = 512,
409     OLEUIPASTE_LINKANYTYPE = 1024,
410     OLEUIPASTE_ENABLEICON = 2048
411 }
412 
413 struct OLEUIPASTEENTRYW {
414     FORMATETC fmtetc;
415     LPCWSTR lpstrFormatName;
416     LPCWSTR lpstrResultText;
417     DWORD dwFlags;
418     DWORD dwScratchSpace;
419 }
420 alias OLEUIPASTEENTRYW* POLEUIPASTEENTRYW, LPOLEUIPASTEENTRYW;
421 
422 struct OLEUIPASTEENTRYA {
423     FORMATETC fmtetc;
424     LPCSTR lpstrFormatName;
425     LPCSTR lpstrResultText;
426     DWORD dwFlags;
427     DWORD dwScratchSpace;
428 }
429 alias OLEUIPASTEENTRYA* POLEUIPASTEENTRYA, LPOLEUIPASTEENTRYA;
430 
431 struct OLEUIPASTESPECIALW {
432     DWORD cbStruct;
433     DWORD dwFlags;
434     HWND hWndOwner;
435     LPCWSTR lpszCaption;
436     LPFNOLEUIHOOK lpfnHook;
437     LPARAM lCustData;
438     HINSTANCE hInstance;
439     LPCWSTR lpszTemplate;
440     HRSRC hResource;
441     LPDATAOBJECT lpSrcDataObj;
442     LPOLEUIPASTEENTRYW arrPasteEntries;
443     int cPasteEntries;
444     UINT *arrLinkTypes;
445     int cLinkTypes;
446     UINT cClsidExclude;
447     LPCLSID lpClsidExclude;
448     int nSelectedIndex;
449     BOOL fLink;
450     HGLOBAL hMetaPict;
451     SIZEL sizel;
452 }
453 alias OLEUIPASTESPECIALW* POLEUIPASTESPECIALW, LPOLEUIPASTESPECIALW;
454 
455 struct OLEUIPASTESPECIALA {
456     DWORD cbStruct;
457     DWORD dwFlags;
458     HWND hWndOwner;
459     LPCSTR lpszCaption;
460     LPFNOLEUIHOOK lpfnHook;
461     LPARAM lCustData;
462     HINSTANCE hInstance;
463     LPCSTR lpszTemplate;
464     HRSRC hResource;
465     LPDATAOBJECT lpSrcDataObj;
466     LPOLEUIPASTEENTRYA arrPasteEntries;
467     int cPasteEntries;
468     UINT* arrLinkTypes;
469     int cLinkTypes;
470     UINT cClsidExclude;
471     LPCLSID lpClsidExclude;
472     int nSelectedIndex;
473     BOOL fLink;
474     HGLOBAL hMetaPict;
475     SIZEL sizel;
476 }
477 alias OLEUIPASTESPECIALA* POLEUIPASTESPECIALA, LPOLEUIPASTESPECIALA;
478 
479 interface IOleUILinkContainerW : IUnknown
480 {
481     HRESULT QueryInterface(REFIID, PVOID*);
482     ULONG AddRef();
483     ULONG Release();
484     DWORD GetNextLink(DWORD dwLink);
485     HRESULT SetLinkUpdateOptions(DWORD, DWORD);
486     HRESULT GetLinkUpdateOptions(DWORD, PDWORD);
487     HRESULT SetLinkSource(DWORD, LPWSTR, ULONG, PULONG, BOOL);
488     HRESULT GetLinkSource(DWORD, LPWSTR*, PULONG, LPWSTR*, LPWSTR*, BOOL*, BOOL*);
489     HRESULT OpenLinkSource(DWORD);
490     HRESULT UpdateLink(DWORD, BOOL, BOOL);
491     HRESULT CancelLink(DWORD);
492 }
493 alias IOleUILinkContainerW LPOLEUILINKCONTAINERW;
494 
495 interface IOleUILinkContainerA : IUnknown
496 {
497     HRESULT QueryInterface(REFIID, PVOID*);
498     ULONG AddRef();
499     ULONG Release();
500     DWORD GetNextLink(DWORD);
501     HRESULT SetLinkUpdateOptions(DWORD, DWORD);
502     HRESULT GetLinkUpdateOptions(DWORD, PDWORD);
503     HRESULT SetLinkSource(DWORD, LPSTR, ULONG, PULONG, BOOL);
504     HRESULT GetLinkSource(DWORD, LPSTR*, PULONG, LPSTR*, LPSTR*, BOOL*, BOOL*);
505     HRESULT OpenLinkSource(DWORD);
506     HRESULT UpdateLink(DWORD, BOOL, BOOL);
507     HRESULT CancelLink(DWORD);
508 }
509 alias IOleUILinkContainerA LPOLEUILINKCONTAINERA;
510 
511 struct OLEUIEDITLINKSW {
512     DWORD cbStruct;
513     DWORD dwFlags;
514     HWND hWndOwner;
515     LPCWSTR lpszCaption;
516     LPFNOLEUIHOOK lpfnHook;
517     LPARAM lCustData;
518     HINSTANCE hInstance;
519     LPCWSTR lpszTemplate;
520     HRSRC hResource;
521     LPOLEUILINKCONTAINERW lpOleUILinkContainer;
522 }
523 alias OLEUIEDITLINKSW* POLEUIEDITLINKSW, LPOLEUIEDITLINKSW;
524 
525 struct OLEUIEDITLINKSA {
526     DWORD cbStruct;
527     DWORD dwFlags;
528     HWND hWndOwner;
529     LPCSTR lpszCaption;
530     LPFNOLEUIHOOK lpfnHook;
531     LPARAM lCustData;
532     HINSTANCE hInstance;
533     LPCSTR lpszTemplate;
534     HRSRC hResource;
535     LPOLEUILINKCONTAINERA lpOleUILinkContainer;
536 }
537 alias OLEUIEDITLINKSA* POLEUIEDITLINKSA, LPOLEUIEDITLINKSA;
538 
539 struct OLEUICHANGEICONW {
540     DWORD cbStruct;
541     DWORD dwFlags;
542     HWND hWndOwner;
543     LPCWSTR lpszCaption;
544     LPFNOLEUIHOOK lpfnHook;
545     LPARAM lCustData;
546     HINSTANCE hInstance;
547     LPCWSTR lpszTemplate;
548     HRSRC hResource;
549     HGLOBAL hMetaPict;
550     CLSID clsid;
551     WCHAR[MAX_PATH] szIconExe = 0;
552     int cchIconExe;
553 }
554 alias OLEUICHANGEICONW* POLEUICHANGEICONW, LPOLEUICHANGEICONW;
555 
556 struct OLEUICHANGEICONA {
557     DWORD cbStruct;
558     DWORD dwFlags;
559     HWND hWndOwner;
560     LPCSTR lpszCaption;
561     LPFNOLEUIHOOK lpfnHook;
562     LPARAM lCustData;
563     HINSTANCE hInstance;
564     LPCSTR lpszTemplate;
565     HRSRC hResource;
566     HGLOBAL hMetaPict;
567     CLSID clsid;
568     CHAR[MAX_PATH] szIconExe = 0;
569     int cchIconExe;
570 }
571 alias OLEUICHANGEICONA* POLEUICHANGEICONA, LPOLEUICHANGEICONA;
572 
573 struct OLEUICONVERTW {
574     DWORD cbStruct;
575     DWORD dwFlags;
576     HWND hWndOwner;
577     LPCWSTR lpszCaption;
578     LPFNOLEUIHOOK lpfnHook;
579     LPARAM lCustData;
580     HINSTANCE hInstance;
581     LPCWSTR lpszTemplate;
582     HRSRC hResource;
583     CLSID clsid;
584     CLSID clsidConvertDefault;
585     CLSID clsidActivateDefault;
586     CLSID clsidNew;
587     DWORD dvAspect;
588     WORD wFormat;
589     BOOL fIsLinkedObject;
590     HGLOBAL hMetaPict;
591     LPWSTR lpszUserType;
592     BOOL fObjectsIconChanged;
593     LPWSTR lpszDefLabel;
594     UINT cClsidExclude;
595     LPCLSID lpClsidExclude;
596 }
597 alias OLEUICONVERTW* POLEUICONVERTW, LPOLEUICONVERTW;
598 
599 struct OLEUICONVERTA {
600     DWORD cbStruct;
601     DWORD dwFlags;
602     HWND hWndOwner;
603     LPCSTR lpszCaption;
604     LPFNOLEUIHOOK lpfnHook;
605     LPARAM lCustData;
606     HINSTANCE hInstance;
607     LPCSTR lpszTemplate;
608     HRSRC hResource;
609     CLSID clsid;
610     CLSID clsidConvertDefault;
611     CLSID clsidActivateDefault;
612     CLSID clsidNew;
613     DWORD dvAspect;
614     WORD wFormat;
615     BOOL fIsLinkedObject;
616     HGLOBAL hMetaPict;
617     LPSTR lpszUserType;
618     BOOL fObjectsIconChanged;
619     LPSTR lpszDefLabel;
620     UINT cClsidExclude;
621     LPCLSID lpClsidExclude;
622 }
623 alias OLEUICONVERTA* POLEUICONVERTA, LPOLEUICONVERTA;
624 
625 struct OLEUIBUSYW {
626     DWORD cbStruct;
627     DWORD dwFlags;
628     HWND hWndOwner;
629     LPCWSTR lpszCaption;
630     LPFNOLEUIHOOK lpfnHook;
631     LPARAM lCustData;
632     HINSTANCE hInstance;
633     LPCWSTR lpszTemplate;
634     HRSRC hResource;
635     HTASK hTask;
636     HWND *lphWndDialog;
637 }
638 alias OLEUIBUSYW* POLEUIBUSYW, LPOLEUIBUSYW;
639 
640 struct OLEUIBUSYA {
641     DWORD cbStruct;
642     DWORD dwFlags;
643     HWND hWndOwner;
644     LPCSTR lpszCaption;
645     LPFNOLEUIHOOK lpfnHook;
646     LPARAM lCustData;
647     HINSTANCE hInstance;
648     LPCSTR lpszTemplate;
649     HRSRC hResource;
650     HTASK hTask;
651     HWND *lphWndDialog;
652 }
653 alias OLEUIBUSYA* POLEUIBUSYA, LPOLEUIBUSYA;
654 
655 struct OLEUICHANGESOURCEW {
656     DWORD cbStruct;
657     DWORD dwFlags;
658     HWND hWndOwner;
659     LPCWSTR lpszCaption;
660     LPFNOLEUIHOOK lpfnHook;
661     LPARAM lCustData;
662     HINSTANCE hInstance;
663     LPCWSTR lpszTemplate;
664     HRSRC hResource;
665     OPENFILENAMEW* lpOFN;
666     DWORD[4] dwReserved1;
667     LPOLEUILINKCONTAINERW lpOleUILinkContainer;
668     DWORD dwLink;
669     LPWSTR lpszDisplayName;
670     ULONG nFileLength;
671     LPWSTR lpszFrom;
672     LPWSTR lpszTo;
673 }
674 alias OLEUICHANGESOURCEW* POLEUICHANGESOURCEW, LPOLEUICHANGESOURCEW;
675 
676 struct OLEUICHANGESOURCEA {
677     DWORD cbStruct;
678     DWORD dwFlags;
679     HWND hWndOwner;
680     LPCSTR lpszCaption;
681     LPFNOLEUIHOOK lpfnHook;
682     LPARAM lCustData;
683     HINSTANCE hInstance;
684     LPCSTR lpszTemplate;
685     HRSRC hResource;
686     OPENFILENAMEA *lpOFN;
687     DWORD[4] dwReserved1;
688     LPOLEUILINKCONTAINERA lpOleUILinkContainer;
689     DWORD dwLink;
690     LPSTR lpszDisplayName;
691     ULONG nFileLength;
692     LPSTR lpszFrom;
693     LPSTR lpszTo;
694 }
695 alias OLEUICHANGESOURCEA* POLEUICHANGESOURCEA, LPOLEUICHANGESOURCEA;
696 
697 interface IOleUIObjInfoW : IUnknown
698 {
699     HRESULT QueryInterface(REFIID, PVOID*);
700     ULONG AddRef();
701     ULONG Release();
702     HRESULT GetObjectInfo(DWORD, PDWORD, LPWSTR*, LPWSTR*, LPWSTR*, LPWSTR*);
703     HRESULT GetConvertInfo(DWORD, CLSID*, PWORD, CLSID*, LPCLSID*, UINT*);
704     HRESULT ConvertObject(DWORD, REFCLSID);
705     HRESULT GetViewInfo(DWORD, HGLOBAL*, PDWORD, int*);
706     HRESULT SetViewInfo(DWORD, HGLOBAL, DWORD, int, BOOL);
707 }
708 alias IOleUIObjInfoW LPOLEUIOBJINFOW;
709 
710 interface IOleUIObjInfoA : IUnknown
711 {
712     HRESULT QueryInterface(REFIID, PVOID*);
713     ULONG AddRef();
714     ULONG Release();
715     HRESULT GetObjectInfo(DWORD, PDWORD, LPSTR*, LPSTR*, LPSTR*, LPSTR*);
716     HRESULT GetConvertInfo(DWORD, CLSID*, PWORD, CLSID*, LPCLSID*, UINT*);
717     HRESULT ConvertObject(DWORD, REFCLSID);
718     HRESULT GetViewInfo(DWORD, HGLOBAL*, PDWORD, int*);
719     HRESULT SetViewInfo(DWORD, HGLOBAL, DWORD, int, BOOL);
720 }
721 alias IOleUIObjInfoA LPOLEUIOBJINFOA;
722 
723 interface IOleUILinkInfoW : IOleUILinkContainerW
724 {
725     HRESULT QueryInterface(REFIID, PVOID*);
726     ULONG AddRef();
727     ULONG Release();
728     DWORD GetNextLink(DWORD);
729     HRESULT SetLinkUpdateOptions(DWORD, DWORD);
730     HRESULT GetLinkUpdateOptions(DWORD, DWORD*);
731     HRESULT SetLinkSource(DWORD, LPWSTR, ULONG, PULONG, BOOL);
732     HRESULT GetLinkSource(DWORD, LPWSTR*, PULONG, LPWSTR*, LPWSTR*, BOOL*, BOOL*);
733     HRESULT OpenLinkSource(DWORD);
734     HRESULT UpdateLink(DWORD, BOOL, BOOL);
735     HRESULT CancelLink(DWORD);
736     HRESULT GetLastUpdate(DWORD, FILETIME*);
737 }
738 alias IOleUILinkInfoW LPOLEUILINKINFOW;
739 
740 interface IOleUILinkInfoA : IOleUILinkContainerA
741 {
742     HRESULT QueryInterface(REFIID, PVOID*);
743     ULONG AddRef();
744     ULONG Release();
745     DWORD GetNextLink(DWORD);
746     HRESULT SetLinkUpdateOptions(DWORD, DWORD);
747     HRESULT GetLinkUpdateOptions(DWORD, DWORD*);
748     HRESULT SetLinkSource(DWORD, LPSTR, ULONG, PULONG, BOOL);
749     HRESULT GetLinkSource(DWORD, LPSTR*, PULONG, LPSTR*, LPSTR*, BOOL*, BOOL*);
750     HRESULT OpenLinkSource(DWORD);
751     HRESULT UpdateLink(DWORD, BOOL, BOOL);
752     HRESULT CancelLink(DWORD);
753     HRESULT GetLastUpdate(DWORD, FILETIME*);
754 }
755 alias IOleUILinkInfoA LPOLEUILINKINFOA;
756 
757 struct OLEUIGNRLPROPSW {
758     DWORD cbStruct;
759     DWORD dwFlags;
760     DWORD[2] dwReserved1;
761     LPFNOLEUIHOOK lpfnHook;
762     LPARAM lCustData;
763     DWORD[3] dwReserved2;
764     OLEUIOBJECTPROPSW* lpOP;
765 }
766 alias OLEUIGNRLPROPSW* POLEUIGNRLPROPSW, LPOLEUIGNRLPROPSW;
767 
768 struct OLEUIGNRLPROPSA {
769     DWORD cbStruct;
770     DWORD dwFlags;
771     DWORD[2] dwReserved1;
772     LPFNOLEUIHOOK lpfnHook;
773     LPARAM lCustData;
774     DWORD[3] dwReserved2;
775     OLEUIOBJECTPROPSA* lpOP;
776 }
777 alias OLEUIGNRLPROPSA* POLEUIGNRLPROPSA, LPOLEUIGNRLPROPSA;
778 
779 struct OLEUIVIEWPROPSW {
780     DWORD cbStruct;
781     DWORD dwFlags;
782     DWORD[2] dwReserved1;
783     LPFNOLEUIHOOK lpfnHook;
784     LPARAM lCustData;
785     DWORD[3] dwReserved2;
786     OLEUIOBJECTPROPSW* lpOP;
787     int nScaleMin;
788     int nScaleMax;
789 }
790 alias OLEUIVIEWPROPSW* POLEUIVIEWPROPSW, LPOLEUIVIEWPROPSW;
791 
792 struct OLEUIVIEWPROPSA {
793     DWORD cbStruct;
794     DWORD dwFlags;
795     DWORD[2] dwReserved1;
796     LPFNOLEUIHOOK lpfnHook;
797     LPARAM lCustData;
798     DWORD[3] dwReserved2;
799     OLEUIOBJECTPROPSA *lpOP;
800     int nScaleMin;
801     int nScaleMax;
802 }
803 alias OLEUIVIEWPROPSA* POLEUIVIEWPROPSA, LPOLEUIVIEWPROPSA;
804 
805 struct OLEUILINKPROPSW {
806     DWORD cbStruct;
807     DWORD dwFlags;
808     DWORD[2] dwReserved1;
809     LPFNOLEUIHOOK lpfnHook;
810     LPARAM lCustData;
811     DWORD[3] dwReserved2;
812     OLEUIOBJECTPROPSW *lpOP;
813 }
814 alias OLEUILINKPROPSW* POLEUILINKPROPSW, LPOLEUILINKPROPSW;
815 
816 struct OLEUILINKPROPSA {
817     DWORD cbStruct;
818     DWORD dwFlags;
819     DWORD[2] dwReserved1;
820     LPFNOLEUIHOOK lpfnHook;
821     LPARAM lCustData;
822     DWORD[3] dwReserved2;
823     OLEUIOBJECTPROPSA* lpOP;
824 }
825 alias OLEUILINKPROPSA*  POLEUILINKPROPSA, LPOLEUILINKPROPSA;
826 
827 struct OLEUIOBJECTPROPSW {
828     DWORD cbStruct;
829     DWORD dwFlags;
830     LPPROPSHEETHEADERW lpPS;
831     DWORD dwObject;
832     LPOLEUIOBJINFOW lpObjInfo;
833     DWORD dwLink;
834     LPOLEUILINKINFOW lpLinkInfo;
835     LPOLEUIGNRLPROPSW lpGP;
836     LPOLEUIVIEWPROPSW lpVP;
837     LPOLEUILINKPROPSW lpLP;
838 }
839 alias OLEUIOBJECTPROPSW* POLEUIOBJECTPROPSW, LPOLEUIOBJECTPROPSW;
840 
841 struct OLEUIOBJECTPROPSA {
842     DWORD cbStruct;
843     DWORD dwFlags;
844     LPPROPSHEETHEADERA lpPS;
845     DWORD dwObject;
846     LPOLEUIOBJINFOA lpObjInfo;
847     DWORD dwLink;
848     LPOLEUILINKINFOA lpLinkInfo;
849     LPOLEUIGNRLPROPSA lpGP;
850     LPOLEUIVIEWPROPSA lpVP;
851     LPOLEUILINKPROPSA lpLP;
852 }
853 alias OLEUIOBJECTPROPSA* POLEUIOBJECTPROPSA, LPOLEUIOBJECTPROPSA;
854 
855 extern (Windows) {
856     BOOL OleUIAddVerbMenuW(LPOLEOBJECT, LPCWSTR, HMENU, UINT, UINT, UINT, BOOL, UINT, HMENU*);
857     BOOL OleUIAddVerbMenuA(LPOLEOBJECT, LPCSTR, HMENU, UINT, UINT, UINT, BOOL, UINT, HMENU*);
858     UINT OleUIBusyW(LPOLEUIBUSYW);
859     UINT OleUIBusyA(LPOLEUIBUSYA);
860     BOOL OleUICanConvertOrActivateAs(REFCLSID, BOOL, WORD);
861     UINT OleUIChangeIconW(LPOLEUICHANGEICONW);
862     UINT OleUIChangeIconA(LPOLEUICHANGEICONA);
863     UINT OleUIChangeSourceW(LPOLEUICHANGESOURCEW);
864     UINT OleUIChangeSourceA(LPOLEUICHANGESOURCEA);
865     UINT OleUIConvertW(LPOLEUICONVERTW);
866     UINT OleUIConvertA(LPOLEUICONVERTA);
867     UINT OleUIEditLinksW(LPOLEUIEDITLINKSW);
868     UINT OleUIEditLinksA(LPOLEUIEDITLINKSA);
869     UINT OleUIObjectPropertiesW(LPOLEUIOBJECTPROPSW);
870     UINT OleUIObjectPropertiesA(LPOLEUIOBJECTPROPSA);
871     UINT OleUIPasteSpecialW(LPOLEUIPASTESPECIALW);
872     UINT OleUIPasteSpecialA(LPOLEUIPASTESPECIALA);
873     BOOL OleUIUpdateLinksW(LPOLEUILINKCONTAINERW, HWND, LPWSTR, int);
874     BOOL OleUIUpdateLinksA(LPOLEUILINKCONTAINERA, HWND, LPSTR, int);
875 }
876 
877 extern (C) {
878     int OleUIPromptUserW(int, HWND, ...);
879     int OleUIPromptUserA(int, HWND, ...);
880 }
881 
882 version (Unicode) {
883     alias IDD_SERVERNOTREGW IDD_SERVERNOTREG;
884     alias IDD_LINKTYPECHANGEDW IDD_LINKTYPECHANGED;
885     alias OleUIUpdateLinksW OleUIUpdateLinks;
886     alias OleUIAddVerbMenuW OleUIAddVerbMenu;
887     alias OLEUIOBJECTPROPSW OLEUIOBJECTPROPS;
888     alias POLEUIOBJECTPROPSW POLEUIOBJECTPROPS;
889     alias LPOLEUIOBJECTPROPSW LPOLEUIOBJECTPROPS;
890     alias OleUIObjectPropertiesW OleUIObjectProperties;
891     alias OLEUIINSERTOBJECTW OLEUIINSERTOBJECT;
892     alias POLEUIINSERTOBJECTW POLEUIINSERTOBJECT;
893     alias LPOLEUIINSERTOBJECTW LPOLEUIINSERTOBJECT;
894     alias OleUIInsertObjectW OleUIInsertObject;
895     alias OleUIPromptUserW OleUIPromptUser;
896     alias OLEUIPASTEENTRYW OLEUIPASTEENTRY;
897     alias POLEUIPASTEENTRYW POLEUIPASTEENTRY;
898     alias LPOLEUIPASTEENTRYW LPOLEUIPASTEENTRY;
899     alias OLEUIPASTESPECIALW OLEUIPASTESPECIAL;
900     alias POLEUIPASTESPECIALW POLEUIPASTESPECIAL;
901     alias LPOLEUIPASTESPECIALW LPOLEUIPASTESPECIAL;
902     alias OleUIPasteSpecialW OleUIPasteSpecial;
903     alias IOleUILinkContainerW IOleUILinkContainer;
904     alias LPOLEUILINKCONTAINERW LPOLEUILINKCONTAINER;
905     alias OLEUIEDITLINKSW OLEUIEDITLINKS;
906     alias POLEUIEDITLINKSW POLEUIEDITLINKS;
907     alias LPOLEUIEDITLINKSW LPOLEUIEDITLINKS;
908     alias OleUIEditLinksW OleUIEditLinks;
909     alias OLEUICHANGEICONW OLEUICHANGEICON;
910     alias POLEUICHANGEICONW POLEUICHANGEICON;
911     alias LPOLEUICHANGEICONW LPOLEUICHANGEICON;
912     alias OleUIChangeIconW OleUIChangeIcon;
913     alias OLEUICONVERTW OLEUICONVERT;
914     alias POLEUICONVERTW POLEUICONVERT;
915     alias LPOLEUICONVERTW LPOLEUICONVERT;
916     alias OleUIConvertW OleUIConvert;
917     alias OLEUIBUSYW OLEUIBUSY;
918     alias POLEUIBUSYW POLEUIBUSY;
919     alias LPOLEUIBUSYW LPOLEUIBUSY;
920     alias OleUIBusyW OleUIBusy;
921     alias OLEUICHANGESOURCEW OLEUICHANGESOURCE;
922     alias POLEUICHANGESOURCEW POLEUICHANGESOURCE;
923     alias LPOLEUICHANGESOURCEW LPOLEUICHANGESOURCE;
924     alias OleUIChangeSourceW OleUIChangeSource;
925     alias IOleUIObjInfoW IOleUIObjInfo;
926     alias LPOLEUIOBJINFOW LPOLEUIOBJINFO;
927     alias IOleUILinkInfoW IOleUILinkInfo;
928     //alias IOleUILinkInfoWVtbl IOleUILinkInfoVtbl;
929     alias LPOLEUILINKINFOW LPOLEUILINKINFO;
930     alias OLEUIGNRLPROPSW OLEUIGNRLPROPS;
931     alias POLEUIGNRLPROPSW POLEUIGNRLPROPS;
932     alias LPOLEUIGNRLPROPSW LPOLEUIGNRLPROPS;
933     alias OLEUIVIEWPROPSW OLEUIVIEWPROPS;
934     alias POLEUIVIEWPROPSW POLEUIVIEWPROPS;
935     alias LPOLEUIVIEWPROPSW LPOLEUIVIEWPROPS;
936     alias OLEUILINKPROPSW OLEUILINKPROPS;
937     alias POLEUILINKPROPSW POLEUILINKPROPS;
938     alias LPOLEUILINKPROPSW LPOLEUILINKPROPS;
939 } else {
940     alias IDD_SERVERNOTREGA IDD_SERVERNOTREG;
941     alias IDD_LINKTYPECHANGEDA IDD_LINKTYPECHANGED;
942     alias OleUIUpdateLinksA OleUIUpdateLinks;
943     alias OleUIAddVerbMenuA OleUIAddVerbMenu;
944     alias OLEUIOBJECTPROPSA OLEUIOBJECTPROPS;
945     alias POLEUIOBJECTPROPSA POLEUIOBJECTPROPS;
946     alias LPOLEUIOBJECTPROPSA LPOLEUIOBJECTPROPS;
947     alias OleUIObjectPropertiesA OleUIObjectProperties;
948     alias OLEUIINSERTOBJECTA OLEUIINSERTOBJECT;
949     alias POLEUIINSERTOBJECTA POLEUIINSERTOBJECT;
950     alias LPOLEUIINSERTOBJECTA LPOLEUIINSERTOBJECT;
951     alias OleUIInsertObjectA OleUIInsertObject;
952     alias OleUIPromptUserA OleUIPromptUser;
953     alias OLEUIPASTEENTRYA OLEUIPASTEENTRY;
954     alias POLEUIPASTEENTRYA POLEUIPASTEENTRY;
955     alias LPOLEUIPASTEENTRYA LPOLEUIPASTEENTRY;
956     alias OLEUIPASTESPECIALA OLEUIPASTESPECIAL;
957     alias POLEUIPASTESPECIALA POLEUIPASTESPECIAL;
958     alias LPOLEUIPASTESPECIALA LPOLEUIPASTESPECIAL;
959     alias OleUIPasteSpecialA OleUIPasteSpecial;
960     alias IOleUILinkContainerA IOleUILinkContainer;
961     alias LPOLEUILINKCONTAINERA LPOLEUILINKCONTAINER;
962     alias OLEUIEDITLINKSA OLEUIEDITLINKS;
963     alias POLEUIEDITLINKSA POLEUIEDITLINKS;
964     alias LPOLEUIEDITLINKSA LPOLEUIEDITLINKS;
965     alias OleUIEditLinksA OleUIEditLinks;
966     alias OLEUICHANGEICONA OLEUICHANGEICON;
967     alias POLEUICHANGEICONA POLEUICHANGEICON;
968     alias LPOLEUICHANGEICONA LPOLEUICHANGEICON;
969     alias OleUIChangeIconA OleUIChangeIcon;
970     alias OLEUICONVERTA OLEUICONVERT;
971     alias POLEUICONVERTA POLEUICONVERT;
972     alias LPOLEUICONVERTA LPOLEUICONVERT;
973     alias OleUIConvertA OleUIConvert;
974     alias OLEUIBUSYA OLEUIBUSY;
975     alias POLEUIBUSYA POLEUIBUSY;
976     alias LPOLEUIBUSYA LPOLEUIBUSY;
977     alias OleUIBusyA OleUIBusy;
978     alias OLEUICHANGESOURCEA OLEUICHANGESOURCE;
979     alias POLEUICHANGESOURCEA POLEUICHANGESOURCE;
980     alias LPOLEUICHANGESOURCEA LPOLEUICHANGESOURCE;
981     alias OleUIChangeSourceA OleUIChangeSource;
982     alias IOleUIObjInfoA IOleUIObjInfo;
983     alias LPOLEUIOBJINFOA LPOLEUIOBJINFO;
984     alias IOleUILinkInfoA IOleUILinkInfo;
985     //alias IOleUILinkInfoAVtbl IOleUILinkInfoVtbl;
986     alias LPOLEUILINKINFOA LPOLEUILINKINFO;
987     alias OLEUIGNRLPROPSA OLEUIGNRLPROPS;
988     alias POLEUIGNRLPROPSA POLEUIGNRLPROPS;
989     alias LPOLEUIGNRLPROPSA LPOLEUIGNRLPROPS;
990     alias OLEUIVIEWPROPSA OLEUIVIEWPROPS;
991     alias POLEUIVIEWPROPSA POLEUIVIEWPROPS;
992     alias LPOLEUIVIEWPROPSA LPOLEUIVIEWPROPS;
993     alias OLEUILINKPROPSA OLEUILINKPROPS;
994     alias POLEUILINKPROPSA POLEUILINKPROPS;
995     alias LPOLEUILINKPROPSA LPOLEUILINKPROPS;
996 }