[SHELL] IPersistFolder2::GetCurFolder takes a PIDLIST_ABSOLUTE*. CORE-16385
[reactos.git] / dll / win32 / shell32 / folders / CFontsFolder.h
index f6824c9..0229485 100644 (file)
@@ -29,16 +29,11 @@ class CFontsFolder :
     public IPersistFolder2
 {
     private:
-        CComPtr<IShellFolder> m_pisfInner;
-        CComPtr<IShellFolder2> m_pisf2Inner;
-
-        /* both paths are parsible from the desktop */
-        LPITEMIDLIST pidlRoot;  /* absolute pidl */
-        LPCITEMIDLIST apidl;    /* currently focused font item */
+        CComPtr<IShellFolder2> m_pisfInner;
+        LPITEMIDLIST m_pidlInner;
     public:
         CFontsFolder();
         ~CFontsFolder();
-        HRESULT WINAPI FinalConstruct();
 
         // IShellFolder
         virtual HRESULT WINAPI ParseDisplayName(HWND hwndOwner, LPBC pbc, LPOLESTR lpszDisplayName, DWORD *pchEaten, PIDLIST_RELATIVE *ppidl, DWORD *pdwAttributes);
@@ -68,7 +63,7 @@ class CFontsFolder :
         virtual HRESULT WINAPI Initialize(LPCITEMIDLIST pidl);
 
         // IPersistFolder2
-        virtual HRESULT WINAPI GetCurFolder(LPITEMIDLIST *pidl);
+        virtual HRESULT WINAPI GetCurFolder(PIDLIST_ABSOLUTE *pidl);
 
         DECLARE_REGISTRY_RESOURCEID(IDR_FONTSFOLDERSHORTCUT)
         DECLARE_NOT_AGGREGATABLE(CFontsFolder)