39 return IHTMLDOMNode_QueryInterface(&
This->node.IHTMLDOMNode_iface,
riid,
ppv);
46 return IHTMLDOMNode_AddRef(&
This->node.IHTMLDOMNode_iface);
53 return IHTMLDOMNode_Release(&
This->node.IHTMLDOMNode_iface);
59 return IDispatchEx_GetTypeInfoCount(&
This->node.event_target.dispex.IDispatchEx_iface, pctinfo);
66 return IDispatchEx_GetTypeInfo(&
This->node.event_target.dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
74 return IDispatchEx_GetIDsOfNames(&
This->node.event_target.dispex.IDispatchEx_iface,
riid, rgszNames, cNames,
80 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
83 return IDispatchEx_Invoke(&
This->node.event_target.dispex.IDispatchEx_iface, dispIdMember,
riid, lcid,
84 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
96 nsres = nsIDOMText_SetData(
This->nstext, &nsstr);
110 nsres = nsIDOMText_GetData(
This->nstext, &nsstr);
129 nsres = nsIDOMText_GetLength(
This->nstext, &
length);
131 ERR(
"GetLength failed: %08x\n", nsres);
149 ERR(
"SplitText failed: %x08x\n", nsres);
159 nsIDOMText_Release(
text);
163 *pRetNode = &
node->IHTMLDOMNode_iface;
191 return IHTMLDOMNode_QueryInterface(&
This->node.IHTMLDOMNode_iface,
riid,
ppv);
198 return IHTMLDOMNode_AddRef(&
This->node.IHTMLDOMNode_iface);
205 return IHTMLDOMNode_Release(&
This->node.IHTMLDOMNode_iface);
211 return IDispatchEx_GetTypeInfoCount(&
This->node.event_target.dispex.IDispatchEx_iface, pctinfo);
218 return IDispatchEx_GetTypeInfo(&
This->node.event_target.dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
225 return IDispatchEx_GetIDsOfNames(&
This->node.event_target.dispex.IDispatchEx_iface,
riid, rgszNames, cNames,
231 EXCEPINFO *pExcepInfo,
UINT *puArgErr)
234 return IDispatchEx_Invoke(&
This->node.event_target.dispex.IDispatchEx_iface, dispIdMember,
riid, lcid,
235 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
254 nsres = nsIDOMText_AppendData(
This->nstext, &nsstr);
257 ERR(
"AppendData failed: %08x\n", nsres);
312 *
ppv = &
This->IHTMLDOMTextNode_iface;
314 *
ppv = &
This->IHTMLDOMTextNode2_iface;
341 IHTMLDOMTextNode_tid,
342 IHTMLDOMTextNode2_tid,
347 DispHTMLDOMTextNode_tid,
357 ret = heap_alloc_zero(
sizeof(*
ret));
370 nsres = nsIDOMNode_QueryInterface(nsnode, &IID_nsIDOMText, (
void**)&
ret->nstext);
374 nsIDOMNode_Release(
ret->node.nsnode);
const char * debugstr_mshtml_guid(const GUID *iid)
GLuint GLuint GLsizei count
GLuint GLsizei GLsizei * length
HRESULT get_node(HTMLDocumentNode *This, nsIDOMNode *nsnode, BOOL create, HTMLDOMNode **ret)
HRESULT HTMLDOMNode_QI(HTMLDOMNode *This, REFIID riid, void **ppv)
void HTMLDOMNode_Init(HTMLDocumentNode *doc, HTMLDOMNode *node, nsIDOMNode *nsnode)
void HTMLDOMNode_destructor(HTMLDOMNode *This)
static HRESULT HTMLDOMTextNode_clone(HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
static ULONG WINAPI HTMLDOMTextNode2_Release(IHTMLDOMTextNode2 *iface)
static HRESULT WINAPI HTMLDOMTextNode2_insertData(IHTMLDOMTextNode2 *iface, LONG offset, BSTR string)
static HRESULT WINAPI HTMLDOMTextNode2_GetIDsOfNames(IHTMLDOMTextNode2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static const IHTMLDOMTextNode2Vtbl HTMLDOMTextNode2Vtbl
static HRESULT WINAPI HTMLDOMTextNode_QueryInterface(IHTMLDOMTextNode *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLDOMTextNode2_Invoke(IHTMLDOMTextNode2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI HTMLDOMTextNode_GetTypeInfo(IHTMLDOMTextNode *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static dispex_static_data_t HTMLDOMTextNode_dispex
static HRESULT WINAPI HTMLDOMTextNode_toString(IHTMLDOMTextNode *iface, BSTR *String)
static HRESULT WINAPI HTMLDOMTextNode2_QueryInterface(IHTMLDOMTextNode2 *iface, REFIID riid, void **ppv)
static HRESULT WINAPI HTMLDOMTextNode_Invoke(IHTMLDOMTextNode *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HTMLDOMTextNode * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
static HTMLDOMTextNode * impl_from_IHTMLDOMTextNode2(IHTMLDOMTextNode2 *iface)
static HRESULT WINAPI HTMLDOMTextNode_splitText(IHTMLDOMTextNode *iface, LONG offset, IHTMLDOMNode **pRetNode)
static ULONG WINAPI HTMLDOMTextNode_Release(IHTMLDOMTextNode *iface)
static HRESULT WINAPI HTMLDOMTextNode_put_data(IHTMLDOMTextNode *iface, BSTR v)
static const IHTMLDOMTextNodeVtbl HTMLDOMTextNodeVtbl
static const cpc_entry_t HTMLDOMTextNode_cpc[]
static HRESULT WINAPI HTMLDOMTextNode_get_data(IHTMLDOMTextNode *iface, BSTR *p)
HRESULT HTMLDOMTextNode_Create(HTMLDocumentNode *doc, nsIDOMNode *nsnode, HTMLDOMNode **node)
static HRESULT WINAPI HTMLDOMTextNode2_deleteData(IHTMLDOMTextNode2 *iface, LONG offset, LONG count)
static HRESULT WINAPI HTMLDOMTextNode2_substringData(IHTMLDOMTextNode2 *iface, LONG offset, LONG count, BSTR *string)
static HRESULT WINAPI HTMLDOMTextNode2_replaceData(IHTMLDOMTextNode2 *iface, LONG offset, LONG count, BSTR string)
static const NodeImplVtbl HTMLDOMTextNodeImplVtbl
static const tid_t HTMLDOMTextNode_iface_tids[]
static HRESULT WINAPI HTMLDOMTextNode2_GetTypeInfo(IHTMLDOMTextNode2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static ULONG WINAPI HTMLDOMTextNode_AddRef(IHTMLDOMTextNode *iface)
static HRESULT WINAPI HTMLDOMTextNode_get_length(IHTMLDOMTextNode *iface, LONG *p)
static HRESULT WINAPI HTMLDOMTextNode_GetTypeInfoCount(IHTMLDOMTextNode *iface, UINT *pctinfo)
static HRESULT WINAPI HTMLDOMTextNode_GetIDsOfNames(IHTMLDOMTextNode *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static HRESULT WINAPI HTMLDOMTextNode2_GetTypeInfoCount(IHTMLDOMTextNode2 *iface, UINT *pctinfo)
static HRESULT HTMLDOMTextNode_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
static ULONG WINAPI HTMLDOMTextNode2_AddRef(IHTMLDOMTextNode2 *iface)
static HRESULT WINAPI HTMLDOMTextNode2_appendData(IHTMLDOMTextNode2 *iface, BSTR string)
static HTMLDOMTextNode * impl_from_IHTMLDOMTextNode(IHTMLDOMTextNode *iface)
HRESULT init_dispex(jsdisp_t *dispex, script_ctx_t *ctx, const builtin_info_t *builtin_info, jsdisp_t *prototype)
static VARIANTARG static DISPID
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
void nsAString_InitDepend(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
BOOL nsAString_Init(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
#define NS_SUCCEEDED(res)
HRESULT return_nsstr(nsresult, nsAString *, BSTR *) DECLSPEC_HIDDEN
#define IsEqualGUID(rguid1, rguid2)
IHTMLDOMTextNode2 IHTMLDOMTextNode2_iface
IHTMLDOMTextNode IHTMLDOMTextNode_iface
#define CONTAINING_RECORD(address, type, field)
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
_In_ DWORD _Out_ _In_ WORD wFlags