msxml3/domimpl: Fixup method functions names.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
24d81667dc
commit
4384204106
|
@ -46,7 +46,7 @@ static inline domimpl *impl_from_IXMLDOMImplementation( IXMLDOMImplementation *i
|
||||||
return CONTAINING_RECORD(iface, domimpl, IXMLDOMImplementation_iface);
|
return CONTAINING_RECORD(iface, domimpl, IXMLDOMImplementation_iface);
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI dimimpl_QueryInterface(
|
static HRESULT WINAPI domimpl_QueryInterface(
|
||||||
IXMLDOMImplementation *iface,
|
IXMLDOMImplementation *iface,
|
||||||
REFIID riid,
|
REFIID riid,
|
||||||
void** ppvObject )
|
void** ppvObject )
|
||||||
|
@ -76,7 +76,7 @@ static HRESULT WINAPI dimimpl_QueryInterface(
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static ULONG WINAPI dimimpl_AddRef(
|
static ULONG WINAPI domimpl_AddRef(
|
||||||
IXMLDOMImplementation *iface )
|
IXMLDOMImplementation *iface )
|
||||||
{
|
{
|
||||||
domimpl *This = impl_from_IXMLDOMImplementation( iface );
|
domimpl *This = impl_from_IXMLDOMImplementation( iface );
|
||||||
|
@ -85,7 +85,7 @@ static ULONG WINAPI dimimpl_AddRef(
|
||||||
return ref;
|
return ref;
|
||||||
}
|
}
|
||||||
|
|
||||||
static ULONG WINAPI dimimpl_Release(
|
static ULONG WINAPI domimpl_Release(
|
||||||
IXMLDOMImplementation *iface )
|
IXMLDOMImplementation *iface )
|
||||||
{
|
{
|
||||||
domimpl *This = impl_from_IXMLDOMImplementation( iface );
|
domimpl *This = impl_from_IXMLDOMImplementation( iface );
|
||||||
|
@ -98,7 +98,7 @@ static ULONG WINAPI dimimpl_Release(
|
||||||
return ref;
|
return ref;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI dimimpl_GetTypeInfoCount(
|
static HRESULT WINAPI domimpl_GetTypeInfoCount(
|
||||||
IXMLDOMImplementation *iface,
|
IXMLDOMImplementation *iface,
|
||||||
UINT* pctinfo )
|
UINT* pctinfo )
|
||||||
{
|
{
|
||||||
|
@ -106,7 +106,7 @@ static HRESULT WINAPI dimimpl_GetTypeInfoCount(
|
||||||
return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
|
return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI dimimpl_GetTypeInfo(
|
static HRESULT WINAPI domimpl_GetTypeInfo(
|
||||||
IXMLDOMImplementation *iface,
|
IXMLDOMImplementation *iface,
|
||||||
UINT iTInfo, LCID lcid,
|
UINT iTInfo, LCID lcid,
|
||||||
ITypeInfo** ppTInfo )
|
ITypeInfo** ppTInfo )
|
||||||
|
@ -116,7 +116,7 @@ static HRESULT WINAPI dimimpl_GetTypeInfo(
|
||||||
iTInfo, lcid, ppTInfo);
|
iTInfo, lcid, ppTInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI dimimpl_GetIDsOfNames(
|
static HRESULT WINAPI domimpl_GetIDsOfNames(
|
||||||
IXMLDOMImplementation *iface,
|
IXMLDOMImplementation *iface,
|
||||||
REFIID riid, LPOLESTR* rgszNames,
|
REFIID riid, LPOLESTR* rgszNames,
|
||||||
UINT cNames, LCID lcid, DISPID* rgDispId )
|
UINT cNames, LCID lcid, DISPID* rgDispId )
|
||||||
|
@ -126,7 +126,7 @@ static HRESULT WINAPI dimimpl_GetIDsOfNames(
|
||||||
riid, rgszNames, cNames, lcid, rgDispId);
|
riid, rgszNames, cNames, lcid, rgDispId);
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI dimimpl_Invoke(
|
static HRESULT WINAPI domimpl_Invoke(
|
||||||
IXMLDOMImplementation *iface,
|
IXMLDOMImplementation *iface,
|
||||||
DISPID dispIdMember, REFIID riid, LCID lcid,
|
DISPID dispIdMember, REFIID riid, LCID lcid,
|
||||||
WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult,
|
WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult,
|
||||||
|
@ -137,7 +137,7 @@ static HRESULT WINAPI dimimpl_Invoke(
|
||||||
dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
|
dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI dimimpl_hasFeature(IXMLDOMImplementation* This, BSTR feature, BSTR version, VARIANT_BOOL *hasFeature)
|
static HRESULT WINAPI domimpl_hasFeature(IXMLDOMImplementation* This, BSTR feature, BSTR version, VARIANT_BOOL *hasFeature)
|
||||||
{
|
{
|
||||||
static const WCHAR bVersion[] = {'1','.','0',0};
|
static const WCHAR bVersion[] = {'1','.','0',0};
|
||||||
static const WCHAR bXML[] = {'X','M','L',0};
|
static const WCHAR bXML[] = {'X','M','L',0};
|
||||||
|
@ -165,28 +165,30 @@ static HRESULT WINAPI dimimpl_hasFeature(IXMLDOMImplementation* This, BSTR featu
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct IXMLDOMImplementationVtbl dimimpl_vtbl =
|
static const struct IXMLDOMImplementationVtbl domimpl_vtbl =
|
||||||
{
|
{
|
||||||
dimimpl_QueryInterface,
|
domimpl_QueryInterface,
|
||||||
dimimpl_AddRef,
|
domimpl_AddRef,
|
||||||
dimimpl_Release,
|
domimpl_Release,
|
||||||
dimimpl_GetTypeInfoCount,
|
domimpl_GetTypeInfoCount,
|
||||||
dimimpl_GetTypeInfo,
|
domimpl_GetTypeInfo,
|
||||||
dimimpl_GetIDsOfNames,
|
domimpl_GetIDsOfNames,
|
||||||
dimimpl_Invoke,
|
domimpl_Invoke,
|
||||||
dimimpl_hasFeature
|
domimpl_hasFeature
|
||||||
};
|
};
|
||||||
|
|
||||||
static const tid_t dimimpl_iface_tids[] = {
|
static const tid_t domimpl_iface_tids[] =
|
||||||
|
{
|
||||||
IXMLDOMImplementation_tid,
|
IXMLDOMImplementation_tid,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
static dispex_static_data_t dimimpl_dispex = {
|
static dispex_static_data_t domimpl_dispex =
|
||||||
|
{
|
||||||
NULL,
|
NULL,
|
||||||
IXMLDOMImplementation_tid,
|
IXMLDOMImplementation_tid,
|
||||||
NULL,
|
NULL,
|
||||||
dimimpl_iface_tids
|
domimpl_iface_tids
|
||||||
};
|
};
|
||||||
|
|
||||||
HRESULT create_dom_implementation(IXMLDOMImplementation **ret)
|
HRESULT create_dom_implementation(IXMLDOMImplementation **ret)
|
||||||
|
@ -196,9 +198,9 @@ HRESULT create_dom_implementation(IXMLDOMImplementation **ret)
|
||||||
if (!(object = heap_alloc(sizeof(*object))))
|
if (!(object = heap_alloc(sizeof(*object))))
|
||||||
return E_OUTOFMEMORY;
|
return E_OUTOFMEMORY;
|
||||||
|
|
||||||
object->IXMLDOMImplementation_iface.lpVtbl = &dimimpl_vtbl;
|
object->IXMLDOMImplementation_iface.lpVtbl = &domimpl_vtbl;
|
||||||
object->ref = 1;
|
object->ref = 1;
|
||||||
init_dispex(&object->dispex, (IUnknown *)&object->IXMLDOMImplementation_iface, &dimimpl_dispex);
|
init_dispex(&object->dispex, (IUnknown *)&object->IXMLDOMImplementation_iface, &domimpl_dispex);
|
||||||
|
|
||||||
*ret = &object->IXMLDOMImplementation_iface;
|
*ret = &object->IXMLDOMImplementation_iface;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue