ReactOS 0.4.16-dev-297-gc569aee
htmltextnode.c File Reference
#include "mshtml_private.h"
Include dependency graph for htmltextnode.c:

Go to the source code of this file.

Classes

struct  HTMLDOMTextNode
 

Functions

static HTMLDOMTextNodeimpl_from_IHTMLDOMTextNode (IHTMLDOMTextNode *iface)
 
static HRESULT WINAPI HTMLDOMTextNode_QueryInterface (IHTMLDOMTextNode *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLDOMTextNode_AddRef (IHTMLDOMTextNode *iface)
 
static ULONG WINAPI HTMLDOMTextNode_Release (IHTMLDOMTextNode *iface)
 
static HRESULT WINAPI HTMLDOMTextNode_GetTypeInfoCount (IHTMLDOMTextNode *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLDOMTextNode_GetTypeInfo (IHTMLDOMTextNode *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLDOMTextNode_GetIDsOfNames (IHTMLDOMTextNode *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLDOMTextNode_Invoke (IHTMLDOMTextNode *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLDOMTextNode_put_data (IHTMLDOMTextNode *iface, BSTR v)
 
static HRESULT WINAPI HTMLDOMTextNode_get_data (IHTMLDOMTextNode *iface, BSTR *p)
 
static HRESULT WINAPI HTMLDOMTextNode_toString (IHTMLDOMTextNode *iface, BSTR *String)
 
static HRESULT WINAPI HTMLDOMTextNode_get_length (IHTMLDOMTextNode *iface, LONG *p)
 
static HRESULT WINAPI HTMLDOMTextNode_splitText (IHTMLDOMTextNode *iface, LONG offset, IHTMLDOMNode **pRetNode)
 
static HTMLDOMTextNodeimpl_from_IHTMLDOMTextNode2 (IHTMLDOMTextNode2 *iface)
 
static HRESULT WINAPI HTMLDOMTextNode2_QueryInterface (IHTMLDOMTextNode2 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLDOMTextNode2_AddRef (IHTMLDOMTextNode2 *iface)
 
static ULONG WINAPI HTMLDOMTextNode2_Release (IHTMLDOMTextNode2 *iface)
 
static HRESULT WINAPI HTMLDOMTextNode2_GetTypeInfoCount (IHTMLDOMTextNode2 *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLDOMTextNode2_GetTypeInfo (IHTMLDOMTextNode2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLDOMTextNode2_GetIDsOfNames (IHTMLDOMTextNode2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
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 HTMLDOMTextNode2_substringData (IHTMLDOMTextNode2 *iface, LONG offset, LONG count, BSTR *string)
 
static HRESULT WINAPI HTMLDOMTextNode2_appendData (IHTMLDOMTextNode2 *iface, BSTR string)
 
static HRESULT WINAPI HTMLDOMTextNode2_insertData (IHTMLDOMTextNode2 *iface, LONG offset, BSTR string)
 
static HRESULT WINAPI HTMLDOMTextNode2_deleteData (IHTMLDOMTextNode2 *iface, LONG offset, LONG count)
 
static HRESULT WINAPI HTMLDOMTextNode2_replaceData (IHTMLDOMTextNode2 *iface, LONG offset, LONG count, BSTR string)
 
static HTMLDOMTextNodeimpl_from_HTMLDOMNode (HTMLDOMNode *iface)
 
static HRESULT HTMLDOMTextNode_QI (HTMLDOMNode *iface, REFIID riid, void **ppv)
 
static HRESULT HTMLDOMTextNode_clone (HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
 
HRESULT HTMLDOMTextNode_Create (HTMLDocumentNode *doc, nsIDOMNode *nsnode, HTMLDOMNode **node)
 

Variables

static const IHTMLDOMTextNodeVtbl HTMLDOMTextNodeVtbl
 
static const IHTMLDOMTextNode2Vtbl HTMLDOMTextNode2Vtbl
 
static const cpc_entry_t HTMLDOMTextNode_cpc [] = {{NULL}}
 
static const NodeImplVtbl HTMLDOMTextNodeImplVtbl
 
static const tid_t HTMLDOMTextNode_iface_tids []
 
static dispex_static_data_t HTMLDOMTextNode_dispex
 

Function Documentation

◆ HTMLDOMTextNode2_AddRef()

static ULONG WINAPI HTMLDOMTextNode2_AddRef ( IHTMLDOMTextNode2 *  iface)
static

Definition at line 194 of file htmltextnode.c.

195{
197
198 return IHTMLDOMNode_AddRef(&This->node.IHTMLDOMNode_iface);
199}
static HTMLDOMTextNode * impl_from_IHTMLDOMTextNode2(IHTMLDOMTextNode2 *iface)
Definition: htmltextnode.c:182

◆ HTMLDOMTextNode2_appendData()

static HRESULT WINAPI HTMLDOMTextNode2_appendData ( IHTMLDOMTextNode2 *  iface,
BSTR  string 
)
static

Definition at line 245 of file htmltextnode.c.

246{
248 nsAString nsstr;
249 nsresult nsres;
250
251 TRACE("(%p)->(%s)\n", This, debugstr_w(string));
252
253 nsAString_InitDepend(&nsstr, string);
254 nsres = nsIDOMText_AppendData(This->nstext, &nsstr);
255 nsAString_Finish(&nsstr);
256 if(NS_FAILED(nsres)) {
257 ERR("AppendData failed: %08x\n", nsres);
258 return E_FAIL;
259 }
260
261 return S_OK;
262}
#define ERR(fmt,...)
Definition: precomp.h:57
#define E_FAIL
Definition: ddrawi.h:102
#define S_OK
Definition: intsafe.h:52
#define debugstr_w
Definition: kernel32.h:32
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
Definition: nsembed.c:836
void nsAString_InitDepend(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:826
#define NS_FAILED(res)
#define TRACE(s)
Definition: solgame.cpp:4

◆ HTMLDOMTextNode2_deleteData()

static HRESULT WINAPI HTMLDOMTextNode2_deleteData ( IHTMLDOMTextNode2 *  iface,
LONG  offset,
LONG  count 
)
static

Definition at line 271 of file htmltextnode.c.

272{
274 FIXME("(%p)->(%d %d)\n", This, offset, count);
275 return E_NOTIMPL;
276}
#define FIXME(fmt,...)
Definition: precomp.h:53
#define E_NOTIMPL
Definition: ddrawi.h:99
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLintptr offset
Definition: glext.h:5920

◆ HTMLDOMTextNode2_GetIDsOfNames()

static HRESULT WINAPI HTMLDOMTextNode2_GetIDsOfNames ( IHTMLDOMTextNode2 *  iface,
REFIID  riid,
LPOLESTR rgszNames,
UINT  cNames,
LCID  lcid,
DISPID rgDispId 
)
static

Definition at line 221 of file htmltextnode.c.

223{
225 return IDispatchEx_GetIDsOfNames(&This->node.event_target.dispex.IDispatchEx_iface, riid, rgszNames, cNames,
226 lcid, rgDispId);
227}
REFIID riid
Definition: atlbase.h:39

◆ HTMLDOMTextNode2_GetTypeInfo()

static HRESULT WINAPI HTMLDOMTextNode2_GetTypeInfo ( IHTMLDOMTextNode2 *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 214 of file htmltextnode.c.

216{
218 return IDispatchEx_GetTypeInfo(&This->node.event_target.dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
219}

◆ HTMLDOMTextNode2_GetTypeInfoCount()

static HRESULT WINAPI HTMLDOMTextNode2_GetTypeInfoCount ( IHTMLDOMTextNode2 *  iface,
UINT pctinfo 
)
static

Definition at line 208 of file htmltextnode.c.

209{
211 return IDispatchEx_GetTypeInfoCount(&This->node.event_target.dispex.IDispatchEx_iface, pctinfo);
212}

◆ HTMLDOMTextNode2_insertData()

static HRESULT WINAPI HTMLDOMTextNode2_insertData ( IHTMLDOMTextNode2 *  iface,
LONG  offset,
BSTR  string 
)
static

Definition at line 264 of file htmltextnode.c.

265{
267 FIXME("(%p)->(%d %s)\n", This, offset, debugstr_w(string));
268 return E_NOTIMPL;
269}

◆ HTMLDOMTextNode2_Invoke()

static HRESULT WINAPI HTMLDOMTextNode2_Invoke ( IHTMLDOMTextNode2 *  iface,
DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT pVarResult,
EXCEPINFO *  pExcepInfo,
UINT puArgErr 
)
static

Definition at line 229 of file htmltextnode.c.

232{
234 return IDispatchEx_Invoke(&This->node.event_target.dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
235 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
236}
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:531

◆ HTMLDOMTextNode2_QueryInterface()

static HRESULT WINAPI HTMLDOMTextNode2_QueryInterface ( IHTMLDOMTextNode2 *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 187 of file htmltextnode.c.

188{
190
191 return IHTMLDOMNode_QueryInterface(&This->node.IHTMLDOMNode_iface, riid, ppv);
192}
REFIID LPVOID * ppv
Definition: atlbase.h:39

◆ HTMLDOMTextNode2_Release()

static ULONG WINAPI HTMLDOMTextNode2_Release ( IHTMLDOMTextNode2 *  iface)
static

Definition at line 201 of file htmltextnode.c.

202{
204
205 return IHTMLDOMNode_Release(&This->node.IHTMLDOMNode_iface);
206}

◆ HTMLDOMTextNode2_replaceData()

static HRESULT WINAPI HTMLDOMTextNode2_replaceData ( IHTMLDOMTextNode2 *  iface,
LONG  offset,
LONG  count,
BSTR  string 
)
static

Definition at line 278 of file htmltextnode.c.

279{
281 FIXME("(%p)->(%d %d %s)\n", This, offset, count, debugstr_w(string));
282 return E_NOTIMPL;
283}

◆ HTMLDOMTextNode2_substringData()

static HRESULT WINAPI HTMLDOMTextNode2_substringData ( IHTMLDOMTextNode2 *  iface,
LONG  offset,
LONG  count,
BSTR string 
)
static

Definition at line 238 of file htmltextnode.c.

239{
241 FIXME("(%p)->(%d %d %p)\n", This, offset, count, string);
242 return E_NOTIMPL;
243}

◆ HTMLDOMTextNode_AddRef()

static ULONG WINAPI HTMLDOMTextNode_AddRef ( IHTMLDOMTextNode *  iface)
static

Definition at line 42 of file htmltextnode.c.

43{
45
46 return IHTMLDOMNode_AddRef(&This->node.IHTMLDOMNode_iface);
47}
static HTMLDOMTextNode * impl_from_IHTMLDOMTextNode(IHTMLDOMTextNode *iface)
Definition: htmltextnode.c:29

◆ HTMLDOMTextNode_clone()

static HRESULT HTMLDOMTextNode_clone ( HTMLDOMNode iface,
nsIDOMNode nsnode,
HTMLDOMNode **  ret 
)
static

Definition at line 322 of file htmltextnode.c.

323{
325
326 return HTMLDOMTextNode_Create(This->node.doc, nsnode, ret);
327}
static HTMLDOMTextNode * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
Definition: htmltextnode.c:300
HRESULT HTMLDOMTextNode_Create(HTMLDocumentNode *doc, nsIDOMNode *nsnode, HTMLDOMNode **node)
Definition: htmltextnode.c:352
int ret

◆ HTMLDOMTextNode_Create()

HRESULT HTMLDOMTextNode_Create ( HTMLDocumentNode doc,
nsIDOMNode nsnode,
HTMLDOMNode **  node 
)

Definition at line 352 of file htmltextnode.c.

353{
355 nsresult nsres;
356
357 ret = heap_alloc_zero(sizeof(*ret));
358 if(!ret)
359 return E_OUTOFMEMORY;
360
361 ret->node.vtbl = &HTMLDOMTextNodeImplVtbl;
362 ret->IHTMLDOMTextNode_iface.lpVtbl = &HTMLDOMTextNodeVtbl;
363 ret->IHTMLDOMTextNode2_iface.lpVtbl = &HTMLDOMTextNode2Vtbl;
364
365 init_dispex(&ret->node.event_target.dispex, (IUnknown*)&ret->IHTMLDOMTextNode_iface,
367
368 HTMLDOMNode_Init(doc, &ret->node, nsnode);
369
370 nsres = nsIDOMNode_QueryInterface(nsnode, &IID_nsIDOMText, (void**)&ret->nstext);
371 assert(nsres == NS_OK && (nsIDOMNode*)ret->nstext == ret->node.nsnode);
372
373 /* Share reference with nsnode */
374 nsIDOMNode_Release(ret->node.nsnode);
375
376 *node = &ret->node;
377 return S_OK;
378}
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define assert(x)
Definition: debug.h:53
void HTMLDOMNode_Init(HTMLDocumentNode *doc, HTMLDOMNode *node, nsIDOMNode *nsnode)
Definition: htmlnode.c:1196
static const IHTMLDOMTextNode2Vtbl HTMLDOMTextNode2Vtbl
Definition: htmltextnode.c:285
static dispex_static_data_t HTMLDOMTextNode_dispex
Definition: htmltextnode.c:345
static const IHTMLDOMTextNodeVtbl HTMLDOMTextNodeVtbl
Definition: htmltextnode.c:167
static const NodeImplVtbl HTMLDOMTextNodeImplVtbl
Definition: htmltextnode.c:331
HRESULT init_dispex(jsdisp_t *dispex, script_ctx_t *ctx, const builtin_info_t *builtin_info, jsdisp_t *prototype)
Definition: dispex.c:919
#define NS_OK
Definition: dlist.c:348

Referenced by create_node(), HTMLDocument3_createTextNode(), and HTMLDOMTextNode_clone().

◆ HTMLDOMTextNode_get_data()

static HRESULT WINAPI HTMLDOMTextNode_get_data ( IHTMLDOMTextNode *  iface,
BSTR p 
)
static

Definition at line 101 of file htmltextnode.c.

102{
104 nsAString nsstr;
105 nsresult nsres;
106
107 TRACE("(%p)->(%p)\n", This, p);
108
109 nsAString_Init(&nsstr, NULL);
110 nsres = nsIDOMText_GetData(This->nstext, &nsstr);
111 return return_nsstr(nsres, &nsstr, p);
112}
#define NULL
Definition: types.h:112
GLfloat GLfloat p
Definition: glext.h:8902
BOOL nsAString_Init(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:817
HRESULT return_nsstr(nsresult, nsAString *, BSTR *) DECLSPEC_HIDDEN
Definition: nsembed.c:841

◆ HTMLDOMTextNode_get_length()

static HRESULT WINAPI HTMLDOMTextNode_get_length ( IHTMLDOMTextNode *  iface,
LONG p 
)
static

Definition at line 121 of file htmltextnode.c.

122{
124 UINT32 length = 0;
125 nsresult nsres;
126
127 TRACE("(%p)->(%p)\n", This, p);
128
129 nsres = nsIDOMText_GetLength(This->nstext, &length);
130 if(NS_FAILED(nsres))
131 ERR("GetLength failed: %08x\n", nsres);
132
133 *p = length;
134 return S_OK;
135}
unsigned int UINT32
GLuint GLsizei GLsizei * length
Definition: glext.h:6040

◆ HTMLDOMTextNode_GetIDsOfNames()

static HRESULT WINAPI HTMLDOMTextNode_GetIDsOfNames ( IHTMLDOMTextNode *  iface,
REFIID  riid,
LPOLESTR rgszNames,
UINT  cNames,
LCID  lcid,
DISPID rgDispId 
)
static

Definition at line 69 of file htmltextnode.c.

72{
74 return IDispatchEx_GetIDsOfNames(&This->node.event_target.dispex.IDispatchEx_iface, riid, rgszNames, cNames,
75 lcid, rgDispId);
76}

◆ HTMLDOMTextNode_GetTypeInfo()

static HRESULT WINAPI HTMLDOMTextNode_GetTypeInfo ( IHTMLDOMTextNode *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 62 of file htmltextnode.c.

64{
66 return IDispatchEx_GetTypeInfo(&This->node.event_target.dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
67}

◆ HTMLDOMTextNode_GetTypeInfoCount()

static HRESULT WINAPI HTMLDOMTextNode_GetTypeInfoCount ( IHTMLDOMTextNode *  iface,
UINT pctinfo 
)
static

Definition at line 56 of file htmltextnode.c.

57{
59 return IDispatchEx_GetTypeInfoCount(&This->node.event_target.dispex.IDispatchEx_iface, pctinfo);
60}

◆ HTMLDOMTextNode_Invoke()

static HRESULT WINAPI HTMLDOMTextNode_Invoke ( IHTMLDOMTextNode *  iface,
DISPID  dispIdMember,
REFIID  riid,
LCID  lcid,
WORD  wFlags,
DISPPARAMS *  pDispParams,
VARIANT pVarResult,
EXCEPINFO *  pExcepInfo,
UINT puArgErr 
)
static

Definition at line 78 of file htmltextnode.c.

81{
83 return IDispatchEx_Invoke(&This->node.event_target.dispex.IDispatchEx_iface, dispIdMember, riid, lcid,
84 wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
85}

◆ HTMLDOMTextNode_put_data()

static HRESULT WINAPI HTMLDOMTextNode_put_data ( IHTMLDOMTextNode *  iface,
BSTR  v 
)
static

Definition at line 87 of file htmltextnode.c.

88{
90 nsAString nsstr;
91 nsresult nsres;
92
93 TRACE("(%p)->(%s)\n", This, debugstr_w(v));
94
95 nsAString_InitDepend(&nsstr, v);
96 nsres = nsIDOMText_SetData(This->nstext, &nsstr);
97 nsAString_Finish(&nsstr);
98 return NS_SUCCEEDED(nsres) ? S_OK : E_FAIL;
99}
const GLdouble * v
Definition: gl.h:2040
#define NS_SUCCEEDED(res)

◆ HTMLDOMTextNode_QI()

static HRESULT HTMLDOMTextNode_QI ( HTMLDOMNode iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 305 of file htmltextnode.c.

306{
308
309 TRACE("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv);
310
311 if(IsEqualGUID(&IID_IHTMLDOMTextNode, riid))
312 *ppv = &This->IHTMLDOMTextNode_iface;
313 else if(IsEqualGUID(&IID_IHTMLDOMTextNode2, riid))
314 *ppv = &This->IHTMLDOMTextNode2_iface;
315 else
316 return HTMLDOMNode_QI(&This->node, riid, ppv);
317
318 IUnknown_AddRef((IUnknown*)*ppv);
319 return S_OK;
320}
const char * debugstr_mshtml_guid(const GUID *iid)
Definition: main.c:542
HRESULT HTMLDOMNode_QI(HTMLDOMNode *This, REFIID riid, void **ppv)
Definition: htmlnode.c:1142
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147

◆ HTMLDOMTextNode_QueryInterface()

static HRESULT WINAPI HTMLDOMTextNode_QueryInterface ( IHTMLDOMTextNode *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 34 of file htmltextnode.c.

36{
38
39 return IHTMLDOMNode_QueryInterface(&This->node.IHTMLDOMNode_iface, riid, ppv);
40}

◆ HTMLDOMTextNode_Release()

static ULONG WINAPI HTMLDOMTextNode_Release ( IHTMLDOMTextNode *  iface)
static

Definition at line 49 of file htmltextnode.c.

50{
52
53 return IHTMLDOMNode_Release(&This->node.IHTMLDOMNode_iface);
54}

◆ HTMLDOMTextNode_splitText()

static HRESULT WINAPI HTMLDOMTextNode_splitText ( IHTMLDOMTextNode *  iface,
LONG  offset,
IHTMLDOMNode **  pRetNode 
)
static

Definition at line 137 of file htmltextnode.c.

138{
142 nsresult nsres;
144
145 TRACE("(%p)->(%d %p)\n", This, offset, pRetNode);
146
147 nsres = nsIDOMText_SplitText(This->nstext, offset, &text);
148 if(NS_FAILED(nsres)) {
149 ERR("SplitText failed: %x08x\n", nsres);
150 return E_FAIL;
151 }
152
153 if(!text) {
154 *pRetNode = NULL;
155 return S_OK;
156 }
157
158 hres = get_node(This->node.doc, (nsIDOMNode*)text, TRUE, &node);
159 nsIDOMText_Release(text);
160 if(FAILED(hres))
161 return hres;
162
163 *pRetNode = &node->IHTMLDOMNode_iface;
164 return S_OK;
165}
#define TRUE
Definition: types.h:120
const WCHAR * text
Definition: package.c:1794
HRESULT get_node(HTMLDocumentNode *This, nsIDOMNode *nsnode, BOOL create, HTMLDOMNode **ret)
Definition: htmlnode.c:1339
#define FAILED(hr)
Definition: intsafe.h:51
HRESULT hres
Definition: protocol.c:465

◆ HTMLDOMTextNode_toString()

static HRESULT WINAPI HTMLDOMTextNode_toString ( IHTMLDOMTextNode *  iface,
BSTR String 
)
static

Definition at line 114 of file htmltextnode.c.

115{
117 FIXME("(%p)->(%p)\n", This, String);
118 return E_NOTIMPL;
119}
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2433

◆ impl_from_HTMLDOMNode()

static HTMLDOMTextNode * impl_from_HTMLDOMNode ( HTMLDOMNode iface)
inlinestatic

Definition at line 300 of file htmltextnode.c.

301{
302 return CONTAINING_RECORD(iface, HTMLDOMTextNode, node);
303}
#define CONTAINING_RECORD(address, type, field)
Definition: typedefs.h:260

Referenced by HTMLDOMTextNode_clone(), and HTMLDOMTextNode_QI().

◆ impl_from_IHTMLDOMTextNode()

◆ impl_from_IHTMLDOMTextNode2()

Variable Documentation

◆ HTMLDOMTextNode2Vtbl

const IHTMLDOMTextNode2Vtbl HTMLDOMTextNode2Vtbl
static
Initial value:
= {
}
static ULONG WINAPI HTMLDOMTextNode2_Release(IHTMLDOMTextNode2 *iface)
Definition: htmltextnode.c:201
static HRESULT WINAPI HTMLDOMTextNode2_insertData(IHTMLDOMTextNode2 *iface, LONG offset, BSTR string)
Definition: htmltextnode.c:264
static HRESULT WINAPI HTMLDOMTextNode2_GetIDsOfNames(IHTMLDOMTextNode2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmltextnode.c:221
static HRESULT WINAPI HTMLDOMTextNode2_Invoke(IHTMLDOMTextNode2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmltextnode.c:229
static HRESULT WINAPI HTMLDOMTextNode2_QueryInterface(IHTMLDOMTextNode2 *iface, REFIID riid, void **ppv)
Definition: htmltextnode.c:187
static HRESULT WINAPI HTMLDOMTextNode2_deleteData(IHTMLDOMTextNode2 *iface, LONG offset, LONG count)
Definition: htmltextnode.c:271
static HRESULT WINAPI HTMLDOMTextNode2_substringData(IHTMLDOMTextNode2 *iface, LONG offset, LONG count, BSTR *string)
Definition: htmltextnode.c:238
static HRESULT WINAPI HTMLDOMTextNode2_replaceData(IHTMLDOMTextNode2 *iface, LONG offset, LONG count, BSTR string)
Definition: htmltextnode.c:278
static HRESULT WINAPI HTMLDOMTextNode2_GetTypeInfo(IHTMLDOMTextNode2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmltextnode.c:214
static HRESULT WINAPI HTMLDOMTextNode2_GetTypeInfoCount(IHTMLDOMTextNode2 *iface, UINT *pctinfo)
Definition: htmltextnode.c:208
static ULONG WINAPI HTMLDOMTextNode2_AddRef(IHTMLDOMTextNode2 *iface)
Definition: htmltextnode.c:194
static HRESULT WINAPI HTMLDOMTextNode2_appendData(IHTMLDOMTextNode2 *iface, BSTR string)
Definition: htmltextnode.c:245

Definition at line 285 of file htmltextnode.c.

Referenced by HTMLDOMTextNode_Create().

◆ HTMLDOMTextNode_cpc

const cpc_entry_t HTMLDOMTextNode_cpc[] = {{NULL}}
static

Definition at line 329 of file htmltextnode.c.

◆ HTMLDOMTextNode_dispex

dispex_static_data_t HTMLDOMTextNode_dispex
static
Initial value:
= {
DispHTMLDOMTextNode_tid,
0,
}
static const tid_t HTMLDOMTextNode_iface_tids[]
Definition: htmltextnode.c:338

Definition at line 345 of file htmltextnode.c.

Referenced by HTMLDOMTextNode_Create().

◆ HTMLDOMTextNode_iface_tids

const tid_t HTMLDOMTextNode_iface_tids[]
static
Initial value:
= {
IHTMLDOMNode_tid,
IHTMLDOMNode2_tid,
IHTMLDOMTextNode_tid,
IHTMLDOMTextNode2_tid,
0
}

Definition at line 338 of file htmltextnode.c.

◆ HTMLDOMTextNodeImplVtbl

const NodeImplVtbl HTMLDOMTextNodeImplVtbl
static
Initial value:
= {
}
void HTMLDOMNode_destructor(HTMLDOMNode *This)
Definition: htmlnode.c:1172
static HRESULT HTMLDOMTextNode_clone(HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
Definition: htmltextnode.c:322
static const cpc_entry_t HTMLDOMTextNode_cpc[]
Definition: htmltextnode.c:329
static HRESULT HTMLDOMTextNode_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
Definition: htmltextnode.c:305

Definition at line 331 of file htmltextnode.c.

Referenced by HTMLDOMTextNode_Create().

◆ HTMLDOMTextNodeVtbl

const IHTMLDOMTextNodeVtbl HTMLDOMTextNodeVtbl
static
Initial value:
= {
}
static HRESULT WINAPI HTMLDOMTextNode_QueryInterface(IHTMLDOMTextNode *iface, REFIID riid, void **ppv)
Definition: htmltextnode.c:34
static HRESULT WINAPI HTMLDOMTextNode_GetTypeInfo(IHTMLDOMTextNode *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmltextnode.c:62
static HRESULT WINAPI HTMLDOMTextNode_toString(IHTMLDOMTextNode *iface, BSTR *String)
Definition: htmltextnode.c:114
static HRESULT WINAPI HTMLDOMTextNode_Invoke(IHTMLDOMTextNode *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmltextnode.c:78
static HRESULT WINAPI HTMLDOMTextNode_splitText(IHTMLDOMTextNode *iface, LONG offset, IHTMLDOMNode **pRetNode)
Definition: htmltextnode.c:137
static ULONG WINAPI HTMLDOMTextNode_Release(IHTMLDOMTextNode *iface)
Definition: htmltextnode.c:49
static HRESULT WINAPI HTMLDOMTextNode_put_data(IHTMLDOMTextNode *iface, BSTR v)
Definition: htmltextnode.c:87
static HRESULT WINAPI HTMLDOMTextNode_get_data(IHTMLDOMTextNode *iface, BSTR *p)
Definition: htmltextnode.c:101
static ULONG WINAPI HTMLDOMTextNode_AddRef(IHTMLDOMTextNode *iface)
Definition: htmltextnode.c:42
static HRESULT WINAPI HTMLDOMTextNode_get_length(IHTMLDOMTextNode *iface, LONG *p)
Definition: htmltextnode.c:121
static HRESULT WINAPI HTMLDOMTextNode_GetTypeInfoCount(IHTMLDOMTextNode *iface, UINT *pctinfo)
Definition: htmltextnode.c:56
static HRESULT WINAPI HTMLDOMTextNode_GetIDsOfNames(IHTMLDOMTextNode *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmltextnode.c:69

Definition at line 167 of file htmltextnode.c.

Referenced by HTMLDOMTextNode_Create().