comsvcs: Add GetTimeOfLastChange() for "new" moniker.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
cce9a5f124
commit
2ede7a5a74
|
@ -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,
|
static HRESULT WINAPI new_moniker_GetTimeOfLastChange(IMoniker *iface, IBindCtx *pbc, IMoniker *pmkToLeft,
|
||||||
FILETIME *itemtime)
|
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)
|
static HRESULT WINAPI new_moniker_Inverse(IMoniker *iface, IMoniker **inverse)
|
||||||
|
|
|
@ -344,7 +344,6 @@ todo_wine
|
||||||
ok(hr == S_FALSE, "Unexpected hr %#x.\n", hr);
|
ok(hr == S_FALSE, "Unexpected hr %#x.\n", hr);
|
||||||
|
|
||||||
hr = IMoniker_GetTimeOfLastChange(moniker, bindctx, NULL, &filetime);
|
hr = IMoniker_GetTimeOfLastChange(moniker, bindctx, NULL, &filetime);
|
||||||
todo_wine
|
|
||||||
ok(hr == MK_E_UNAVAILABLE, "Unexpected hr %#x.\n", hr);
|
ok(hr == MK_E_UNAVAILABLE, "Unexpected hr %#x.\n", hr);
|
||||||
|
|
||||||
hr = IMoniker_BindToObject(moniker, bindctx, NULL, &IID_IUnknown, (void **)&obj);
|
hr = IMoniker_BindToObject(moniker, bindctx, NULL, &IID_IUnknown, (void **)&obj);
|
||||||
|
|
Loading…
Reference in New Issue