Release 980628
[wine/gsoc-2012-control.git] / misc / shellord.c
blob432e5ca2ceb92b59779a97489a2ef309a9f8cba5
1 /*
2 * Shell Ordinal Functions
4 * These are completely undocumented. The meaning of the functions changes
5 * between different OS versions (NT uses Unicode strings, 95 uses ASCII
6 * strings, etc. etc.)
7 *
8 * They are just here so that explorer.exe and iexplore.exe can be tested.
10 * Copyright 1997 Marcus Meissner
12 #include <stdlib.h>
13 #include <string.h>
14 #include <unistd.h>
15 #include <ctype.h>
16 #include "windows.h"
17 #include "winerror.h"
18 #include "file.h"
19 #include "shell.h"
20 #include "heap.h"
21 #include "module.h"
22 #include "neexe.h"
23 #include "resource.h"
24 #include "dlgs.h"
25 #include "win.h"
26 #include "graphics.h"
27 #include "cursoricon.h"
28 #include "interfaces.h"
29 #include "shlobj.h"
30 #include "debug.h"
31 #include "winreg.h"
33 /*************************************************************************
34 * SHELL32_2 [SHELL32.2]
36 DWORD WINAPI SHELL32_2(HWND32 hwnd,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6) {
37 FIXME(shell,"(0x%04x,0x%08lx,0x%08lx,0x%08lx,0x%08lx,0x%08lx):stub.\n",
38 hwnd,x2,x3,x4,x5,x6
40 return 0;
42 /*************************************************************************
43 * SHELL32_16 [SHELL32.16]
44 * find_lastitem_in_itemidlist()
46 * NOTES
47 * Original name: ILFindLast (exported by ordinal)
49 LPSHITEMID WINAPI SHELL32_16(LPITEMIDLIST iil) {
50 LPSHITEMID lastsii,sii;
52 if (!iil)
53 return NULL;
54 sii = &(iil->mkid);
55 lastsii = sii;
56 while (sii->cb) {
57 lastsii = sii;
58 sii = (LPSHITEMID)(((char*)sii)+sii->cb);
60 return lastsii;
63 /*************************************************************************
64 * SHELL32_29 [SHELL32.29]
65 * is_rootdir(const char*path)
67 * NOTES
68 * Original Name: PathIsRoot
70 BOOL32 WINAPI SHELL32_29(LPCSTR x) {
71 if (!strcmp(x+1,":\\")) /* "X:\" */
72 return 1;
73 if (!strcmp(x,"\\")) /* "\" */
74 return 1;
75 if (x[0]=='\\' && x[1]=='\\') { /* UNC "\\<xx>\" */
76 int foundbackslash = 0;
77 x=x+2;
78 while (*x) {
79 if (*x++=='\\')
80 foundbackslash++;
82 if (foundbackslash<=1) /* max 1 \ more ... */
83 return 1;
85 return 0;
88 /*************************************************************************
89 * SHELL32_30 [SHELL32.30]
90 * get_rootdir(char*path,int drive)
92 * NOTES
93 * Original Name: PathBuildRoot
95 LPSTR WINAPI SHELL32_30(LPSTR root,BYTE drive) {
96 strcpy(root,"A:\\");
97 root[0]+=drive;
98 return root;
101 /*************************************************************************
102 * SHELL32_31 [SHELL32.31]
103 * returns pointer to last . in last pathcomponent or at \0.
105 LPSTR WINAPI SHELL32_31(LPSTR path) {
106 LPSTR lastpoint = NULL;
108 while (*path) {
109 if (*path=='\\'||*path==' ')
110 lastpoint=NULL;
111 if (*path=='.')
112 lastpoint=path;
113 path++;
115 return lastpoint?lastpoint:path;
118 /*************************************************************************
119 * SHELL32_32 [SHELL32.32]
120 * append \ if there is none
122 LPSTR WINAPI SHELL32_32(LPSTR path) {
123 int len;
125 len = lstrlen32A(path);
126 if (len && path[len-1]!='\\') {
127 path[len+0]='\\';
128 path[len+1]='\0';
129 return path+len+1;
130 } else
131 return path+len;
134 /*************************************************************************
135 * SHELL32_33 [SHELL32.33]
136 * remove spaces from beginning and end of passed string
138 LPSTR WINAPI SHELL32_33(LPSTR str) {
139 LPSTR x = str;
141 while (*x==' ') x++;
142 if (x!=str)
143 lstrcpy32A(str,x);
144 if (!*str)
145 return str;
146 x=str+strlen(str)-1;
147 while (*x==' ')
148 x--;
149 if (*x==' ')
150 *x='\0';
151 return x;
155 /*************************************************************************
156 * SHELL32_34 [SHELL32.34]
157 * basename(char *fn);
159 LPSTR WINAPI SHELL32_34(LPSTR fn) {
160 LPSTR basefn;
162 basefn = fn;
163 while (fn[0]) {
164 if (((fn[0]=='\\') || (fn[0]==':')) && fn[1] && fn[1]!='\\')
165 basefn = fn+1;
166 fn++;
168 return basefn;
171 /*************************************************************************
172 * SHELL32_35 [SHELL32.35]
173 * bool getpath(char *pathname); truncates passed argument to a valid path
174 * returns if the string was modified or not.
175 * "\foo\xx\foo"-> "\foo\xx"
176 * "\" -> "\"
177 * "a:\foo" -> "a:\"
179 DWORD WINAPI SHELL32_35(LPSTR fn) {
180 LPSTR x,cutplace;
182 if (!fn[0])
183 return 0;
184 x=fn;
185 cutplace = fn;
186 while (*x) {
187 if (*x=='\\') {
188 cutplace=x++;
189 continue;
191 if (*x==':') {
192 x++;
193 if (*x=='\\')
194 cutplace=++x;
195 continue; /* already x++ed */
197 x++;
199 if (!*cutplace)
200 return 0;
201 if (cutplace==fn) {
202 if (fn[0]=='\\') {
203 if (!fn[1])
204 return 0;
205 fn[0]='\0';
206 return 1;
209 *cutplace='\0';
210 return 1;
213 /*************************************************************************
214 * SHELL32_37 [SHELL32.37]
215 * concat_paths(char*target,const char*add);
216 * concats "target\\add" and writes them to target
218 LPSTR WINAPI SHELL32_37(LPSTR target,LPSTR x1,LPSTR x2) {
219 char buf[260];
221 if (!x2 || !x2[0]) {
222 lstrcpy32A(target,x1);
223 return target;
225 lstrcpy32A(buf,x1);
226 SHELL32_32(buf); /* append \ if not there */
227 lstrcat32A(buf,x2);
228 lstrcpy32A(target,buf);
229 return target;
232 /*************************************************************************
233 * SHELL32_36 [SHELL32.36]
234 * concat_paths(char*target,const char*add);
235 * concats "target\\add" and writes them to target
237 LPSTR WINAPI SHELL32_36(LPSTR x1,LPSTR x2) {
238 while (x2[0]=='\\') x2++;
239 return SHELL32_37(x1,x1,x2);
242 /*************************************************************************
243 * SHELL32_39 [SHELL32.39]
244 * isUNC(const char*path);
246 BOOL32 WINAPI SHELL32_39(LPCSTR path) {
247 if ((path[0]=='\\') && (path[1]=='\\'))
248 return TRUE;
249 return FALSE;
252 /*************************************************************************
253 * SHELL32_45 [SHELL32.45]
254 * file_exists(char *fn);
256 BOOL32 WINAPI SHELL32_45(LPSTR fn) {
257 if (GetFileAttributes32A(fn)==-1)
258 return FALSE;
259 else
260 return TRUE;
263 /*************************************************************************
264 * SHELL32_51 [SHELL32.51]
266 DWORD WINAPI SHELL32_51(LPCSTR s,DWORD x2,DWORD x3) {
267 FIXME(shell,"(%s,0x%08lx,0x%08lx),stub!\n",s,x2,x3);
268 return 0;
271 /*************************************************************************
272 * SHELL32_52 [SHELL32.52]
273 * look for next arg in string. handle "quoted" strings
274 * returns pointer to argument *AFTER* the space. Or to the \0.
276 LPSTR WINAPI SHELL32_52(LPSTR cmdline) {
277 BOOL32 qflag = FALSE;
279 while (*cmdline) {
280 if ((*cmdline==' ') && !qflag)
281 return cmdline+1;
282 if (*cmdline=='"')
283 qflag=!qflag;
284 cmdline++;
286 return cmdline;
289 /*************************************************************************
290 * SHELL32_56 [SHELL32.56]
291 * unquote string (remove ")
293 VOID WINAPI SHELL32_56(LPSTR str) {
294 DWORD len = lstrlen32A(str);
296 if (*str!='"') return;
297 if (str[len-1]!='"') return;
298 str[len-1]='\0';
299 lstrcpy32A(str,str+1);
300 return;
303 /*************************************************************************
304 * SHELL32_58 [SHELL32.58]
306 DWORD WINAPI SHELL32_58(LPCSTR src,DWORD x2,LPSTR target,DWORD pathlen) {
307 FIXME(shell,"(%s,0x%08lx,%p,%ld):stub.\n",
308 src,x2,target,pathlen
310 if (!src)
311 return 0;
312 return 0;
315 /*************************************************************************
316 * SHELL32_62 [SHELL32.62]
318 DWORD WINAPI SHELL32_62(DWORD x,DWORD y,DWORD z,DWORD a) {
319 FIXME(shell,"(%08lx,%08lx,%08lx,%08lx):stub.\n",x,y,z,a);
320 return 0xffffffff;
323 /*************************************************************************
324 * SHELL32_63 [SHELL32.63]
326 DWORD WINAPI SHELL32_63(HWND32 howner, LPSTR targetbuf, DWORD len, DWORD x, LPCSTR suffix, LPCSTR y, LPCSTR cmd) {
327 FIXME(shell,"(%04x,%p,%ld,%08lx,%s,%s,%s):stub.\n",
328 howner,targetbuf,len,x,suffix,y,cmd
330 /* puts up a Open Dialog and requests input into targetbuf */
331 /* OFN_HIDEREADONLY|OFN_NOCHANGEDIR|OFN_FILEMUSTEXIST|OFN_unknown */
332 lstrcpy32A(targetbuf,"x:\\s3.exe");
333 return 1;
336 /*************************************************************************
337 * SHELL32_68 [SHELL32.68]
339 DWORD WINAPI SHELL32_68(DWORD x,DWORD y,DWORD z) {
340 FIXME(shell,"(0x%08lx,0x%08lx,0x%08lx):stub.\n",
341 x,y,z
343 return 0;
345 /*************************************************************************
346 * SHELL32_71 [SHELL32.71]
347 * returns internal shell values in the passed pointers
349 BOOL32 WINAPI SHELL32_71(LPDWORD x,LPDWORD y) {
351 FIXME(shell,"(%p,%p):stub.\n",x,y);
352 return TRUE;
355 /*************************************************************************
356 * SHELL32_72 [SHELL32.72]
357 * dunno. something with icons
359 void WINAPI SHELL32_72(LPSTR x,DWORD y,DWORD z) {
360 FIXME(shell,"(%s,%08lx,%08lx):stub.\n",x,y,z);
363 /*************************************************************************
364 * SHELL32_89 [SHELL32.89]
366 DWORD WINAPI SHELL32_89(DWORD x1,DWORD x2,DWORD x3) {
367 FIXME(shell,"(0x%08lx,0x%08lx,0x%08lx):stub.\n",
368 x1,x2,x3
370 return 0;
373 /*************************************************************************
374 * SHELL32_119 [SHELL32.119]
375 * unknown
377 void WINAPI SHELL32_119(LPVOID x) {
378 FIXME(shell,"(%p(%s)):stub.\n",x,(char *)x);
381 /*************************************************************************
382 * SHELL32_175 [SHELL32.175]
383 * unknown
385 void WINAPI SHELL32_175(DWORD x1,DWORD x2,DWORD x3,DWORD x4) {
386 FIXME(shell,"(0x%08lx,0x%08lx,0x%08lx,0x%08lx):stub.\n",
387 x1,x2,x3,x4
391 /*************************************************************************
392 * SHELL32_181 [SHELL32.181]
393 * unknown
395 * PARAMS
396 * hwnd [I] window handle
397 * y [I] flag ????
399 * NOTES
400 * Original name: RegisterShellHook (exported by ordinal)
402 void WINAPI SHELL32_181(HWND32 hwnd, DWORD y) {
403 FIXME(shell,"(0x%08lx,0x%08x):stub.\n",hwnd,y);
406 /*************************************************************************
407 * SHELL32_75 [SHELL32.75]
408 * unknown
410 BOOL32 WINAPI SHELL32_75(LPDWORD x,LPDWORD y) {
411 FIXME(shell,"(%p,%p):stub.\n",x,y);
412 return TRUE;
415 /*************************************************************************
416 * SHELL32_77 [SHELL32.77]
418 DWORD WINAPI SHELL32_77(DWORD x,DWORD y,DWORD z) {
419 FIXME(shell,"(%08lx,%08lx,%08lx):stub.\n",x,y,z);
420 return 0;
423 /*************************************************************************
424 * SHELL32_79 [SHELL32.79]
425 * create_directory_and_notify(...)
427 DWORD WINAPI SHELL32_79(LPCSTR dir,LPVOID xvoid) {
428 TRACE(shell,"mkdir %s,%p\n",dir,xvoid);
429 if (!CreateDirectory32A(dir,xvoid))
430 return FALSE;
431 /* SHChangeNotify(8,1,dir,0); */
432 return TRUE;
435 typedef DWORD (* WINAPI GetClassPtr)(REFCLSID,REFIID,LPVOID);
437 static GetClassPtr SH_find_moduleproc(LPSTR dllname,HMODULE32 *xhmod,
438 LPSTR name)
440 HMODULE32 hmod;
441 FARPROC32 dllunload,nameproc;
443 if (xhmod) *xhmod = 0;
444 if (!strcasecmp(SHELL32_34(dllname),"shell32.dll"))
445 return (GetClassPtr)SHELL32_DllGetClassObject;
447 hmod = LoadLibraryEx32A(dllname,0,LOAD_WITH_ALTERED_SEARCH_PATH);
448 if (!hmod)
449 return NULL;
450 dllunload = GetProcAddress32(hmod,"DllCanUnloadNow");
451 if (!dllunload)
452 if (xhmod) *xhmod = hmod;
453 nameproc = GetProcAddress32(hmod,name);
454 if (!nameproc) {
455 FreeLibrary32(hmod);
456 return NULL;
458 /* register unloadable dll with unloadproc ... */
459 return (GetClassPtr)nameproc;
462 static DWORD SH_get_instance(REFCLSID clsid,LPSTR dllname,
463 LPVOID unknownouter,REFIID refiid,LPVOID inst
465 GetClassPtr dllgetclassob;
466 DWORD hres;
467 LPCLASSFACTORY classfac;
469 dllgetclassob = SH_find_moduleproc(dllname,NULL,"DllGetClassObject");
470 if (!dllgetclassob)
471 return 0x80070000|GetLastError();
473 /* FIXME */
475 hres = (*dllgetclassob)(clsid,(REFIID)&IID_IClassFactory,inst);
476 if (hres<0)
477 return hres;
480 hres = (*dllgetclassob)(clsid,(REFIID)&IID_IClassFactory,&classfac);
481 if (hres<0 || (hres>=0x80000000))
482 return hres;
483 if (!classfac) {
484 FIXME(shell,"no classfactory, but hres is 0x%ld!\n",hres);
485 return E_FAIL;
487 classfac->lpvtbl->fnCreateInstance(classfac,unknownouter,refiid,inst);
488 classfac->lpvtbl->fnRelease(classfac);
489 return 0;
492 /*************************************************************************
493 * SHELL32_102 [SHELL32.102]
494 * unknown
496 LRESULT WINAPI SHELL32_102(
497 LPSTR aclsid,CLSID *clsid,LPUNKNOWN unknownouter,REFIID refiid,LPVOID inst
499 char buffer[256],xclsid[48],xiid[48],path[260],tmodel[100];
500 HKEY inprockey;
501 DWORD pathlen,type,tmodellen;
502 DWORD hres;
504 WINE_StringFromCLSID(refiid,xiid);
506 if (clsid)
507 WINE_StringFromCLSID(clsid,xclsid);
508 else {
509 if (!aclsid)
510 return 0x80040154;
511 strcpy(xclsid,aclsid);
513 TRACE(shell,"(%p,%s,%p,%s,%p)\n",
514 aclsid,xclsid,unknownouter,xiid,inst
517 sprintf(buffer,"CLSID\\%s\\InProcServer32",xclsid);
518 if (RegOpenKeyEx32A(HKEY_CLASSES_ROOT,buffer,0,0x02000000,&inprockey))
519 return SH_get_instance(clsid,"shell32.dll",unknownouter,refiid,inst);
520 pathlen=sizeof(path);
521 if (RegQueryValue32A(inprockey,NULL,path,&pathlen)) {
522 RegCloseKey(inprockey);
523 return SH_get_instance(clsid,"shell32.dll",unknownouter,refiid,inst);
525 TRACE(shell, "Server dll is %s\n",path);
526 tmodellen=sizeof(tmodel);
527 type=REG_SZ;
528 if (RegQueryValueEx32A(inprockey,"ThreadingModel",NULL,&type,tmodel,&tmodellen)) {
529 RegCloseKey(inprockey);
530 return SH_get_instance(clsid,"shell32.dll",unknownouter,refiid,inst);
532 TRACE(shell, "Threading model is %s\n",tmodel);
533 hres=SH_get_instance(clsid,path,unknownouter,refiid,inst);
534 if (hres<0)
535 hres=SH_get_instance(clsid,"shell32.dll",unknownouter,refiid,inst);
536 RegCloseKey(inprockey);
537 return hres;
541 /*************************************************************************
542 * SHELL32_183 [SHELL32.183]
543 * Format and output errormessage.
545 * NOTES
546 * Original name: ShellMessageBoxA
548 void __cdecl SHELL32_183(HMODULE32 hmod,HWND32 hwnd,DWORD id,DWORD x,DWORD type,LPVOID arglist) {
549 char buf[100],buf2[100],*buf3;
550 LPVOID args = &arglist;
552 if (!LoadString32A(hmod,x,buf,100))
553 strcpy(buf,"Desktop");
554 LoadString32A(hmod,id,buf2,100);
555 /* FIXME: the varargs handling doesn't. */
556 FormatMessage32A(0x500,buf2,0,0,(LPSTR)&buf3,256,(LPDWORD)&args);
558 FIXME(shell,"(%08lx,%08lx,%08lx(%s),%08lx(%s),%08lx,%p):stub.\n",
559 (DWORD)hmod,(DWORD)hwnd,id,buf2,x,buf,type,arglist
561 /*MessageBox32A(hwnd,buf3,buf,id|0x10000);*/
565 /*************************************************************************
566 * SHELL32_100 [SHELL32.100]
567 * walks through policy table, queries <app> key, <type> value, returns
568 * queried (DWORD) value.
569 * {0x00001,Explorer,NoRun}
570 * {0x00002,Explorer,NoClose}
571 * {0x00004,Explorer,NoSaveSettings}
572 * {0x00008,Explorer,NoFileMenu}
573 * {0x00010,Explorer,NoSetFolders}
574 * {0x00020,Explorer,NoSetTaskbar}
575 * {0x00040,Explorer,NoDesktop}
576 * {0x00080,Explorer,NoFind}
577 * {0x00100,Explorer,NoDrives}
578 * {0x00200,Explorer,NoDriveAutoRun}
579 * {0x00400,Explorer,NoDriveTypeAutoRun}
580 * {0x00800,Explorer,NoNetHood}
581 * {0x01000,Explorer,NoStartBanner}
582 * {0x02000,Explorer,RestrictRun}
583 * {0x04000,Explorer,NoPrinterTabs}
584 * {0x08000,Explorer,NoDeletePrinter}
585 * {0x10000,Explorer,NoAddPrinter}
586 * {0x20000,Explorer,NoStartMenuSubFolders}
587 * {0x40000,Explorer,MyDocsOnNet}
588 * {0x80000,WinOldApp,NoRealMode}
590 DWORD WINAPI SHELL32_100(DWORD pol) {
591 HKEY xhkey;
593 FIXME(shell,"(%08lx):stub.\n",pol);
594 if (RegOpenKey32A(HKEY_CURRENT_USER,"Software\\Microsoft\\Windows\\CurrentVersion\\Policies",&xhkey))
595 return 0;
596 /* FIXME: do nothing for now, just return 0 (== "allowed") */
597 RegCloseKey(xhkey);
598 return 0;
602 /*************************************************************************
603 * SHELL32_152 [SHELL32.152]
604 * itemlist_length
606 DWORD WINAPI SHELL32_152(LPITEMIDLIST iil) {
607 LPSHITEMID si;
608 DWORD len;
610 if (!iil)
611 return 0;
612 si = &(iil->mkid);
613 len = 2;
614 while (si->cb) {
615 len += si->cb;
616 si = (LPSHITEMID)(((char*)si)+si->cb);
618 return len;
621 /*************************************************************************
622 * SHELL32_158 [SHELL32.158]
624 LPSTR WINAPI SHELL32_158(LPSTR path,DWORD y,DWORD z) {
625 TRACE(shell,"(%s,%08lx,%08lx)\n",path,y,z);
626 path = SHELL32_31(path);
627 return *path?(path+1):path;
630 /*************************************************************************
631 * SHELL32_165 [SHELL32.165]
632 * create_path_and_notify(...)
634 DWORD WINAPI SHELL32_165(DWORD x,LPCSTR path) {
635 if (SHELL32_79(path,(LPVOID)x))
636 return 0;
637 FIXME(shell,"(%08lx,%s):stub.\n",x,path);
638 return 0;
641 /*************************************************************************
642 * SHELL32_195 [SHELL32.195]
643 * free_ptr() - frees memory using IMalloc
645 * NOTES
646 * Original name: SHFree (exported by ordinal)
648 DWORD WINAPI SHELL32_195(LPVOID x) {
649 return LocalFree32((HANDLE32)x);
652 /*************************************************************************
653 * SHELL32_196 [SHELL32.196]
654 * void *task_alloc(DWORD len), uses SHMalloc allocator
656 LPVOID WINAPI SHELL32_196(DWORD len) {
657 return (LPVOID)LocalAlloc32(len,LMEM_ZEROINIT); /* FIXME */
660 /*************************************************************************
661 * SHELL32_18 [SHELL32.18]
662 * copy_itemidlist()
664 LPITEMIDLIST WINAPI SHELL32_18(LPITEMIDLIST iil) {
665 DWORD len;
666 LPITEMIDLIST newiil;
668 len = SHELL32_152(iil);
669 newiil = (LPITEMIDLIST)SHELL32_196(len);
670 if (newiil)
671 memcpy(newiil,iil,len);
672 return newiil;
675 /*************************************************************************
676 * SHELL32_25 [SHELL32.25]
677 * merge_itemidlist()
679 LPITEMIDLIST WINAPI SHELL32_25(LPITEMIDLIST iil1,LPITEMIDLIST iil2) {
680 DWORD len1,len2;
681 LPITEMIDLIST newiil;
683 len1 = SHELL32_152(iil1)-2;
684 len2 = SHELL32_152(iil2);
685 newiil = SHELL32_196(len1+len2);
686 memcpy(newiil,iil1,len1);
687 memcpy(((char*)newiil)+len1,iil2,len2);
688 return newiil;
691 /*************************************************************************
692 * SHELL32_155 [SHELL32.155]
693 * free_check_ptr - frees memory (if not NULL) allocated by SHMalloc allocator
695 * NOTES
696 * Original name: ILFree (exported by ordinal)
698 DWORD WINAPI SHELL32_155(LPVOID x) {
699 FIXME (shell,"(0x%08lx):stub.\n", (DWORD)x);
700 // if (!x)
701 return 0;
702 // return SHELL32_195(x);
705 /*************************************************************************
706 * SHELL32_85 [SHELL32.85]
708 * NOTES
709 * Original name: OpenRegStream (exported by ordinal)
711 DWORD WINAPI SHELL32_85(DWORD x1,DWORD x2,DWORD x3,DWORD x4) {
712 FIXME(shell,"(0x%08lx,0x%08lx,0x%08lx,0x%08lx):stub.\n",
713 x1,x2,x3,x4
715 return 0;
718 /*************************************************************************
719 * SHELL32_86 [SHELL32.86]
720 * unknown
722 * NOTES
723 * Original name: SHRegisterDragDrop (exported by ordinal)
725 DWORD WINAPI SHELL32_86(HWND32 hwnd,DWORD x2) {
726 FIXME (shell, "(0x%08lx,0x%08x):stub.\n", hwnd, x2);
727 return 0;
730 /*************************************************************************
731 * SHELL32_87 [SHELL32.87]
732 * unknown
734 * NOTES
735 * Original name: SHRevokeDragDrop (exported by ordinal)
737 DWORD WINAPI SHELL32_87(DWORD x) {
738 FIXME(shell,"(0x%08lx):stub.\n",x);
739 return 0;
743 /*************************************************************************
744 * SHELL32_61 [SHELL32.61]
746 * NOTES
747 * Original name: RunFileDlg (exported by ordinal)
749 DWORD WINAPI
750 SHELL32_61 (HWND32 hwndOwner, DWORD dwParam1, DWORD dwParam2,
751 LPSTR lpszTitle, LPSTR lpszPrompt, UINT32 uFlags)
753 FIXME (shell,"(0x%08x 0x%lx 0x%lx \"%s\" \"%s\" 0x%x):stub.\n",
754 hwndOwner, dwParam1, dwParam2, lpszTitle, lpszPrompt, uFlags);
755 return 0;
759 /*************************************************************************
760 * SHELL32_60 [SHELL32.60]
761 * Shell/Shutdown-Dialog
763 DWORD WINAPI
764 SHELL32_60 (HWND32 hwndOwner)
766 FIXME (shell,"(0x%08x):stub.\n", hwndOwner);
767 return 0;
771 /*************************************************************************
772 * SHELL32_184 [SHELL32.184]
773 * unknown
775 DWORD WINAPI
776 SHELL32_184 (DWORD dwParam1, DWORD dwParam2, DWORD dwParam3,
777 DWORD dwParam4, DWORD dwParam5)
779 FIXME (shell,"(0x%lx 0x%lx 0x%lx 0x%lx 0x%lx):stub.\n",
780 dwParam1, dwParam2, dwParam3, dwParam4, dwParam5);
781 return 0;
785 /*************************************************************************
786 * SHELL32_147 [SHELL32.147]
788 * NOTES
789 * Original name: SHCLSIDFromString (exported by ordinal)
791 DWORD WINAPI
792 SHELL32_147 (DWORD dwParam1, DWORD dwParam2)
794 FIXME (shell,"(0x%lx 0x%lx):stub.\n", dwParam1, dwParam2);
795 return 0;