ole32: Implement IDataAdviseHolder_EnumAdvise.

This commit is contained in:
Huw Davies 2010-12-17 14:13:03 +00:00 committed by Alexandre Julliard
parent 4151b49fad
commit 06f2ef4fb5
1 changed files with 14 additions and 6 deletions

View File

@ -792,14 +792,22 @@ static HRESULT WINAPI DataAdviseHolder_Unadvise(
return S_OK;
}
static HRESULT WINAPI DataAdviseHolder_EnumAdvise(
IDataAdviseHolder* iface,
IEnumSTATDATA** ppenumAdvise)
/******************************************************************************
* DataAdviseHolder_EnumAdvise
*/
static HRESULT WINAPI DataAdviseHolder_EnumAdvise(IDataAdviseHolder *iface,
IEnumSTATDATA **enum_advise)
{
DataAdviseHolder *This = (DataAdviseHolder *)iface;
DataAdviseHolder *This = (DataAdviseHolder *)iface;
IUnknown *unk;
HRESULT hr;
FIXME("(%p)->(%p)\n", This, ppenumAdvise);
return E_NOTIMPL;
TRACE("(%p)->(%p)\n", This, enum_advise);
IDataAdviseHolder_QueryInterface(iface, &IID_IUnknown, (void**)&unk);
hr = EnumSTATDATA_Construct(unk, 0, This->maxCons, This->connections, enum_advise);
IUnknown_Release(unk);
return hr;
}
/******************************************************************************