[PATCH 1/1] include: Mark IPersistFolder3::InitializeEx's optional parameters as [unique].
Jinoh Kang
wine at gitlab.winehq.org
Mon May 30 05:39:46 CDT 2022
From: Jinoh Kang <jinoh.kang.kr at gmail.com>
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 8113d9a7ff6..1848970dff1 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 );
}
--
GitLab
https://gitlab.winehq.org/wine/wine/-/merge_requests/153
More information about the wine-devel
mailing list