3 * Virtual Desktop Folder
5 * Copyright 1997 Marcus Meissner
6 * Copyright 1998, 1999, 2002 Juergen Schmied
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 #include "wine/port.h"
31 #define NONAMELESSUNION
32 #define NONAMELESSSTRUCT
43 #include "enumidlist.h"
45 #include "undocshell.h"
46 #include "shell32_main.h"
49 #include "shellfolder.h"
50 #include "wine/debug.h"
54 WINE_DEFAULT_DEBUG_CHANNEL (shell);
56 /***********************************************************************
57 * Desktopfolder implementation
61 ICOM_VFIELD (IShellFolder2);
66 /* both paths are parsible from the desktop */
67 LPSTR sPathTarget; /* complete path to target used for enumeration and ChangeNotify */
68 LPITEMIDLIST pidlRoot; /* absolute pidl */
70 int dwAttributes; /* attributes returned by GetAttributesOf FIXME: use it */
72 UINT cfShellIDList; /* clipboardformat for IDropTarget */
73 BOOL fAcceptFmt; /* flag for pending Drop */
76 #define _IUnknown_(This) (IShellFolder*)&(This->lpVtbl)
77 #define _IShellFolder_(This) (IShellFolder*)&(This->lpVtbl)
79 static struct ICOM_VTABLE (IShellFolder2) vt_MCFldr_ShellFolder2;
81 static shvheader DesktopSFHeader[] = {
82 {IDS_SHV_COLUMN1, SHCOLSTATE_TYPE_STR | SHCOLSTATE_ONBYDEFAULT, LVCFMT_RIGHT, 15},
83 {IDS_SHV_COLUMN2, SHCOLSTATE_TYPE_STR | SHCOLSTATE_ONBYDEFAULT, LVCFMT_RIGHT, 10},
84 {IDS_SHV_COLUMN3, SHCOLSTATE_TYPE_STR | SHCOLSTATE_ONBYDEFAULT, LVCFMT_RIGHT, 10},
85 {IDS_SHV_COLUMN4, SHCOLSTATE_TYPE_DATE | SHCOLSTATE_ONBYDEFAULT, LVCFMT_RIGHT, 12},
86 {IDS_SHV_COLUMN5, SHCOLSTATE_TYPE_STR | SHCOLSTATE_ONBYDEFAULT, LVCFMT_RIGHT, 5}
89 #define DESKTOPSHELLVIEWCOLUMNS 5
91 /**************************************************************************
92 * ISF_Desktop_Constructor
94 HRESULT WINAPI ISF_Desktop_Constructor (IUnknown * pUnkOuter, REFIID riid, LPVOID * ppv)
97 char szMyPath[MAX_PATH];
99 TRACE ("unkOut=%p %s\n", pUnkOuter, shdebugstr_guid (riid));
104 return CLASS_E_NOAGGREGATION;
106 if (!SHGetSpecialFolderPathA (0, szMyPath, CSIDL_DESKTOPDIRECTORY, TRUE))
109 sf = (IGenericSFImpl *) LocalAlloc (GMEM_ZEROINIT, sizeof (IGenericSFImpl));
111 return E_OUTOFMEMORY;
114 sf->lpVtbl = &vt_MCFldr_ShellFolder2;
115 sf->pidlRoot = _ILCreateDesktop (); /* my qualified pidl */
116 sf->sPathTarget = SHAlloc (strlen (szMyPath) + 1);
117 lstrcpyA (sf->sPathTarget, szMyPath);
119 if (!SUCCEEDED (IUnknown_QueryInterface (_IUnknown_ (sf), riid, ppv))) {
120 IUnknown_Release (_IUnknown_ (sf));
121 return E_NOINTERFACE;
124 TRACE ("--(%p)\n", sf);
128 /**************************************************************************
129 * ISF_Desktop_fnQueryInterface
131 * NOTES supports not IPersist/IPersistFolder
133 static HRESULT WINAPI ISF_Desktop_fnQueryInterface (IShellFolder2 * iface, REFIID riid, LPVOID * ppvObj)
135 ICOM_THIS (IGenericSFImpl, iface);
137 TRACE ("(%p)->(%s,%p)\n", This, shdebugstr_guid (riid), ppvObj);
141 if (IsEqualIID (riid, &IID_IUnknown) || IsEqualIID (riid, &IID_IShellFolder)
142 || IsEqualIID (riid, &IID_IShellFolder2)) {
147 IUnknown_AddRef ((IUnknown *) (*ppvObj));
148 TRACE ("-- Interface: (%p)->(%p)\n", ppvObj, *ppvObj);
151 TRACE ("-- Interface: E_NOINTERFACE\n");
152 return E_NOINTERFACE;
155 static ULONG WINAPI ISF_Desktop_fnAddRef (IShellFolder2 * iface)
157 ICOM_THIS (IGenericSFImpl, iface);
159 TRACE ("(%p)->(count=%lu)\n", This, This->ref);
161 return ++(This->ref);
164 static ULONG WINAPI ISF_Desktop_fnRelease (IShellFolder2 * iface)
166 ICOM_THIS (IGenericSFImpl, iface);
168 TRACE ("(%p)->(count=%lu)\n", This, This->ref);
170 if (!--(This->ref)) {
171 TRACE ("-- destroying IShellFolder(%p)\n", This);
173 SHFree (This->pidlRoot);
174 if (This->sPathTarget)
175 SHFree (This->sPathTarget);
176 LocalFree ((HLOCAL) This);
182 /**************************************************************************
183 * ISF_Desktop_fnParseDisplayName
186 * "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}" and "" binds
189 static HRESULT WINAPI ISF_Desktop_fnParseDisplayName (IShellFolder2 * iface,
192 LPOLESTR lpszDisplayName,
193 DWORD * pchEaten, LPITEMIDLIST * ppidl, DWORD * pdwAttributes)
195 ICOM_THIS (IGenericSFImpl, iface);
197 WCHAR szElement[MAX_PATH];
198 LPCWSTR szNext = NULL;
199 LPITEMIDLIST pidlTemp = NULL;
200 HRESULT hr = E_INVALIDARG;
201 char szPath[MAX_PATH];
205 TRACE ("(%p)->(HWND=%p,%p,%p=%s,%p,pidl=%p,%p)\n",
206 This, hwndOwner, pbc, lpszDisplayName, debugstr_w (lpszDisplayName), pchEaten, ppidl, pdwAttributes);
208 if (!lpszDisplayName || !ppidl)
214 *pchEaten = 0; /* strange but like the original */
216 if (lpszDisplayName[0] == ':' && lpszDisplayName[1] == ':') {
217 szNext = GetNextElementW (lpszDisplayName, szElement, MAX_PATH);
218 TRACE ("-- element: %s\n", debugstr_w (szElement));
219 SHCLSIDFromStringW (szElement + 2, &clsid);
220 pidlTemp = _ILCreateGuid (PT_GUID, &clsid);
221 } else if (PathGetDriveNumberW (lpszDisplayName) >= 0) {
222 /* it's a filesystem path with a drive. Let MyComputer parse it */
223 pidlTemp = _ILCreateMyComputer ();
224 szNext = lpszDisplayName;
225 } else if (PathIsUNCW(lpszDisplayName)) {
226 pidlTemp = _ILCreateNetwork();
227 szNext = lpszDisplayName;
229 /* it's a filesystem path on the desktop. Let a FSFolder parse it */
231 if (*lpszDisplayName) {
232 /* build a complete path to create a simple pidl */
233 lstrcpyA(szPath, This->sPathTarget);
234 PathAddBackslashA(szPath);
235 len = lstrlenA(szPath);
236 WideCharToMultiByte(CP_ACP, 0, lpszDisplayName, -1, szPath + len, MAX_PATH - len, NULL, NULL);
237 pidlTemp = _ILCreateFromPathA(szPath);
239 pidlTemp = _ILCreateMyComputer();
246 if (szNext && *szNext) {
247 hr = SHELL32_ParseNextElement (iface, hwndOwner, pbc, &pidlTemp, (LPOLESTR) szNext, pchEaten, pdwAttributes);
250 if (pdwAttributes && *pdwAttributes) {
251 SHELL32_GetItemAttributes (_IShellFolder_ (This), pidlTemp, pdwAttributes);
258 TRACE ("(%p)->(-- ret=0x%08lx)\n", This, hr);
263 /**************************************************************************
264 * CreateDesktopEnumList()
266 static BOOL CreateDesktopEnumList(IEnumIDList *list, DWORD dwFlags)
269 char szPath[MAX_PATH];
271 TRACE("(%p)->(flags=0x%08lx) \n",list,dwFlags);
273 /*enumerate the root folders */
274 if(dwFlags & SHCONTF_FOLDERS)
278 /*create the pidl for This item */
279 ret = AddToEnumList(list, _ILCreateMyComputer());
281 if (ret && !RegOpenKeyExA(HKEY_LOCAL_MACHINE,
282 "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\explorer\\desktop\\NameSpace",
287 BOOL moreKeys = TRUE;
289 while (ret && moreKeys)
291 DWORD size = sizeof (iid);
292 LONG apiRet = RegEnumKeyExA(hkey, i, iid, &size, 0, NULL, NULL,
295 if (ERROR_SUCCESS == apiRet)
297 ret = AddToEnumList(list, _ILCreateGuidFromStrA(iid));
300 else if (ERROR_NO_MORE_ITEMS == apiRet)
309 /*enumerate the elements in %windir%\desktop */
310 SHGetSpecialFolderPathA(0, szPath, CSIDL_DESKTOPDIRECTORY, FALSE);
311 ret = ret && CreateFolderEnumList(list, szPath, dwFlags);
316 /**************************************************************************
317 * ISF_Desktop_fnEnumObjects
319 static HRESULT WINAPI ISF_Desktop_fnEnumObjects (IShellFolder2 * iface,
320 HWND hwndOwner, DWORD dwFlags, LPENUMIDLIST * ppEnumIDList)
322 ICOM_THIS (IGenericSFImpl, iface);
324 TRACE ("(%p)->(HWND=%p flags=0x%08lx pplist=%p)\n", This, hwndOwner, dwFlags, ppEnumIDList);
326 *ppEnumIDList = IEnumIDList_Constructor();
328 CreateDesktopEnumList(*ppEnumIDList, dwFlags);
330 TRACE ("-- (%p)->(new ID List: %p)\n", This, *ppEnumIDList);
332 return *ppEnumIDList ? S_OK : E_OUTOFMEMORY;
335 /**************************************************************************
336 * ISF_Desktop_fnBindToObject
338 static HRESULT WINAPI ISF_Desktop_fnBindToObject (IShellFolder2 * iface,
339 LPCITEMIDLIST pidl, LPBC pbcReserved, REFIID riid, LPVOID * ppvOut)
341 ICOM_THIS (IGenericSFImpl, iface);
343 TRACE ("(%p)->(pidl=%p,%p,%s,%p)\n", This, pidl, pbcReserved, shdebugstr_guid (riid), ppvOut);
345 return SHELL32_BindToChild (This->pidlRoot, This->sPathTarget, pidl, riid, ppvOut);
348 /**************************************************************************
349 * ISF_Desktop_fnBindToStorage
351 static HRESULT WINAPI ISF_Desktop_fnBindToStorage (IShellFolder2 * iface,
352 LPCITEMIDLIST pidl, LPBC pbcReserved, REFIID riid, LPVOID * ppvOut)
354 ICOM_THIS (IGenericSFImpl, iface);
356 FIXME ("(%p)->(pidl=%p,%p,%s,%p) stub\n", This, pidl, pbcReserved, shdebugstr_guid (riid), ppvOut);
362 /**************************************************************************
363 * ISF_Desktop_fnCompareIDs
366 static HRESULT WINAPI ISF_Desktop_fnCompareIDs (IShellFolder2 * iface,
367 LPARAM lParam, LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2)
369 ICOM_THIS (IGenericSFImpl, iface);
373 TRACE ("(%p)->(0x%08lx,pidl1=%p,pidl2=%p)\n", This, lParam, pidl1, pidl2);
374 nReturn = SHELL32_CompareIDs (_IShellFolder_ (This), lParam, pidl1, pidl2);
375 TRACE ("-- %i\n", nReturn);
379 /**************************************************************************
380 * ISF_Desktop_fnCreateViewObject
382 static HRESULT WINAPI ISF_Desktop_fnCreateViewObject (IShellFolder2 * iface,
383 HWND hwndOwner, REFIID riid, LPVOID * ppvOut)
385 ICOM_THIS (IGenericSFImpl, iface);
387 LPSHELLVIEW pShellView;
388 HRESULT hr = E_INVALIDARG;
390 TRACE ("(%p)->(hwnd=%p,%s,%p)\n", This, hwndOwner, shdebugstr_guid (riid), ppvOut);
395 if (IsEqualIID (riid, &IID_IDropTarget)) {
396 WARN ("IDropTarget not implemented\n");
398 } else if (IsEqualIID (riid, &IID_IContextMenu)) {
399 WARN ("IContextMenu not implemented\n");
401 } else if (IsEqualIID (riid, &IID_IShellView)) {
402 pShellView = IShellView_Constructor ((IShellFolder *) iface);
404 hr = IShellView_QueryInterface (pShellView, riid, ppvOut);
405 IShellView_Release (pShellView);
409 TRACE ("-- (%p)->(interface=%p)\n", This, ppvOut);
413 /**************************************************************************
414 * ISF_Desktop_fnGetAttributesOf
416 static HRESULT WINAPI ISF_Desktop_fnGetAttributesOf (IShellFolder2 * iface,
417 UINT cidl, LPCITEMIDLIST * apidl, DWORD * rgfInOut)
419 ICOM_THIS (IGenericSFImpl, iface);
423 TRACE ("(%p)->(cidl=%d apidl=%p mask=0x%08lx)\n", This, cidl, apidl, *rgfInOut);
425 if ((!cidl) || (!apidl) || (!rgfInOut))
428 while (cidl > 0 && *apidl) {
430 SHELL32_GetItemAttributes (_IShellFolder_ (This), *apidl, rgfInOut);
435 TRACE ("-- result=0x%08lx\n", *rgfInOut);
440 /**************************************************************************
441 * ISF_Desktop_fnGetUIObjectOf
444 * HWND hwndOwner, //[in ] Parent window for any output
445 * UINT cidl, //[in ] array size
446 * LPCITEMIDLIST* apidl, //[in ] simple pidl array
447 * REFIID riid, //[in ] Requested Interface
448 * UINT* prgfInOut, //[ ] reserved
449 * LPVOID* ppvObject) //[out] Resulting Interface
452 static HRESULT WINAPI ISF_Desktop_fnGetUIObjectOf (IShellFolder2 * iface,
455 LPCITEMIDLIST * apidl,
456 REFIID riid, UINT * prgfInOut, LPVOID * ppvOut)
458 ICOM_THIS (IGenericSFImpl, iface);
461 IUnknown *pObj = NULL;
462 HRESULT hr = E_INVALIDARG;
464 TRACE ("(%p)->(%p,%u,apidl=%p,%s,%p,%p)\n",
465 This, hwndOwner, cidl, apidl, shdebugstr_guid (riid), prgfInOut, ppvOut);
470 if (IsEqualIID (riid, &IID_IContextMenu)) {
471 pObj = (LPUNKNOWN) ISvItemCm_Constructor ((IShellFolder *) iface, This->pidlRoot, apidl, cidl);
473 } else if (IsEqualIID (riid, &IID_IDataObject) && (cidl >= 1)) {
474 pObj = (LPUNKNOWN) IDataObject_Constructor (hwndOwner, This->pidlRoot, apidl, cidl);
476 } else if (IsEqualIID (riid, &IID_IExtractIconA) && (cidl == 1)) {
477 pidl = ILCombine (This->pidlRoot, apidl[0]);
478 pObj = (LPUNKNOWN) IExtractIconA_Constructor (pidl);
481 } else if (IsEqualIID (riid, &IID_IExtractIconW) && (cidl == 1)) {
482 pidl = ILCombine (This->pidlRoot, apidl[0]);
483 pObj = (LPUNKNOWN) IExtractIconW_Constructor (pidl);
486 } else if (IsEqualIID (riid, &IID_IDropTarget) && (cidl >= 1)) {
487 hr = IShellFolder_QueryInterface (iface, &IID_IDropTarget, (LPVOID *) & pObj);
488 } else if ((IsEqualIID(riid,&IID_IShellLinkW) || IsEqualIID(riid,&IID_IShellLinkA))
490 pidl = ILCombine (This->pidlRoot, apidl[0]);
491 hr = IShellLink_ConstructFromFile(NULL, riid, pidl, (LPVOID*)&pObj);
497 if (SUCCEEDED(hr) && !pObj)
502 TRACE ("(%p)->hr=0x%08lx\n", This, hr);
506 /**************************************************************************
507 * ISF_Desktop_fnGetDisplayNameOf
510 * special case: pidl = null gives desktop-name back
512 static HRESULT WINAPI ISF_Desktop_fnGetDisplayNameOf (IShellFolder2 * iface,
513 LPCITEMIDLIST pidl, DWORD dwFlags, LPSTRRET strRet)
515 ICOM_THIS (IGenericSFImpl, iface);
517 CHAR szPath[MAX_PATH];
523 TRACE ("(%p)->(pidl=%p,0x%08lx,%p)\n", This, pidl, dwFlags, strRet);
529 if (_ILIsDesktop (pidl)) {
530 if ((GET_SHGDN_RELATION (dwFlags) == SHGDN_NORMAL) && (GET_SHGDN_FOR (dwFlags) == SHGDN_FORPARSING)) {
531 lstrcpyA (szPath, This->sPathTarget);
533 HCR_GetClassNameA(&CLSID_ShellDesktop, szPath, MAX_PATH);
535 } else if (_ILIsPidlSimple (pidl)) {
536 if ((clsid = _ILGetGUIDPointer (pidl))) {
537 if (GET_SHGDN_FOR (dwFlags) == SHGDN_FORPARSING) {
538 int bWantsForParsing;
541 * we can only get a filesystem path from a shellfolder if the value WantsFORPARSING in
542 * CLSID\\{...}\\shellfolder exists
543 * exception: the MyComputer folder has this keys not but like any filesystem backed
544 * folder it needs these behaviour
546 if (IsEqualIID (clsid, &CLSID_MyComputer)) {
547 bWantsForParsing = 1;
549 /* get the "WantsFORPARSING" flag from the registry */
552 lstrcpyA (szRegPath, "CLSID\\");
553 SHELL32_GUIDToStringA (clsid, &szRegPath[6]);
554 lstrcatA (szRegPath, "\\shellfolder");
557 SHGetValueA (HKEY_CLASSES_ROOT, szRegPath, "WantsFORPARSING", NULL, NULL, NULL));
560 if ((GET_SHGDN_RELATION (dwFlags) == SHGDN_NORMAL) && bWantsForParsing) {
561 /* we need the filesystem path to the destination folder. Only the folder itself can know it */
562 hr = SHELL32_GetDisplayNameOfChild (iface, pidl, dwFlags, szPath, MAX_PATH);
564 /* parsing name like ::{...} */
565 lstrcpyA (szPath, "::");
566 SHELL32_GUIDToStringA (clsid, &szPath[2]);
569 /* user friendly name */
570 HCR_GetClassNameA (clsid, szPath, MAX_PATH);
573 /* file system folder */
574 _ILSimpleGetText (pidl, szPath, MAX_PATH);
576 if (!_ILIsFolder(pidl))
577 SHELL_FS_ProcessDisplayFilename(szPath, dwFlags);
580 /* a complex pidl, let the subfolder do the work */
581 hr = SHELL32_GetDisplayNameOfChild (iface, pidl, dwFlags, szPath, MAX_PATH);
584 if (SUCCEEDED (hr)) {
585 strRet->uType = STRRET_CSTR;
586 lstrcpynA (strRet->u.cStr, szPath, MAX_PATH);
589 TRACE ("-- (%p)->(%s,0x%08lx)\n", This, szPath, hr);
593 /**************************************************************************
594 * ISF_Desktop_fnSetNameOf
595 * Changes the name of a file object or subfolder, possibly changing its item
596 * identifier in the process.
599 * HWND hwndOwner, //[in ] Owner window for output
600 * LPCITEMIDLIST pidl, //[in ] simple pidl of item to change
601 * LPCOLESTR lpszName, //[in ] the items new display name
602 * DWORD dwFlags, //[in ] SHGNO formatting flags
603 * LPITEMIDLIST* ppidlOut) //[out] simple pidl returned
605 static HRESULT WINAPI ISF_Desktop_fnSetNameOf (IShellFolder2 * iface, HWND hwndOwner, LPCITEMIDLIST pidl, /*simple pidl */
606 LPCOLESTR lpName, DWORD dwFlags, LPITEMIDLIST * pPidlOut)
608 ICOM_THIS (IGenericSFImpl, iface);
610 FIXME ("(%p)->(%p,pidl=%p,%s,%lu,%p)\n", This, hwndOwner, pidl, debugstr_w (lpName), dwFlags, pPidlOut);
615 static HRESULT WINAPI ISF_Desktop_fnGetDefaultSearchGUID (IShellFolder2 * iface, GUID * pguid)
617 ICOM_THIS (IGenericSFImpl, iface);
619 FIXME ("(%p)\n", This);
622 static HRESULT WINAPI ISF_Desktop_fnEnumSearches (IShellFolder2 * iface, IEnumExtraSearch ** ppenum)
624 ICOM_THIS (IGenericSFImpl, iface);
625 FIXME ("(%p)\n", This);
628 static HRESULT WINAPI ISF_Desktop_fnGetDefaultColumn (IShellFolder2 * iface,
629 DWORD dwRes, ULONG * pSort, ULONG * pDisplay)
631 ICOM_THIS (IGenericSFImpl, iface);
633 TRACE ("(%p)\n", This);
642 static HRESULT WINAPI ISF_Desktop_fnGetDefaultColumnState (IShellFolder2 * iface, UINT iColumn, DWORD * pcsFlags)
644 ICOM_THIS (IGenericSFImpl, iface);
646 TRACE ("(%p)\n", This);
648 if (!pcsFlags || iColumn >= DESKTOPSHELLVIEWCOLUMNS)
651 *pcsFlags = DesktopSFHeader[iColumn].pcsFlags;
655 static HRESULT WINAPI ISF_Desktop_fnGetDetailsEx (IShellFolder2 * iface,
656 LPCITEMIDLIST pidl, const SHCOLUMNID * pscid, VARIANT * pv)
658 ICOM_THIS (IGenericSFImpl, iface);
659 FIXME ("(%p)\n", This);
663 static HRESULT WINAPI ISF_Desktop_fnGetDetailsOf (IShellFolder2 * iface,
664 LPCITEMIDLIST pidl, UINT iColumn, SHELLDETAILS * psd)
666 ICOM_THIS (IGenericSFImpl, iface);
670 TRACE ("(%p)->(%p %i %p)\n", This, pidl, iColumn, psd);
672 if (!psd || iColumn >= DESKTOPSHELLVIEWCOLUMNS)
676 psd->fmt = DesktopSFHeader[iColumn].fmt;
677 psd->cxChar = DesktopSFHeader[iColumn].cxChar;
678 psd->str.uType = STRRET_CSTR;
679 LoadStringA (shell32_hInstance, DesktopSFHeader[iColumn].colnameid, psd->str.u.cStr, MAX_PATH);
682 /* the data from the pidl */
685 hr = IShellFolder_GetDisplayNameOf (iface, pidl, SHGDN_NORMAL | SHGDN_INFOLDER, &psd->str);
688 _ILGetFileSize (pidl, psd->str.u.cStr, MAX_PATH);
691 _ILGetFileType (pidl, psd->str.u.cStr, MAX_PATH);
694 _ILGetFileDate (pidl, psd->str.u.cStr, MAX_PATH);
696 case 4: /* attributes */
697 _ILGetFileAttributes (pidl, psd->str.u.cStr, MAX_PATH);
701 psd->str.uType = STRRET_CSTR;
706 static HRESULT WINAPI ISF_Desktop_fnMapColumnToSCID (IShellFolder2 * iface, UINT column, SHCOLUMNID * pscid)
708 ICOM_THIS (IGenericSFImpl, iface);
709 FIXME ("(%p)\n", This);
713 static ICOM_VTABLE (IShellFolder2) vt_MCFldr_ShellFolder2 =
715 ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
716 ISF_Desktop_fnQueryInterface,
717 ISF_Desktop_fnAddRef,
718 ISF_Desktop_fnRelease,
719 ISF_Desktop_fnParseDisplayName,
720 ISF_Desktop_fnEnumObjects,
721 ISF_Desktop_fnBindToObject,
722 ISF_Desktop_fnBindToStorage,
723 ISF_Desktop_fnCompareIDs,
724 ISF_Desktop_fnCreateViewObject,
725 ISF_Desktop_fnGetAttributesOf,
726 ISF_Desktop_fnGetUIObjectOf,
727 ISF_Desktop_fnGetDisplayNameOf,
728 ISF_Desktop_fnSetNameOf,
730 ISF_Desktop_fnGetDefaultSearchGUID,
731 ISF_Desktop_fnEnumSearches,
732 ISF_Desktop_fnGetDefaultColumn,
733 ISF_Desktop_fnGetDefaultColumnState,
734 ISF_Desktop_fnGetDetailsEx,
735 ISF_Desktop_fnGetDetailsOf,
736 ISF_Desktop_fnMapColumnToSCID};