[PATCH 1/4] comsvcs: Add GetTimeOfLastChange() for "new" moniker.

Nikolay Sivov nsivov at codeweavers.com
Tue Nov 5 04:09:27 CST 2019


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/comsvcs/main.c          | 4 ++--
 dlls/comsvcs/tests/comsvcs.c | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dlls/comsvcs/main.c b/dlls/comsvcs/main.c
index 6b292844d9..ee75893561 100644
--- a/dlls/comsvcs/main.c
+++ b/dlls/comsvcs/main.c
@@ -577,9 +577,9 @@ static HRESULT WINAPI new_moniker_IsRunning(IMoniker* iface, IBindCtx *pbc, IMon
 static HRESULT WINAPI new_moniker_GetTimeOfLastChange(IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft,
         FILETIME *itemtime)
 {
-    FIXME("%p, %p, %p, %p.\n", iface, pbc, pmkToLeft, itemtime);
+    TRACE("%p, %p, %p, %p.\n", iface, pbc, pmkToLeft, itemtime);
 
-    return E_NOTIMPL;
+    return MK_E_UNAVAILABLE;
 }
 
 static HRESULT WINAPI new_moniker_Inverse(IMoniker *iface, IMoniker **inverse)
diff --git a/dlls/comsvcs/tests/comsvcs.c b/dlls/comsvcs/tests/comsvcs.c
index 37fce3dab4..bdb817a144 100644
--- a/dlls/comsvcs/tests/comsvcs.c
+++ b/dlls/comsvcs/tests/comsvcs.c
@@ -344,7 +344,6 @@ todo_wine
     ok(hr == S_FALSE, "Unexpected hr %#x.\n", hr);
 
     hr = IMoniker_GetTimeOfLastChange(moniker, bindctx, NULL, &filetime);
-todo_wine
     ok(hr == MK_E_UNAVAILABLE, "Unexpected hr %#x.\n", hr);
 
     hr = IMoniker_BindToObject(moniker, bindctx, NULL, &IID_IUnknown, (void **)&obj);
-- 
2.24.0.rc1




More information about the wine-devel mailing list