[PATCH] shell32: Avoid some exception when property Set and Commit in shell32.dll

Guillaume Gill gillg02 at petitchinois.net
Wed Apr 18 05:53:19 CDT 2018


>From b5332ae42d5dade2d114dc3c9ff9180215d8021b Mon Sep 17 00:00:00 2001
From: Guillaume GILL <gillg02 at petitchinois.net>
Date: Mon, 9 Apr 2018 21:28:03 +0200
Subject: [PATCH] shell32: Avoid some exception when property Set and
Commit in shell32.dll

Fixes https://bugs.winehq.org/show_bug.cgi?id=44866

Signed-off-by: Guillaume GILL <gillg02 at petitchinois.net>
---
 dlls/shell32/shelllink.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/shelllink.c b/dlls/shell32/shelllink.c
index 6dca9ac..07c83d1 100644
--- a/dlls/shell32/shelllink.c
+++ b/dlls/shell32/shelllink.c
@@ -2664,14 +2664,14 @@ static HRESULT WINAPI
propertystore_SetValue(IPropertyStore *iface, REFPROPERTYK
 {
     IShellLinkImpl *This = impl_from_IPropertyStore(iface);
     FIXME("(%p)->(%p %p): stub\n", This, key, value);
-    return E_NOTIMPL;
+    return S_OK;
 }

 static HRESULT WINAPI propertystore_Commit(IPropertyStore *iface)
 {
     IShellLinkImpl *This = impl_from_IPropertyStore(iface);
     FIXME("(%p): stub\n", This);
-    return E_NOTIMPL;
+    return S_OK;
 }

 static const IPropertyStoreVtbl propertystorevtbl = {
-- 
2.7.4



More information about the wine-devel mailing list