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
44 #include "undocshell.h"
45 #include "shell32_main.h"
48 #include "shellfolder.h"
49 #include "wine/debug.h"
53 WINE_DEFAULT_DEBUG_CHANNEL (shell
);
55 /***********************************************************************
56 * Desktopfolder implementation
60 ICOM_VFIELD (IShellFolder2
);
65 /* both paths are parsible from the desktop */
66 LPSTR sPathTarget
; /* complete path to target used for enumeration and ChangeNotify */
67 LPITEMIDLIST pidlRoot
; /* absolute pidl */
69 int dwAttributes
; /* attributes returned by GetAttributesOf FIXME: use it */
71 UINT cfShellIDList
; /* clipboardformat for IDropTarget */
72 BOOL fAcceptFmt
; /* flag for pending Drop */
75 #define _IUnknown_(This) (IShellFolder*)&(This->lpVtbl)
76 #define _IShellFolder_(This) (IShellFolder*)&(This->lpVtbl)
78 static struct ICOM_VTABLE (IShellFolder2
) vt_MCFldr_ShellFolder2
;
80 static shvheader DesktopSFHeader
[] = {
81 {IDS_SHV_COLUMN1
, SHCOLSTATE_TYPE_STR
| SHCOLSTATE_ONBYDEFAULT
, LVCFMT_RIGHT
, 15},
82 {IDS_SHV_COLUMN2
, SHCOLSTATE_TYPE_STR
| SHCOLSTATE_ONBYDEFAULT
, LVCFMT_RIGHT
, 10},
83 {IDS_SHV_COLUMN3
, SHCOLSTATE_TYPE_STR
| SHCOLSTATE_ONBYDEFAULT
, LVCFMT_RIGHT
, 10},
84 {IDS_SHV_COLUMN4
, SHCOLSTATE_TYPE_DATE
| SHCOLSTATE_ONBYDEFAULT
, LVCFMT_RIGHT
, 12},
85 {IDS_SHV_COLUMN5
, SHCOLSTATE_TYPE_STR
| SHCOLSTATE_ONBYDEFAULT
, LVCFMT_RIGHT
, 5}
88 #define DESKTOPSHELLVIEWCOLUMNS 5
90 /**************************************************************************
91 * ISF_Desktop_Constructor
93 HRESULT WINAPI
ISF_Desktop_Constructor (IUnknown
* pUnkOuter
, REFIID riid
, LPVOID
* ppv
)
96 char szMyPath
[MAX_PATH
];
98 TRACE ("unkOut=%p %s\n", pUnkOuter
, shdebugstr_guid (riid
));
103 return CLASS_E_NOAGGREGATION
;
105 if (!SHGetSpecialFolderPathA (0, szMyPath
, CSIDL_DESKTOPDIRECTORY
, TRUE
))
108 sf
= (IGenericSFImpl
*) LocalAlloc (GMEM_ZEROINIT
, sizeof (IGenericSFImpl
));
110 return E_OUTOFMEMORY
;
113 sf
->lpVtbl
= &vt_MCFldr_ShellFolder2
;
114 sf
->pidlRoot
= _ILCreateDesktop (); /* my qualified pidl */
115 sf
->sPathTarget
= SHAlloc (strlen (szMyPath
) + 1);
116 lstrcpyA (sf
->sPathTarget
, szMyPath
);
118 if (!SUCCEEDED (IUnknown_QueryInterface (_IUnknown_ (sf
), riid
, ppv
))) {
119 IUnknown_Release (_IUnknown_ (sf
));
120 return E_NOINTERFACE
;
123 TRACE ("--(%p)\n", sf
);
127 /**************************************************************************
128 * ISF_Desktop_fnQueryInterface
130 * NOTES supports not IPersist/IPersistFolder
132 static HRESULT WINAPI
ISF_Desktop_fnQueryInterface (IShellFolder2
* iface
, REFIID riid
, LPVOID
* ppvObj
)
134 ICOM_THIS (IGenericSFImpl
, iface
);
136 TRACE ("(%p)->(%s,%p)\n", This
, shdebugstr_guid (riid
), ppvObj
);
140 if (IsEqualIID (riid
, &IID_IUnknown
) || IsEqualIID (riid
, &IID_IShellFolder
)
141 || IsEqualIID (riid
, &IID_IShellFolder2
)) {
146 IUnknown_AddRef ((IUnknown
*) (*ppvObj
));
147 TRACE ("-- Interface: (%p)->(%p)\n", ppvObj
, *ppvObj
);
150 TRACE ("-- Interface: E_NOINTERFACE\n");
151 return E_NOINTERFACE
;
154 static ULONG WINAPI
ISF_Desktop_fnAddRef (IShellFolder2
* iface
)
156 ICOM_THIS (IGenericSFImpl
, iface
);
158 TRACE ("(%p)->(count=%lu)\n", This
, This
->ref
);
160 return ++(This
->ref
);
163 static ULONG WINAPI
ISF_Desktop_fnRelease (IShellFolder2
* iface
)
165 ICOM_THIS (IGenericSFImpl
, iface
);
167 TRACE ("(%p)->(count=%lu)\n", This
, This
->ref
);
169 if (!--(This
->ref
)) {
170 TRACE ("-- destroying IShellFolder(%p)\n", This
);
172 SHFree (This
->pidlRoot
);
173 if (This
->sPathTarget
)
174 SHFree (This
->sPathTarget
);
175 LocalFree ((HLOCAL
) This
);
181 /**************************************************************************
182 * ISF_Desktop_fnParseDisplayName
185 * "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}" and "" binds
188 static HRESULT WINAPI
ISF_Desktop_fnParseDisplayName (IShellFolder2
* iface
,
191 LPOLESTR lpszDisplayName
,
192 DWORD
* pchEaten
, LPITEMIDLIST
* ppidl
, DWORD
* pdwAttributes
)
194 ICOM_THIS (IGenericSFImpl
, iface
);
196 WCHAR szElement
[MAX_PATH
];
197 LPCWSTR szNext
= NULL
;
198 LPITEMIDLIST pidlTemp
= NULL
;
199 HRESULT hr
= E_INVALIDARG
;
200 char szPath
[MAX_PATH
];
204 TRACE ("(%p)->(HWND=%p,%p,%p=%s,%p,pidl=%p,%p)\n",
205 This
, hwndOwner
, pbc
, lpszDisplayName
, debugstr_w (lpszDisplayName
), pchEaten
, ppidl
, pdwAttributes
);
207 if (!lpszDisplayName
|| !ppidl
)
213 *pchEaten
= 0; /* strange but like the original */
215 if (lpszDisplayName
[0] == ':' && lpszDisplayName
[1] == ':') {
216 szNext
= GetNextElementW (lpszDisplayName
, szElement
, MAX_PATH
);
217 TRACE ("-- element: %s\n", debugstr_w (szElement
));
218 SHCLSIDFromStringW (szElement
+ 2, &clsid
);
219 pidlTemp
= _ILCreate (PT_MYCOMP
, &clsid
, sizeof (clsid
));
220 } else if (PathGetDriveNumberW (lpszDisplayName
) >= 0) {
221 /* it's a filesystem path with a drive. Let MyComputer parse it */
222 pidlTemp
= _ILCreateMyComputer ();
223 szNext
= lpszDisplayName
;
224 } else if (PathIsUNCW(lpszDisplayName
)) {
225 pidlTemp
= _ILCreateNetwork();
226 szNext
= lpszDisplayName
;
228 /* it's a filesystem path on the desktop. Let a FSFolder parse it */
230 /* build a complete path to create a simple pidl */
231 lstrcpyA(szPath
, This
->sPathTarget
);
232 PathAddBackslashA(szPath
);
233 len
= lstrlenA(szPath
);
234 WideCharToMultiByte(CP_ACP
, 0, lpszDisplayName
, -1, szPath
+ len
, MAX_PATH
- len
, NULL
, NULL
);
235 pidlTemp
= _ILCreateFromPathA(szPath
);
240 if (szNext
&& *szNext
) {
241 hr
= SHELL32_ParseNextElement (iface
, hwndOwner
, pbc
, &pidlTemp
, (LPOLESTR
) szNext
, pchEaten
, pdwAttributes
);
244 if (pdwAttributes
&& *pdwAttributes
) {
245 SHELL32_GetItemAttributes (_IShellFolder_ (This
), pidlTemp
, pdwAttributes
);
252 TRACE ("(%p)->(-- ret=0x%08lx)\n", This
, hr
);
257 /**************************************************************************
258 * ISF_Desktop_fnEnumObjects
260 static HRESULT WINAPI
ISF_Desktop_fnEnumObjects (IShellFolder2
* iface
,
261 HWND hwndOwner
, DWORD dwFlags
, LPENUMIDLIST
* ppEnumIDList
)
263 ICOM_THIS (IGenericSFImpl
, iface
);
265 TRACE ("(%p)->(HWND=%p flags=0x%08lx pplist=%p)\n", This
, hwndOwner
, dwFlags
, ppEnumIDList
);
267 *ppEnumIDList
= NULL
;
268 *ppEnumIDList
= IEnumIDList_Constructor (NULL
, dwFlags
, EIDL_DESK
);
270 TRACE ("-- (%p)->(new ID List: %p)\n", This
, *ppEnumIDList
);
273 return E_OUTOFMEMORY
;
278 /**************************************************************************
279 * ISF_Desktop_fnBindToObject
281 static HRESULT WINAPI
ISF_Desktop_fnBindToObject (IShellFolder2
* iface
,
282 LPCITEMIDLIST pidl
, LPBC pbcReserved
, REFIID riid
, LPVOID
* ppvOut
)
284 ICOM_THIS (IGenericSFImpl
, iface
);
286 TRACE ("(%p)->(pidl=%p,%p,%s,%p)\n", This
, pidl
, pbcReserved
, shdebugstr_guid (riid
), ppvOut
);
288 return SHELL32_BindToChild (This
->pidlRoot
, This
->sPathTarget
, pidl
, riid
, ppvOut
);
291 /**************************************************************************
292 * ISF_Desktop_fnBindToStorage
294 static HRESULT WINAPI
ISF_Desktop_fnBindToStorage (IShellFolder2
* iface
,
295 LPCITEMIDLIST pidl
, LPBC pbcReserved
, REFIID riid
, LPVOID
* ppvOut
)
297 ICOM_THIS (IGenericSFImpl
, iface
);
299 FIXME ("(%p)->(pidl=%p,%p,%s,%p) stub\n", This
, pidl
, pbcReserved
, shdebugstr_guid (riid
), ppvOut
);
305 /**************************************************************************
306 * ISF_Desktop_fnCompareIDs
309 static HRESULT WINAPI
ISF_Desktop_fnCompareIDs (IShellFolder2
* iface
,
310 LPARAM lParam
, LPCITEMIDLIST pidl1
, LPCITEMIDLIST pidl2
)
312 ICOM_THIS (IGenericSFImpl
, iface
);
316 TRACE ("(%p)->(0x%08lx,pidl1=%p,pidl2=%p)\n", This
, lParam
, pidl1
, pidl2
);
317 nReturn
= SHELL32_CompareIDs (_IShellFolder_ (This
), lParam
, pidl1
, pidl2
);
318 TRACE ("-- %i\n", nReturn
);
322 /**************************************************************************
323 * ISF_Desktop_fnCreateViewObject
325 static HRESULT WINAPI
ISF_Desktop_fnCreateViewObject (IShellFolder2
* iface
,
326 HWND hwndOwner
, REFIID riid
, LPVOID
* ppvOut
)
328 ICOM_THIS (IGenericSFImpl
, iface
);
330 LPSHELLVIEW pShellView
;
331 HRESULT hr
= E_INVALIDARG
;
333 TRACE ("(%p)->(hwnd=%p,%s,%p)\n", This
, hwndOwner
, shdebugstr_guid (riid
), ppvOut
);
338 if (IsEqualIID (riid
, &IID_IDropTarget
)) {
339 WARN ("IDropTarget not implemented\n");
341 } else if (IsEqualIID (riid
, &IID_IContextMenu
)) {
342 WARN ("IContextMenu not implemented\n");
344 } else if (IsEqualIID (riid
, &IID_IShellView
)) {
345 pShellView
= IShellView_Constructor ((IShellFolder
*) iface
);
347 hr
= IShellView_QueryInterface (pShellView
, riid
, ppvOut
);
348 IShellView_Release (pShellView
);
352 TRACE ("-- (%p)->(interface=%p)\n", This
, ppvOut
);
356 /**************************************************************************
357 * ISF_Desktop_fnGetAttributesOf
359 static HRESULT WINAPI
ISF_Desktop_fnGetAttributesOf (IShellFolder2
* iface
,
360 UINT cidl
, LPCITEMIDLIST
* apidl
, DWORD
* rgfInOut
)
362 ICOM_THIS (IGenericSFImpl
, iface
);
366 TRACE ("(%p)->(cidl=%d apidl=%p mask=0x%08lx)\n", This
, cidl
, apidl
, *rgfInOut
);
368 if ((!cidl
) || (!apidl
) || (!rgfInOut
))
371 while (cidl
> 0 && *apidl
) {
373 SHELL32_GetItemAttributes (_IShellFolder_ (This
), *apidl
, rgfInOut
);
378 TRACE ("-- result=0x%08lx\n", *rgfInOut
);
383 /**************************************************************************
384 * ISF_Desktop_fnGetUIObjectOf
387 * HWND hwndOwner, //[in ] Parent window for any output
388 * UINT cidl, //[in ] array size
389 * LPCITEMIDLIST* apidl, //[in ] simple pidl array
390 * REFIID riid, //[in ] Requested Interface
391 * UINT* prgfInOut, //[ ] reserved
392 * LPVOID* ppvObject) //[out] Resulting Interface
395 static HRESULT WINAPI
ISF_Desktop_fnGetUIObjectOf (IShellFolder2
* iface
,
398 LPCITEMIDLIST
* apidl
,
399 REFIID riid
, UINT
* prgfInOut
, LPVOID
* ppvOut
)
401 ICOM_THIS (IGenericSFImpl
, iface
);
404 IUnknown
*pObj
= NULL
;
405 HRESULT hr
= E_INVALIDARG
;
407 TRACE ("(%p)->(%p,%u,apidl=%p,%s,%p,%p)\n",
408 This
, hwndOwner
, cidl
, apidl
, shdebugstr_guid (riid
), prgfInOut
, ppvOut
);
413 if (IsEqualIID (riid
, &IID_IContextMenu
)) {
414 pObj
= (LPUNKNOWN
) ISvItemCm_Constructor ((IShellFolder
*) iface
, This
->pidlRoot
, apidl
, cidl
);
416 } else if (IsEqualIID (riid
, &IID_IDataObject
) && (cidl
>= 1)) {
417 pObj
= (LPUNKNOWN
) IDataObject_Constructor (hwndOwner
, This
->pidlRoot
, apidl
, cidl
);
419 } else if (IsEqualIID (riid
, &IID_IExtractIconA
) && (cidl
== 1)) {
420 pidl
= ILCombine (This
->pidlRoot
, apidl
[0]);
421 pObj
= (LPUNKNOWN
) IExtractIconA_Constructor (pidl
);
424 } else if (IsEqualIID (riid
, &IID_IExtractIconW
) && (cidl
== 1)) {
425 pidl
= ILCombine (This
->pidlRoot
, apidl
[0]);
426 pObj
= (LPUNKNOWN
) IExtractIconW_Constructor (pidl
);
429 } else if (IsEqualIID (riid
, &IID_IDropTarget
) && (cidl
>= 1)) {
430 hr
= IShellFolder_QueryInterface (iface
, &IID_IDropTarget
, (LPVOID
*) & pObj
);
431 } else if ((IsEqualIID(riid
,&IID_IShellLinkW
) || IsEqualIID(riid
,&IID_IShellLinkA
))
433 pidl
= ILCombine (This
->pidlRoot
, apidl
[0]);
434 hr
= IShellLink_ConstructFromFile(NULL
, riid
, pidl
, (LPVOID
*)&pObj
);
440 if (SUCCEEDED(hr
) && !pObj
)
445 TRACE ("(%p)->hr=0x%08lx\n", This
, hr
);
449 /**************************************************************************
450 * ISF_Desktop_fnGetDisplayNameOf
453 * special case: pidl = null gives desktop-name back
455 static HRESULT WINAPI
ISF_Desktop_fnGetDisplayNameOf (IShellFolder2
* iface
,
456 LPCITEMIDLIST pidl
, DWORD dwFlags
, LPSTRRET strRet
)
458 ICOM_THIS (IGenericSFImpl
, iface
);
460 CHAR szPath
[MAX_PATH
];
466 TRACE ("(%p)->(pidl=%p,0x%08lx,%p)\n", This
, pidl
, dwFlags
, strRet
);
472 if (_ILIsDesktop (pidl
)) {
473 if ((GET_SHGDN_RELATION (dwFlags
) == SHGDN_NORMAL
) && (GET_SHGDN_FOR (dwFlags
) == SHGDN_FORPARSING
)) {
474 lstrcpyA (szPath
, This
->sPathTarget
);
476 HCR_GetClassNameA(&CLSID_ShellDesktop
, szPath
, MAX_PATH
);
478 } else if (_ILIsPidlSimple (pidl
)) {
479 if ((clsid
= _ILGetGUIDPointer (pidl
))) {
480 if (GET_SHGDN_FOR (dwFlags
) == SHGDN_FORPARSING
) {
481 int bWantsForParsing
;
484 * we can only get a filesystem path from a shellfolder if the value WantsFORPARSING in
485 * CLSID\\{...}\\shellfolder exists
486 * exception: the MyComputer folder has this keys not but like any filesystem backed
487 * folder it needs these behaviour
489 if (IsEqualIID (clsid
, &CLSID_MyComputer
)) {
490 bWantsForParsing
= 1;
492 /* get the "WantsFORPARSING" flag from the registry */
495 lstrcpyA (szRegPath
, "CLSID\\");
496 SHELL32_GUIDToStringA (clsid
, &szRegPath
[6]);
497 lstrcatA (szRegPath
, "\\shellfolder");
500 SHGetValueA (HKEY_CLASSES_ROOT
, szRegPath
, "WantsFORPARSING", NULL
, NULL
, NULL
));
503 if ((GET_SHGDN_RELATION (dwFlags
) == SHGDN_NORMAL
) && bWantsForParsing
) {
504 /* we need the filesystem path to the destination folder. Only the folder itself can know it */
505 hr
= SHELL32_GetDisplayNameOfChild (iface
, pidl
, dwFlags
, szPath
, MAX_PATH
);
507 /* parsing name like ::{...} */
508 lstrcpyA (szPath
, "::");
509 SHELL32_GUIDToStringA (clsid
, &szPath
[2]);
512 /* user friendly name */
513 HCR_GetClassNameA (clsid
, szPath
, MAX_PATH
);
516 /* file system folder */
517 _ILSimpleGetText (pidl
, szPath
, MAX_PATH
);
519 if (!_ILIsFolder(pidl
))
520 SHELL_FS_ProcessDisplayFilename(szPath
, dwFlags
);
523 /* a complex pidl, let the subfolder do the work */
524 hr
= SHELL32_GetDisplayNameOfChild (iface
, pidl
, dwFlags
, szPath
, MAX_PATH
);
527 if (SUCCEEDED (hr
)) {
528 strRet
->uType
= STRRET_CSTR
;
529 lstrcpynA (strRet
->u
.cStr
, szPath
, MAX_PATH
);
532 TRACE ("-- (%p)->(%s,0x%08lx)\n", This
, szPath
, hr
);
536 /**************************************************************************
537 * ISF_Desktop_fnSetNameOf
538 * Changes the name of a file object or subfolder, possibly changing its item
539 * identifier in the process.
542 * HWND hwndOwner, //[in ] Owner window for output
543 * LPCITEMIDLIST pidl, //[in ] simple pidl of item to change
544 * LPCOLESTR lpszName, //[in ] the items new display name
545 * DWORD dwFlags, //[in ] SHGNO formatting flags
546 * LPITEMIDLIST* ppidlOut) //[out] simple pidl returned
548 static HRESULT WINAPI
ISF_Desktop_fnSetNameOf (IShellFolder2
* iface
, HWND hwndOwner
, LPCITEMIDLIST pidl
, /*simple pidl */
549 LPCOLESTR lpName
, DWORD dwFlags
, LPITEMIDLIST
* pPidlOut
)
551 ICOM_THIS (IGenericSFImpl
, iface
);
553 FIXME ("(%p)->(%p,pidl=%p,%s,%lu,%p)\n", This
, hwndOwner
, pidl
, debugstr_w (lpName
), dwFlags
, pPidlOut
);
558 static HRESULT WINAPI
ISF_Desktop_fnGetDefaultSearchGUID (IShellFolder2
* iface
, GUID
* pguid
)
560 ICOM_THIS (IGenericSFImpl
, iface
);
562 FIXME ("(%p)\n", This
);
565 static HRESULT WINAPI
ISF_Desktop_fnEnumSearches (IShellFolder2
* iface
, IEnumExtraSearch
** ppenum
)
567 ICOM_THIS (IGenericSFImpl
, iface
);
568 FIXME ("(%p)\n", This
);
571 static HRESULT WINAPI
ISF_Desktop_fnGetDefaultColumn (IShellFolder2
* iface
,
572 DWORD dwRes
, ULONG
* pSort
, ULONG
* pDisplay
)
574 ICOM_THIS (IGenericSFImpl
, iface
);
576 TRACE ("(%p)\n", This
);
585 static HRESULT WINAPI
ISF_Desktop_fnGetDefaultColumnState (IShellFolder2
* iface
, UINT iColumn
, DWORD
* pcsFlags
)
587 ICOM_THIS (IGenericSFImpl
, iface
);
589 TRACE ("(%p)\n", This
);
591 if (!pcsFlags
|| iColumn
>= DESKTOPSHELLVIEWCOLUMNS
)
594 *pcsFlags
= DesktopSFHeader
[iColumn
].pcsFlags
;
598 static HRESULT WINAPI
ISF_Desktop_fnGetDetailsEx (IShellFolder2
* iface
,
599 LPCITEMIDLIST pidl
, const SHCOLUMNID
* pscid
, VARIANT
* pv
)
601 ICOM_THIS (IGenericSFImpl
, iface
);
602 FIXME ("(%p)\n", This
);
606 static HRESULT WINAPI
ISF_Desktop_fnGetDetailsOf (IShellFolder2
* iface
,
607 LPCITEMIDLIST pidl
, UINT iColumn
, SHELLDETAILS
* psd
)
609 ICOM_THIS (IGenericSFImpl
, iface
);
613 TRACE ("(%p)->(%p %i %p)\n", This
, pidl
, iColumn
, psd
);
615 if (!psd
|| iColumn
>= DESKTOPSHELLVIEWCOLUMNS
)
619 psd
->fmt
= DesktopSFHeader
[iColumn
].fmt
;
620 psd
->cxChar
= DesktopSFHeader
[iColumn
].cxChar
;
621 psd
->str
.uType
= STRRET_CSTR
;
622 LoadStringA (shell32_hInstance
, DesktopSFHeader
[iColumn
].colnameid
, psd
->str
.u
.cStr
, MAX_PATH
);
625 /* the data from the pidl */
628 hr
= IShellFolder_GetDisplayNameOf (iface
, pidl
, SHGDN_NORMAL
| SHGDN_INFOLDER
, &psd
->str
);
631 _ILGetFileSize (pidl
, psd
->str
.u
.cStr
, MAX_PATH
);
634 _ILGetFileType (pidl
, psd
->str
.u
.cStr
, MAX_PATH
);
637 _ILGetFileDate (pidl
, psd
->str
.u
.cStr
, MAX_PATH
);
639 case 4: /* attributes */
640 _ILGetFileAttributes (pidl
, psd
->str
.u
.cStr
, MAX_PATH
);
644 psd
->str
.uType
= STRRET_CSTR
;
649 static HRESULT WINAPI
ISF_Desktop_fnMapColumnToSCID (IShellFolder2
* iface
, UINT column
, SHCOLUMNID
* pscid
)
651 ICOM_THIS (IGenericSFImpl
, iface
);
652 FIXME ("(%p)\n", This
);
656 static ICOM_VTABLE (IShellFolder2
) vt_MCFldr_ShellFolder2
=
658 ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
659 ISF_Desktop_fnQueryInterface
,
660 ISF_Desktop_fnAddRef
,
661 ISF_Desktop_fnRelease
,
662 ISF_Desktop_fnParseDisplayName
,
663 ISF_Desktop_fnEnumObjects
,
664 ISF_Desktop_fnBindToObject
,
665 ISF_Desktop_fnBindToStorage
,
666 ISF_Desktop_fnCompareIDs
,
667 ISF_Desktop_fnCreateViewObject
,
668 ISF_Desktop_fnGetAttributesOf
,
669 ISF_Desktop_fnGetUIObjectOf
,
670 ISF_Desktop_fnGetDisplayNameOf
,
671 ISF_Desktop_fnSetNameOf
,
673 ISF_Desktop_fnGetDefaultSearchGUID
,
674 ISF_Desktop_fnEnumSearches
,
675 ISF_Desktop_fnGetDefaultColumn
,
676 ISF_Desktop_fnGetDefaultColumnState
,
677 ISF_Desktop_fnGetDetailsEx
,
678 ISF_Desktop_fnGetDetailsOf
,
679 ISF_Desktop_fnMapColumnToSCID