ole32: Set output param to NULL in BindCtxImpl_EnumObjectParam.

This commit is contained in:
Rob Shearman 2007-03-08 11:01:06 +00:00 committed by Alexandre Julliard
parent bdefb46d29
commit 3d6070aebd
2 changed files with 5 additions and 2 deletions

View File

@ -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;
}

View File

@ -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);