Nikolay Sivov : oleaut32: Ignore SetObjects() result when building property frame.

Alexandre Julliard julliard at winehq.org
Thu Feb 22 15:07:47 CST 2018


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Feb 22 14:58:37 2018 +0300

oleaut32: Ignore SetObjects() result when building property frame.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/oleaut32/olepropframe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/oleaut32/olepropframe.c b/dlls/oleaut32/olepropframe.c
index 98d2e8f..ecffdc9 100644
--- a/dlls/oleaut32/olepropframe.c
+++ b/dlls/oleaut32/olepropframe.c
@@ -288,7 +288,7 @@ HRESULT WINAPI OleCreatePropertyFrameIndirect(LPOCPFIPARAMS lpParams)
         res = IPropertyPage_SetObjects(property_page[i],
                 lpParams->cObjects, lpParams->lplpUnk);
         if(FAILED(res))
-            continue;
+            WARN("SetObjects() failed, hr %#x.\n", res);
 
         res = IPropertyPage_GetPageInfo(property_page[i], &page_info);
         if(FAILED(res))




More information about the wine-cvs mailing list