Commit 2017977c authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

ole32: Enumeration is not supported for pointer monikers.

parent 5d5eb585
......@@ -328,17 +328,16 @@ PointerMonikerImpl_ComposeWith(IMoniker* iface, IMoniker* pmkRight,
/******************************************************************************
* PointerMoniker_Enum
******************************************************************************/
static HRESULT WINAPI
PointerMonikerImpl_Enum(IMoniker* iface,BOOL fForward, IEnumMoniker** ppenumMoniker)
static HRESULT WINAPI PointerMonikerImpl_Enum(IMoniker *iface, BOOL fForward, IEnumMoniker **ppenumMoniker)
{
TRACE("(%p,%d,%p)\n",iface,fForward,ppenumMoniker);
TRACE("%p, %d, %p.\n", iface, fForward, ppenumMoniker);
if (ppenumMoniker == NULL)
if (!ppenumMoniker)
return E_POINTER;
*ppenumMoniker = NULL;
return S_OK;
return E_NOTIMPL;
}
/******************************************************************************
......
......@@ -3008,11 +3008,9 @@ todo_wine
/* Enum() */
hr = IMoniker_Enum(moniker, TRUE, &enummoniker);
todo_wine
ok(hr == E_NOTIMPL, "Unexpected hr %#x.\n", hr);
hr = IMoniker_Enum(moniker, FALSE, &enummoniker);
todo_wine
ok(hr == E_NOTIMPL, "Unexpected hr %#x.\n", hr);
IMoniker_Release(moniker);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment