Jinoh Kang : include: Mark IShellItem::BindToHandler's pbc parameter as [unique].

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


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

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

include: Mark IShellItem::BindToHandler's pbc parameter as [unique].

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);




More information about the wine-cvs mailing list