mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
ole32: Enumeration is not supported for pointer monikers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5d5eb58528
commit
2017977cb3
2 changed files with 4 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue