mshtml: Implement IDispatch for IHTMLCurrentStyle.

This commit is contained in:
Alistair Leslie-Hughes 2008-11-21 20:51:43 +11:00 committed by Alexandre Julliard
parent 71eac71e16
commit 8745dd26d6
1 changed files with 5 additions and 8 deletions

View File

@ -99,24 +99,21 @@ static ULONG WINAPI HTMLCurrentStyle_Release(IHTMLCurrentStyle *iface)
static HRESULT WINAPI HTMLCurrentStyle_GetTypeInfoCount(IHTMLCurrentStyle *iface, UINT *pctinfo) static HRESULT WINAPI HTMLCurrentStyle_GetTypeInfoCount(IHTMLCurrentStyle *iface, UINT *pctinfo)
{ {
HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface); HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
FIXME("(%p)\n", This); return IDispatchEx_GetTypeInfoCount(DISPATCHEX(&This->dispex), pctinfo);
return E_NOTIMPL;
} }
static HRESULT WINAPI HTMLCurrentStyle_GetTypeInfo(IHTMLCurrentStyle *iface, UINT iTInfo, static HRESULT WINAPI HTMLCurrentStyle_GetTypeInfo(IHTMLCurrentStyle *iface, UINT iTInfo,
LCID lcid, ITypeInfo **ppTInfo) LCID lcid, ITypeInfo **ppTInfo)
{ {
HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface); HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
FIXME("(%p)\n", This); return IDispatchEx_GetTypeInfo(DISPATCHEX(&This->dispex), iTInfo, lcid, ppTInfo);
return E_NOTIMPL;
} }
static HRESULT WINAPI HTMLCurrentStyle_GetIDsOfNames(IHTMLCurrentStyle *iface, REFIID riid, static HRESULT WINAPI HTMLCurrentStyle_GetIDsOfNames(IHTMLCurrentStyle *iface, REFIID riid,
LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId) LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
{ {
HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface); HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
FIXME("(%p)\n", This); return IDispatchEx_GetIDsOfNames(DISPATCHEX(&This->dispex), riid, rgszNames, cNames, lcid, rgDispId);
return E_NOTIMPL;
} }
static HRESULT WINAPI HTMLCurrentStyle_Invoke(IHTMLCurrentStyle *iface, DISPID dispIdMember, static HRESULT WINAPI HTMLCurrentStyle_Invoke(IHTMLCurrentStyle *iface, DISPID dispIdMember,
@ -124,8 +121,8 @@ static HRESULT WINAPI HTMLCurrentStyle_Invoke(IHTMLCurrentStyle *iface, DISPID d
VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr) VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
{ {
HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface); HTMLCurrentStyle *This = HTMLCURSTYLE_THIS(iface);
FIXME("(%p)\n", This); return IDispatchEx_Invoke(DISPATCHEX(&This->dispex), dispIdMember, riid, lcid,
return E_NOTIMPL; wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
} }
static HRESULT WINAPI HTMLCurrentStyle_get_position(IHTMLCurrentStyle *iface, BSTR *p) static HRESULT WINAPI HTMLCurrentStyle_get_position(IHTMLCurrentStyle *iface, BSTR *p)