Jinoh Kang : include: Mark IPersistFolder3::InitializeEx's optional parameters as [unique].

Alexandre Julliard julliard at winehq.org
Mon May 30 15:34:57 CDT 2022


Module: wine
Branch: master
Commit: 93dcb935737189964f9c8a49dffe021a5f61090e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=93dcb935737189964f9c8a49dffe021a5f61090e

Author: Jinoh Kang <jinoh.kang.kr at gmail.com>
Date:   Mon May 30 19:37:31 2022 +0900

include: Mark IPersistFolder3::InitializeEx's optional parameters as [unique].

The Windows SDK headers makes it clear that the IBindCtx and ppfti
parameters of InitializeEx are optional.  Bring Wine's definition in
sync with those.

Signed-off-by: Jinoh Kang <jinoh.kang.kr at gmail.com>

---

 include/shobjidl.idl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/shobjidl.idl b/include/shobjidl.idl
index 867af3898b5..065e0c8c528 100644
--- a/include/shobjidl.idl
+++ b/include/shobjidl.idl
@@ -1395,9 +1395,9 @@ interface IPersistFolder3 : IPersistFolder2
     } PERSIST_FOLDER_TARGET_INFO;
 
     HRESULT InitializeEx(
-        [in] IBindCtx *pbc,
+        [in, unique] IBindCtx *pbc,
         [in] LPCITEMIDLIST pidlRoot,
-        [in] const PERSIST_FOLDER_TARGET_INFO *ppfti);
+        [in, unique] const PERSIST_FOLDER_TARGET_INFO *ppfti);
 
     HRESULT GetFolderTargetInfo( [out] PERSIST_FOLDER_TARGET_INFO *ppfti );
 }




More information about the wine-cvs mailing list