[PATCH v2 1/1] include: Mark IShellItem::BindToHandler's pbc parameter as [unique].

Jinoh Kang wine at gitlab.winehq.org
Mon May 30 05:36:00 CDT 2022


From: Jinoh Kang <jinoh.kang.kr at gmail.com>

The Windows SDK headers makes it clear that the IBindCtx parameter of
BindToHandler is optional.  Bring Wine's definition in sync with those.

Signed-off-by: Jinoh Kang <jinoh.kang.kr at gmail.com>
---
 include/shobjidl.idl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/shobjidl.idl b/include/shobjidl.idl
index 8113d9a7ff6..867af3898b5 100644
--- a/include/shobjidl.idl
+++ b/include/shobjidl.idl
@@ -381,7 +381,7 @@ interface IShellItem : IUnknown
     typedef DWORD SICHINTF;
 
     HRESULT BindToHandler(
-        [in] IBindCtx *pbc,
+        [in, unique] IBindCtx *pbc,
         [in] REFGUID rbhid,
         [in] REFIID riid,
         [out, iid_is(riid)] void **ppvOut);
-- 
GitLab

https://gitlab.winehq.org/wine/wine/-/merge_requests/152



More information about the wine-devel mailing list