[PATCH 4/4] windows.foundation.metadata: Fake success for IsPropertyPresent

Fabian Maurer dark.shadow4 at web.de
Sun Jan 30 11:23:55 CST 2022


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52484
Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
---
 dlls/windows.foundation.metadata/main.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/windows.foundation.metadata/main.c b/dlls/windows.foundation.metadata/main.c
index e4c34e426fc..0f4799e3646 100644
--- a/dlls/windows.foundation.metadata/main.c
+++ b/dlls/windows.foundation.metadata/main.c
@@ -224,8 +224,9 @@ static HRESULT STDMETHODCALLTYPE api_information_statics_IsEventPresent(
 static HRESULT STDMETHODCALLTYPE api_information_statics_IsPropertyPresent(
         IApiInformationStatics *iface, HSTRING type_name, HSTRING property_name, boolean* result)
 {
-    FIXME("iface %p, tyoe_name %p, property_name %d, result %p stub!\n", iface, type_name, property_name, result);
-    return E_NOTIMPL;
+    FIXME("iface %p, type_name %p, property_name %d, result %p stub!\n", iface, type_name, property_name, result);
+    *result = 0;
+    return S_OK;
 }

 static HRESULT STDMETHODCALLTYPE api_information_statics_IsReadOnlyPropertyPresent(
--
2.35.1




More information about the wine-devel mailing list