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