xref: /reactos/dll/win32/shell32/stubs.cpp (revision 84df40a1)
1 /*
2  * COPYRIGHT:       See COPYING in the top level directory
3  * PROJECT:         shell32.dll
4  * FILE:            dll/win32/shell32/stubs.c
5  * PURPOSE:         shell32.dll stubs
6  * PROGRAMMER:      Dmitry Chapyshev (dmitry@reactos.org)
7  * NOTES:           If you implement a function, remove it from this file
8  * UPDATE HISTORY:
9  *      03/02/2009  Created
10  */
11 
12 
13 #include "precomp.h"
14 
15 WINE_DEFAULT_DEBUG_CHANNEL(shell);
16 
17 /*
18  * Unimplemented
19  */
20 EXTERN_C VOID
21 WINAPI
CheckDiskSpace(VOID)22 CheckDiskSpace(VOID)
23 {
24     FIXME("CheckDiskSpace() stub\n");
25 }
26 
27 /*
28  * Unimplemented
29  */
30 EXTERN_C VOID
31 WINAPI
SHReValidateDarwinCache(VOID)32 SHReValidateDarwinCache(VOID)
33 {
34     FIXME("SHReValidateDarwinCache() stub\n");
35 }
36 
37 /*
38  * Unimplemented
39  */
40 EXTERN_C FILEDESCRIPTOR*
41 WINAPI
GetFileDescriptor(FILEGROUPDESCRIPTOR * pFileGroupDesc,BOOL bUnicode,INT iIndex,LPWSTR lpName)42 GetFileDescriptor(FILEGROUPDESCRIPTOR *pFileGroupDesc, BOOL bUnicode, INT iIndex, LPWSTR lpName)
43 {
44     FIXME("GetFileDescriptor() stub\n");
45     return NULL;
46 }
47 
48 /*
49  * Unimplemented
50  */
51 EXTERN_C BOOL
52 WINAPI
MakeShellURLFromPathW(LPCWSTR lpPath,LPWSTR lpUrl,INT cchMax)53 MakeShellURLFromPathW(LPCWSTR lpPath, LPWSTR lpUrl, INT cchMax)
54 {
55     FIXME("MakeShellURLFromPathW() stub\n");
56     lpUrl = NULL;
57     return FALSE;
58 }
59 
60 /*
61  * Unimplemented
62  */
63 EXTERN_C BOOL
64 WINAPI
MakeShellURLFromPathA(LPCSTR lpPath,LPSTR lpUrl,INT cchMax)65 MakeShellURLFromPathA(LPCSTR lpPath, LPSTR lpUrl, INT cchMax)
66 {
67     WCHAR szPath[MAX_PATH], szURL[MAX_PATH];
68     BOOL ret;
69     SHAnsiToUnicode(lpPath, szPath, _countof(szPath));
70     ret = MakeShellURLFromPathW(szPath, szURL, _countof(szURL));
71     SHUnicodeToAnsi(szURL, lpUrl, cchMax);
72     return ret;
73 }
74 
75 /*
76  * Unimplemented
77  */
78 EXTERN_C HRESULT
79 WINAPI
SHParseDarwinIDFromCacheW(LPCWSTR lpUnknown1,LPWSTR lpUnknown2)80 SHParseDarwinIDFromCacheW(LPCWSTR lpUnknown1, LPWSTR lpUnknown2)
81 {
82     FIXME("SHParseDarwinIDFromCacheW() stub\n");
83     lpUnknown2 = NULL;
84     return E_FAIL;
85 }
86 
DataObject_GetHIDACount(IDataObject * pdo)87 static HRESULT DataObject_GetHIDACount(IDataObject *pdo)
88 {
89     if (!pdo)
90         return E_INVALIDARG;
91     CDataObjectHIDA cida(pdo);
92     HRESULT hr = cida.hr();
93     return SUCCEEDED(hr) ? cida->cidl : hr;
94 }
95 
96 /*
97  * Unimplemented
98  */
99 EXTERN_C HRESULT
100 WINAPI
SHMultiFileProperties(IDataObject * pDataObject,DWORD dwFlags)101 SHMultiFileProperties(IDataObject *pDataObject, DWORD dwFlags)
102 {
103     FIXME("SHMultiFileProperties() stub\n");
104 
105     // Temporary workaround to display a property sheet if possible
106     if (DataObject_GetHIDACount(pDataObject) == 1)
107         return SHELL32_ShowPropertiesDialog(pDataObject);
108 
109     if (pDataObject)
110     {
111         HWND hWnd;
112         if (FAILED(IUnknown_GetWindow(pDataObject, &hWnd))) // Will probably not work but we have no other option
113             hWnd = NULL;
114         SHELL_ErrorBox(hWnd, HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED));
115     }
116 
117     return E_FAIL;
118 }
119 
120 /*
121  * Unimplemented
122  */
123 EXTERN_C HRESULT
124 WINAPI
SHCopyMonikerToTemp(IMoniker * pMoniker,LPCWSTR lpInput,LPWSTR lpOutput,INT cchMax)125 SHCopyMonikerToTemp(IMoniker *pMoniker, LPCWSTR lpInput, LPWSTR lpOutput, INT cchMax)
126 {
127     /* Unimplemented in XP SP3 */
128     TRACE("SHCopyMonikerToTemp() stub\n");
129     return E_FAIL;
130 }
131 
132 /*
133  * Unimplemented
134  */
135 EXTERN_C HLOCAL
136 WINAPI
CheckWinIniForAssocs(VOID)137 CheckWinIniForAssocs(VOID)
138 {
139     FIXME("CheckWinIniForAssocs() stub\n");
140     return NULL;
141 }
142 
143 /*
144  * Unimplemented
145  */
146 EXTERN_C HRESULT
147 WINAPI
SHGetSetFolderCustomSettingsW(LPSHFOLDERCUSTOMSETTINGSW pfcs,LPCWSTR pszPath,DWORD dwReadWrite)148 SHGetSetFolderCustomSettingsW(LPSHFOLDERCUSTOMSETTINGSW pfcs,
149                               LPCWSTR pszPath,
150                               DWORD dwReadWrite)
151 {
152     FIXME("SHGetSetFolderCustomSettingsW() stub\n");
153     return E_FAIL;
154 }
155 
156 /*
157  * Unimplemented
158  */
159 EXTERN_C HRESULT
160 WINAPI
SHGetSetFolderCustomSettingsA(LPSHFOLDERCUSTOMSETTINGSA pfcs,LPCSTR pszPath,DWORD dwReadWrite)161 SHGetSetFolderCustomSettingsA(LPSHFOLDERCUSTOMSETTINGSA pfcs,
162                               LPCSTR pszPath,
163                               DWORD dwReadWrite)
164 {
165     FIXME("SHGetSetFolderCustomSettingsA() stub\n");
166     return E_FAIL;
167 }
168 
169 /*
170  * Unimplemented
171  */
172 EXTERN_C VOID
173 WINAPI
CDefFolderMenu_MergeMenu(HINSTANCE hInstance,UINT uMainMerge,UINT uPopupMerge,LPQCMINFO lpQcmInfo)174 CDefFolderMenu_MergeMenu(HINSTANCE hInstance,
175                          UINT uMainMerge,
176                          UINT uPopupMerge,
177                          LPQCMINFO lpQcmInfo)
178 {
179     FIXME("CDefFolderMenu_MergeMenu() stub\n");
180 }
181 
182 /*
183  * Unimplemented
184  */
185 EXTERN_C HRESULT
186 WINAPI
CDefFolderMenu_Create(LPITEMIDLIST pidlFolder,HWND hwnd,UINT uidl,PCUITEMID_CHILD_ARRAY * apidl,IShellFolder * psf,LPFNDFMCALLBACK lpfn,HKEY hProgID,HKEY hBaseProgID,IContextMenu ** ppcm)187 CDefFolderMenu_Create(LPITEMIDLIST pidlFolder,
188                       HWND hwnd,
189                       UINT uidl,
190                       PCUITEMID_CHILD_ARRAY *apidl,
191                       IShellFolder *psf,
192                       LPFNDFMCALLBACK lpfn,
193                       HKEY hProgID,
194                       HKEY hBaseProgID,
195                       IContextMenu **ppcm)
196 {
197     FIXME("CDefFolderMenu_Create() stub\n");
198     return E_FAIL;
199 }
200 
201 /*
202  * Unimplemented
203  */
204 EXTERN_C VOID
205 WINAPI
SHWaitOp_Operate(LPVOID lpUnknown1,DWORD dwUnknown2)206 SHWaitOp_Operate(LPVOID lpUnknown1, DWORD dwUnknown2)
207 {
208     FIXME("SHWaitOp_Operate() stub\n");
209 }
210 
211 /*
212  * Unimplemented
213  */
214 EXTERN_C INT
215 WINAPI
RealDriveTypeFlags(INT iDrive,BOOL bUnknown)216 RealDriveTypeFlags(INT iDrive, BOOL bUnknown)
217 {
218     FIXME("RealDriveTypeFlags() stub\n");
219     return 1;
220 }
221 
222 /*
223  * Unimplemented
224  */
225 EXTERN_C LONG
226 WINAPI
ShellHookProc(INT iCode,WPARAM wParam,LPARAM lParam)227 ShellHookProc(INT iCode, WPARAM wParam, LPARAM lParam)
228 {
229     /* Unimplemented in WinXP SP3 */
230     TRACE("ShellHookProc() stub\n");
231     return 0;
232 }
233 
234 /*
235  * Unimplemented
236  */
237 EXTERN_C BOOL
238 WINAPI
SheShortenPathW(LPWSTR lpPath,BOOL bShorten)239 SheShortenPathW(LPWSTR lpPath, BOOL bShorten)
240 {
241     FIXME("SheShortenPathW() stub\n");
242     return FALSE;
243 }
244 
245 /*
246  * Unimplemented
247  */
248 EXTERN_C BOOL
249 WINAPI
SheShortenPathA(LPSTR lpPath,BOOL bShorten)250 SheShortenPathA(LPSTR lpPath, BOOL bShorten)
251 {
252     BOOL ret;
253     WCHAR szPath[MAX_PATH];
254     MultiByteToWideChar(CP_ACP, 0, lpPath, -1, szPath, _countof(szPath));
255     ret = SheShortenPathW(szPath, bShorten);
256     WideCharToMultiByte(CP_ACP, 0, szPath, -1, lpPath, MAX_PATH, NULL, NULL);
257     return ret;
258 }
259 
260 /*
261  * Unimplemented
262  */
263 EXTERN_C INT
264 WINAPI
SheSetCurDrive(INT iIndex)265 SheSetCurDrive(INT iIndex)
266 {
267     FIXME("SheSetCurDrive() stub\n");
268     return 1;
269 }
270 
271 /*
272  * Unimplemented
273  */
274 EXTERN_C INT
275 WINAPI
SheGetPathOffsetW(LPWSTR lpPath)276 SheGetPathOffsetW(LPWSTR lpPath)
277 {
278     FIXME("SheGetPathOffsetW() stub\n");
279     return 0;
280 }
281 
282 /*
283  * Unimplemented
284  */
285 EXTERN_C BOOL
286 WINAPI
SheGetDirExW(LPWSTR lpDrive,LPDWORD lpCurDirLen,LPWSTR lpCurDir)287 SheGetDirExW(LPWSTR lpDrive,
288              LPDWORD lpCurDirLen,
289              LPWSTR lpCurDir)
290 {
291     FIXME("SheGetDirExW() stub\n");
292     return FALSE;
293 }
294 
295 /*
296  * Unimplemented
297  */
298 EXTERN_C INT
299 WINAPI
SheGetCurDrive(VOID)300 SheGetCurDrive(VOID)
301 {
302     FIXME("SheGetCurDrive() stub\n");
303     return 1;
304 }
305 
306 /*
307  * Unimplemented
308  */
309 EXTERN_C INT
310 WINAPI
SheFullPathW(LPWSTR lpFullName,DWORD dwPathSize,LPWSTR lpBuffer)311 SheFullPathW(LPWSTR lpFullName, DWORD dwPathSize, LPWSTR lpBuffer)
312 {
313     FIXME("SheFullPathW() stub\n");
314     return 0;
315 }
316 
317 /*
318  * Unimplemented
319  */
320 EXTERN_C INT
321 WINAPI
SheFullPathA(LPSTR lpFullName,DWORD dwPathSize,LPSTR lpBuffer)322 SheFullPathA(LPSTR lpFullName, DWORD dwPathSize, LPSTR lpBuffer)
323 {
324     FIXME("SheFullPathA() stub\n");
325     return 0;
326 }
327 
328 /*
329  * Unimplemented
330  */
331 EXTERN_C BOOL
332 WINAPI
SheConvertPathW(LPWSTR lpCmd,LPWSTR lpFileName,UINT uCmdLen)333 SheConvertPathW(LPWSTR lpCmd, LPWSTR lpFileName, UINT uCmdLen)
334 {
335     FIXME("SheConvertPathW() stub\n");
336     return FALSE;
337 }
338 
339 /*
340  * Unimplemented
341  */
342 EXTERN_C INT
343 WINAPI
SheChangeDirExW(LPWSTR lpDir)344 SheChangeDirExW(LPWSTR lpDir)
345 {
346     FIXME("SheChangeDirExW() stub\n");
347     return 0;
348 }
349 
350 /*
351  * Unimplemented
352  */
353 EXTERN_C INT
354 WINAPI
SheChangeDirExA(LPSTR lpDir)355 SheChangeDirExA(LPSTR lpDir)
356 {
357     FIXME("SheChangeDirExA() stub\n");
358     return 0;
359 }
360 
361 /*
362  * Unimplemented
363  */
364 EXTERN_C BOOL
365 WINAPI
SHInvokePrinterCommandW(HWND hwnd,UINT uAction,LPCWSTR lpBuf1,LPCWSTR lpBuf2,BOOL fModal)366 SHInvokePrinterCommandW(HWND hwnd,
367                         UINT uAction,
368                         LPCWSTR lpBuf1,
369                         LPCWSTR lpBuf2,
370                         BOOL fModal)
371 {
372     FIXME("SHInvokePrinterCommandW() stub\n");
373     return FALSE;
374 }
375 
376 /*
377  * Unimplemented
378  */
379 EXTERN_C BOOL
380 WINAPI
SHInvokePrinterCommandA(HWND hwnd,UINT uAction,LPCSTR lpBuf1,LPCSTR lpBuf2,BOOL fModal)381 SHInvokePrinterCommandA(HWND hwnd,
382                         UINT uAction,
383                         LPCSTR lpBuf1,
384                         LPCSTR lpBuf2,
385                         BOOL fModal)
386 {
387     FIXME("SHInvokePrinterCommandA() stub\n");
388     return FALSE;
389 }
390 
391 /*
392  * Unimplemented
393  */
394 EXTERN_C BOOL
395 WINAPI
SHCreateProcessAsUserW(PSHCREATEPROCESSINFOW pscpi)396 SHCreateProcessAsUserW(PSHCREATEPROCESSINFOW pscpi)
397 {
398     FIXME("SHCreateProcessAsUserW() stub\n");
399     return FALSE;
400 }
401 
402 /*
403  * Unimplemented
404  */
405 EXTERN_C VOID
406 WINAPI
PrintersGetCommand_RunDLL(HWND hwnd,HINSTANCE hInstance,LPWSTR pszCmdLine,int nCmdShow)407 PrintersGetCommand_RunDLL(HWND hwnd, HINSTANCE hInstance, LPWSTR pszCmdLine, int nCmdShow)
408 {
409     FIXME("PrintersGetCommand_RunDLL() stub\n");
410 }
411 
412 /*
413  * Unimplemented
414  */
415 EXTERN_C VOID
416 WINAPI
PrintersGetCommand_RunDLLA(HWND hwnd,HINSTANCE hInstance,LPSTR pszCmdLine,int nCmdShow)417 PrintersGetCommand_RunDLLA(HWND hwnd, HINSTANCE hInstance, LPSTR pszCmdLine, int nCmdShow)
418 {
419     FIXME("PrintersGetCommand_RunDLLA() stub\n");
420 }
421 
422 /*
423  * Unimplemented
424  */
425 EXTERN_C VOID
426 WINAPI
PrintersGetCommand_RunDLLW(HWND hwnd,HINSTANCE hInstance,LPWSTR pszCmdLine,int nCmdShow)427 PrintersGetCommand_RunDLLW(HWND hwnd, HINSTANCE hInstance, LPWSTR pszCmdLine, int nCmdShow)
428 {
429     FIXME("PrintersGetCommand_RunDLLW() stub\n");
430 }
431 
432 /*
433  * Unimplemented
434  */
435 EXTERN_C IShellFolderViewCB*
436 WINAPI
SHGetShellFolderViewCB(HWND hwnd)437 SHGetShellFolderViewCB(HWND hwnd)
438 {
439     FIXME("SHGetShellFolderViewCB() stub\n");
440     return NULL;
441 }
442 
443 /*
444  * Unimplemented
445  */
446 EXTERN_C INT
447 WINAPI
SHLookupIconIndexA(LPCSTR lpName,INT iIndex,UINT uFlags)448 SHLookupIconIndexA(LPCSTR lpName, INT iIndex, UINT uFlags)
449 {
450     FIXME("SHLookupIconIndexA() stub\n");
451     return 0;
452 }
453 
454 /*
455  * Unimplemented
456  */
457 EXTERN_C INT
458 WINAPI
SHLookupIconIndexW(LPCWSTR lpName,INT iIndex,UINT uFlags)459 SHLookupIconIndexW(LPCWSTR lpName, INT iIndex, UINT uFlags)
460 {
461     FIXME("SHLookupIconIndexW() stub\n");
462     return 0;
463 }
464 
465 /*
466  * Unimplemented
467  */
468 EXTERN_C HANDLE
469 WINAPI
PifMgr_OpenProperties(LPCWSTR lpAppPath,LPCWSTR lpPifPath,UINT hInfIndex,UINT options)470 PifMgr_OpenProperties(LPCWSTR lpAppPath, LPCWSTR lpPifPath, UINT hInfIndex, UINT options)
471 {
472     FIXME("PifMgr_OpenProperties() stub\n");
473     return 0;
474 }
475 
476 /*
477  * Unimplemented
478  */
479 EXTERN_C INT
480 WINAPI
PifMgr_GetProperties(HANDLE hHandle,LPCSTR lpName,LPVOID lpUnknown,INT iUnknown,UINT uUnknown)481 PifMgr_GetProperties(HANDLE hHandle, LPCSTR lpName, LPVOID lpUnknown, INT iUnknown, UINT uUnknown)
482 {
483     FIXME("PifMgr_GetProperties() stub\n");
484     return 0;
485 }
486 
487 /*
488  * Unimplemented
489  */
490 EXTERN_C INT
491 WINAPI
PifMgr_SetProperties(HANDLE hHandle,LPCSTR lpName,LPCVOID lpUnknown,INT iUnknown,UINT uUnknown)492 PifMgr_SetProperties(HANDLE hHandle, LPCSTR lpName, LPCVOID lpUnknown, INT iUnknown, UINT uUnknown)
493 {
494     FIXME("PifMgr_SetProperties() stub\n");
495     return 0;
496 }
497 
498 /*
499  * Unimplemented
500  */
501 EXTERN_C HRESULT
502 WINAPI
SHStartNetConnectionDialogW(_In_ HWND hwnd,_In_ LPCWSTR pszRemoteName,_In_ DWORD dwType)503 SHStartNetConnectionDialogW(
504     _In_ HWND hwnd,
505     _In_ LPCWSTR pszRemoteName,
506     _In_ DWORD dwType)
507 {
508     FIXME("SHStartNetConnectionDialogW() stub\n");
509     return E_FAIL;
510 }
511 
512 /*
513  * Unimplemented
514  */
515 EXTERN_C HANDLE
516 WINAPI
PifMgr_CloseProperties(HANDLE hHandle,UINT uUnknown)517 PifMgr_CloseProperties(HANDLE hHandle, UINT uUnknown)
518 {
519     FIXME("PifMgr_CloseProperties() stub\n");
520     return NULL;
521 }
522 
523 /*
524  * Unimplemented
525  */
526 EXTERN_C BOOL
527 WINAPI
DAD_DragEnterEx2(HWND hwndTarget,POINT ptStart,IDataObject * pdtObject)528 DAD_DragEnterEx2(HWND hwndTarget,
529                  POINT ptStart,
530                  IDataObject *pdtObject)
531 {
532     FIXME("DAD_DragEnterEx2() stub\n");
533     return FALSE;
534 }
535 
536 /*
537  * Unimplemented
538  */
539 EXTERN_C UINT
540 WINAPI
SHGetNetResource(LPVOID lpUnknown1,UINT iIndex,LPVOID lpUnknown2,UINT cchMax)541 SHGetNetResource(LPVOID lpUnknown1, UINT iIndex, LPVOID lpUnknown2, UINT cchMax)
542 {
543     FIXME("SHGetNetResource() stub\n");
544     return 0;
545 }
546 
547 /*
548  * Unimplemented
549  */
550 EXTERN_C BOOL
551 WINAPI
DragQueryInfo(HDROP hDrop,DRAGINFO * pDragInfo)552 DragQueryInfo(HDROP hDrop, DRAGINFO *pDragInfo)
553 {
554     FIXME("DragQueryInfo() stub\n");
555     return FALSE;
556 }
557 
558 /*
559  * Unimplemented
560  */
561 EXTERN_C LPVOID
562 WINAPI
DDECreatePostNotify(LPVOID lpUnknown)563 DDECreatePostNotify(LPVOID lpUnknown)
564 {
565     FIXME("DDECreatePostNotify() stub\n");
566     return NULL;
567 }
568 
569 /*
570  * Unimplemented
571  */
572 EXTERN_C VOID
573 WINAPI
AppCompat_RunDLLW(HWND hwnd,HINSTANCE hInstance,LPWSTR pszCmdLine,int nCmdShow)574 AppCompat_RunDLLW(HWND hwnd, HINSTANCE hInstance, LPWSTR pszCmdLine, int nCmdShow)
575 {
576     FIXME("AppCompat_RunDLLW() stub\n");
577 }
578 
579 /*
580  * Unimplemented
581  */
582 EXTERN_C VOID
583 WINAPI
Control_RunDLLAsUserW(HWND hwnd,HINSTANCE hInstance,LPWSTR pszCmdLine,int nCmdShow)584 Control_RunDLLAsUserW(HWND hwnd, HINSTANCE hInstance, LPWSTR pszCmdLine, int nCmdShow)
585 {
586     FIXME("Control_RunDLLAsUserW() stub\n");
587 }
588 
589 /*
590  * Unimplemented
591  */
592 EXTERN_C UINT
593 WINAPI
DragQueryFileAorW(HDROP hDrop,UINT iIndex,LPWSTR lpFile,UINT ucb,BOOL bUnicode,BOOL bShorten)594 DragQueryFileAorW(HDROP hDrop, UINT iIndex, LPWSTR lpFile, UINT ucb, BOOL bUnicode, BOOL bShorten)
595 {
596     FIXME("DragQueryFileAorW() stub\n");
597     return 0;
598 }
599 
600 /*
601  * Unimplemented
602  */
603 EXTERN_C DWORD
604 WINAPI
SHNetConnectionDialog(HWND hwndOwner,LPCWSTR lpstrRemoteName,DWORD dwType)605 SHNetConnectionDialog(HWND hwndOwner,
606                       LPCWSTR lpstrRemoteName,
607                       DWORD dwType)
608 {
609     FIXME("SHNetConnectionDialog() stub\n");
610     return ERROR_INVALID_PARAMETER;
611 }
612 
613 /*
614  * Unimplemented
615  */
616 EXTERN_C BOOL
617 WINAPI
DAD_SetDragImageFromListView(HWND hwnd,POINT pt)618 DAD_SetDragImageFromListView(HWND hwnd, POINT pt)
619 {
620     FIXME("DAD_SetDragImageFromListView() stub\n");
621     return FALSE;
622 }
623 
624 /*
625  * Unimplemented
626  */
627 EXTERN_C void
628 WINAPI
SHHandleDiskFull(HWND hwndOwner,UINT uDrive)629 SHHandleDiskFull(HWND hwndOwner, UINT uDrive)
630 {
631     FIXME("SHHandleDiskFull() stub\n");
632 }
633 
634 /*
635  * Unimplemented
636  */
637 EXTERN_C BOOL
638 WINAPI
ILGetPseudoNameW(LPCITEMIDLIST pidl1,LPCITEMIDLIST pidl2,LPWSTR szStr,INT iUnknown)639 ILGetPseudoNameW(LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2, LPWSTR szStr, INT iUnknown)
640 {
641     /* Unimplemented in WinXP SP3 */
642     TRACE("ILGetPseudoNameW() stub\n");
643     *szStr = 0;
644     return FALSE;
645 }
646 
647 /*
648  * Unimplemented
649  */
650 EXTERN_C VOID
651 WINAPI
SHGlobalDefect(DWORD dwUnknown)652 SHGlobalDefect(DWORD dwUnknown)
653 {
654     /* Unimplemented in WinXP SP3 */
655     TRACE("SHGlobalDefect() stub\n");
656 }
657 
658 /*
659  * Unimplemented
660  */
661 EXTERN_C LPITEMIDLIST
662 WINAPI
Printers_GetPidl(LPCITEMIDLIST pidl,LPCWSTR lpName,DWORD dwUnknown1,DWORD dwUnknown2)663 Printers_GetPidl(LPCITEMIDLIST pidl, LPCWSTR lpName, DWORD dwUnknown1, DWORD dwUnknown2)
664 {
665     FIXME("Printers_GetPidl() stub\n");
666     return NULL;
667 }
668 
669 /*
670  * Unimplemented
671  */
672 EXTERN_C LONG
673 WINAPI
Printers_AddPrinterPropPages(LPVOID lpUnknown1,LPVOID lpUnknown2)674 Printers_AddPrinterPropPages(LPVOID lpUnknown1, LPVOID lpUnknown2)
675 {
676     FIXME("Printers_AddPrinterPropPages() stub\n");
677     return 0;
678 }
679 
680 /*
681  * Unimplemented
682  */
683 EXTERN_C WORD
684 WINAPI
ExtractIconResInfoW(_In_ HANDLE hHandle,_In_ LPCWSTR lpFileName,_In_ WORD wIndex,_Out_ LPWORD lpSize,_Out_ LPHANDLE lpIcon)685 ExtractIconResInfoW(
686     _In_ HANDLE hHandle,
687     _In_ LPCWSTR lpFileName,
688     _In_ WORD wIndex,
689     _Out_ LPWORD lpSize,
690     _Out_ LPHANDLE lpIcon)
691 {
692     FIXME("ExtractIconResInfoW() stub\n");
693     return 0;
694 }
695 
696 /*
697  * Unimplemented
698  */
699 EXTERN_C DWORD
700 WINAPI
ExtractVersionResource16W(LPWSTR lpName,LPHANDLE lpHandle)701 ExtractVersionResource16W(LPWSTR lpName, LPHANDLE lpHandle)
702 {
703     FIXME("ExtractVersionResource16W() stub\n");
704     return 0;
705 }
706 
707 /*
708  * Unimplemented
709  */
710 EXTERN_C BOOL*
711 WINAPI
FindExeDlgProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LPARAM lParam)712 FindExeDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
713 {
714     FIXME("FindExeDlgProc() stub\n");
715     return 0;
716 }
717 
718 /*
719  * Unimplemented
720  */
721 EXTERN_C HANDLE
722 WINAPI
InternalExtractIconListW(HANDLE hHandle,LPWSTR lpFileName,LPINT lpCount)723 InternalExtractIconListW(HANDLE hHandle,
724                          LPWSTR lpFileName,
725                          LPINT lpCount)
726 {
727     FIXME("InternalExtractIconListW() stub\n");
728     return NULL;
729 }
730 
731 /*
732  * Unimplemented
733  */
734 EXTERN_C HANDLE
735 WINAPI
InternalExtractIconListA(HANDLE hHandle,LPSTR lpFileName,LPINT lpCount)736 InternalExtractIconListA(HANDLE hHandle,
737                          LPSTR lpFileName,
738                          LPINT lpCount)
739 {
740     FIXME("InternalExtractIconListA() stub\n");
741     return NULL;
742 }
743 
744 /*
745  * Unimplemented
746  */
747 EXTERN_C HRESULT
748 WINAPI
FirstUserLogon(LPWSTR lpUnknown1,LPWSTR lpUnknown2)749 FirstUserLogon(LPWSTR lpUnknown1, LPWSTR lpUnknown2)
750 {
751     FIXME("FirstUserLogon() stub\n");
752     return E_FAIL;
753 }
754 
755 /*
756  * Unimplemented
757  */
758 EXTERN_C HRESULT
759 WINAPI
SHSetFolderPathW(_In_ INT csidl,_In_ HANDLE hToken,_In_ DWORD dwFlags,_In_ LPCWSTR pszPath)760 SHSetFolderPathW(
761     _In_ INT csidl,
762     _In_ HANDLE hToken,
763     _In_ DWORD dwFlags,
764     _In_ LPCWSTR pszPath)
765 {
766     FIXME("SHSetFolderPathW() stub\n");
767     return E_FAIL;
768 }
769 
770 /*
771  * Unimplemented
772  */
773 EXTERN_C HRESULT
774 WINAPI
SHGetUserPicturePathW(LPCWSTR lpPath,int csidl,LPVOID lpUnknown)775 SHGetUserPicturePathW(LPCWSTR lpPath, int csidl, LPVOID lpUnknown)
776 {
777     FIXME("SHGetUserPicturePathW() stub\n");
778     return E_FAIL;
779 }
780 
781 /*
782  * Unimplemented
783  */
784 EXTERN_C HRESULT
785 WINAPI
SHSetUserPicturePathW(LPCWSTR lpPath,int csidl,LPVOID lpUnknown)786 SHSetUserPicturePathW(LPCWSTR lpPath, int csidl, LPVOID lpUnknown)
787 {
788     FIXME("SHGetUserPicturePathA() stub\n");
789     return E_FAIL;
790 }
791 
792 /*
793  * Unimplemented
794  */
795 EXTERN_C BOOL
796 WINAPI
PathIsSlowW(_In_ LPCWSTR pszFile,_In_ DWORD dwAttr)797 PathIsSlowW(
798     _In_ LPCWSTR pszFile,
799     _In_ DWORD dwAttr)
800 {
801     FIXME("PathIsSlowW() stub\n");
802     return FALSE;
803 }
804 
805 /*
806  * Unimplemented
807  */
808 EXTERN_C DWORD
809 WINAPI
SHGetProcessDword(DWORD dwUnknown1,DWORD dwUnknown2)810 SHGetProcessDword(DWORD dwUnknown1, DWORD dwUnknown2)
811 {
812     /* Unimplemented in WinXP SP3 */
813     TRACE("SHGetProcessDword() stub\n");
814     return 0;
815 }
816 
817 EXTERN_C
CheckStagingArea(VOID)818 DWORD WINAPI CheckStagingArea(VOID)
819 {
820     /* Called by native explorer */
821     return 0;
822 }
823