From 3d6070aebdbc47c0f4976701f2956debd4502ee3 Mon Sep 17 00:00:00 2001 From: Rob Shearman Date: Thu, 8 Mar 2007 11:01:06 +0000 Subject: [PATCH] ole32: Set output param to NULL in BindCtxImpl_EnumObjectParam. --- dlls/ole32/bindctx.c | 6 +++++- dlls/ole32/tests/moniker.c | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/ole32/bindctx.c b/dlls/ole32/bindctx.c index 636cdcac37e..7de19863766 100644 --- a/dlls/ole32/bindctx.c +++ b/dlls/ole32/bindctx.c @@ -423,7 +423,11 @@ BindCtxImpl_RevokeObjectParam(IBindCtx* iface,LPOLESTR ppenum) static HRESULT WINAPI BindCtxImpl_EnumObjectParam(IBindCtx* iface,IEnumString** pszkey) { - FIXME("(%p,%p),stub!\n",iface,pszkey); + TRACE("(%p,%p)\n",iface,pszkey); + + *pszkey = NULL; + + /* not implemented in native either */ return E_NOTIMPL; } diff --git a/dlls/ole32/tests/moniker.c b/dlls/ole32/tests/moniker.c index f084fbbd845..6bfe3300a4e 100644 --- a/dlls/ole32/tests/moniker.c +++ b/dlls/ole32/tests/moniker.c @@ -1487,7 +1487,6 @@ static void test_bind_context(void) hr = IBindCtx_EnumObjectParam(pBindCtx, &pEnumString); ok(hr == E_NOTIMPL, "IBindCtx_EnumObjectParam should have returned E_NOTIMPL instead of 0x%08x\n", hr); - todo_wine ok(!pEnumString, "pEnumString should be NULL\n"); hr = IBindCtx_RegisterObjectBound(pBindCtx, NULL); -- 2.11.4.GIT