https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6b0d2c2a2cf69f43ee01f8904fe067b056a936f7

commit 6b0d2c2a2cf69f43ee01f8904fe067b056a936f7
Author:     Thomas Faber <thomas.fa...@reactos.org>
AuthorDate: Sun Sep 22 16:38:06 2019 +0200
Commit:     Thomas Faber <thomas.fa...@reactos.org>
CommitDate: Sun Sep 29 12:07:43 2019 +0200

    [SHELL] Fix more IPersistFolder::Initialize prototypes. CORE-16385
    
    Addendum to c2b476bd776.
---
 dll/win32/shell32/folders/CDesktopFolder.cpp | 2 +-
 dll/win32/shell32/folders/CDrivesFolder.cpp  | 2 +-
 dll/win32/shell32/folders/CFSFolder.cpp      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dll/win32/shell32/folders/CDesktopFolder.cpp 
b/dll/win32/shell32/folders/CDesktopFolder.cpp
index ab34e0c9ae8..20c5f667f63 100644
--- a/dll/win32/shell32/folders/CDesktopFolder.cpp
+++ b/dll/win32/shell32/folders/CDesktopFolder.cpp
@@ -815,7 +815,7 @@ HRESULT WINAPI CDesktopFolder::GetClassID(CLSID *lpClassId)
     return S_OK;
 }
 
-HRESULT WINAPI CDesktopFolder::Initialize(LPCITEMIDLIST pidl)
+HRESULT WINAPI CDesktopFolder::Initialize(PCIDLIST_ABSOLUTE pidl)
 {
     TRACE ("(%p)->(%p)\n", this, pidl);
 
diff --git a/dll/win32/shell32/folders/CDrivesFolder.cpp 
b/dll/win32/shell32/folders/CDrivesFolder.cpp
index 0f8810c066a..ccb0b52883c 100644
--- a/dll/win32/shell32/folders/CDrivesFolder.cpp
+++ b/dll/win32/shell32/folders/CDrivesFolder.cpp
@@ -1054,7 +1054,7 @@ HRESULT WINAPI CDrivesFolder::GetClassID(CLSID *lpClassId)
  *
  * NOTES: it makes no sense to change the pidl
  */
-HRESULT WINAPI CDrivesFolder::Initialize(LPCITEMIDLIST pidl)
+HRESULT WINAPI CDrivesFolder::Initialize(PCIDLIST_ABSOLUTE pidl)
 {
     return S_OK;
 }
diff --git a/dll/win32/shell32/folders/CFSFolder.cpp 
b/dll/win32/shell32/folders/CFSFolder.cpp
index c475c2cf098..0cd33490c92 100644
--- a/dll/win32/shell32/folders/CFSFolder.cpp
+++ b/dll/win32/shell32/folders/CFSFolder.cpp
@@ -1369,7 +1369,7 @@ HRESULT WINAPI CFSFolder::GetClassID(CLSID * lpClassId)
  * NOTES
  *  sPathTarget is not set. Don't know how to handle in a non rooted 
environment.
  */
-HRESULT WINAPI CFSFolder::Initialize(LPCITEMIDLIST pidl)
+HRESULT WINAPI CFSFolder::Initialize(PCIDLIST_ABSOLUTE pidl)
 {
     WCHAR wszTemp[MAX_PATH];
 

Reply via email to