Module: wine Branch: master Commit: 3d6070aebdbc47c0f4976701f2956debd4502ee3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3d6070aebdbc47c0f4976701f2...
Author: Rob Shearman rob@codeweavers.com Date: Thu Mar 8 11:01:06 2007 +0000
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 636cdca..7de1986 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 f084fbb..6bfe330 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);