The OpenD Programming Language

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