ReactOS  0.4.13-dev-443-g10f00f8
htmltextarea.c
Go to the documentation of this file.
1 /*
2  * Copyright 2006 Jacek Caban for CodeWeavers
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 #include "mshtml_private.h"
20 
21 typedef struct {
23 
24  IHTMLTextAreaElement IHTMLTextAreaElement_iface;
25 
28 
29 static inline HTMLTextAreaElement *impl_from_IHTMLTextAreaElement(IHTMLTextAreaElement *iface)
30 {
31  return CONTAINING_RECORD(iface, HTMLTextAreaElement, IHTMLTextAreaElement_iface);
32 }
33 
34 static HRESULT WINAPI HTMLTextAreaElement_QueryInterface(IHTMLTextAreaElement *iface,
35  REFIID riid, void **ppv)
36 {
38 
39  return IHTMLDOMNode_QueryInterface(&This->element.node.IHTMLDOMNode_iface, riid, ppv);
40 }
41 
42 static ULONG WINAPI HTMLTextAreaElement_AddRef(IHTMLTextAreaElement *iface)
43 {
45 
46  return IHTMLDOMNode_AddRef(&This->element.node.IHTMLDOMNode_iface);
47 }
48 
49 static ULONG WINAPI HTMLTextAreaElement_Release(IHTMLTextAreaElement *iface)
50 {
52 
53  return IHTMLDOMNode_Release(&This->element.node.IHTMLDOMNode_iface);
54 }
55 
56 static HRESULT WINAPI HTMLTextAreaElement_GetTypeInfoCount(IHTMLTextAreaElement *iface, UINT *pctinfo)
57 {
59  return IDispatchEx_GetTypeInfoCount(&This->element.node.event_target.dispex.IDispatchEx_iface, pctinfo);
60 }
61 
62 static HRESULT WINAPI HTMLTextAreaElement_GetTypeInfo(IHTMLTextAreaElement *iface, UINT iTInfo,
63  LCID lcid, ITypeInfo **ppTInfo)
64 {
66  return IDispatchEx_GetTypeInfo(&This->element.node.event_target.dispex.IDispatchEx_iface, iTInfo, lcid,
67  ppTInfo);
68 }
69 
70 static HRESULT WINAPI HTMLTextAreaElement_GetIDsOfNames(IHTMLTextAreaElement *iface, REFIID riid,
71  LPOLESTR *rgszNames, UINT cNames,
72  LCID lcid, DISPID *rgDispId)
73 {
75  return IDispatchEx_GetIDsOfNames(&This->element.node.event_target.dispex.IDispatchEx_iface, riid, rgszNames,
76  cNames, lcid, rgDispId);
77 }
78 
79 static HRESULT WINAPI HTMLTextAreaElement_Invoke(IHTMLTextAreaElement *iface, DISPID dispIdMember,
80  REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
81  VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
82 {
84  return IDispatchEx_Invoke(&This->element.node.event_target.dispex.IDispatchEx_iface, dispIdMember, riid,
85  lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
86 }
87 
88 static HRESULT WINAPI HTMLTextAreaElement_get_type(IHTMLTextAreaElement *iface, BSTR *p)
89 {
90  static const WCHAR textareaW[] = {'t','e','x','t','a','r','e','a',0};
91 
93 
94  TRACE("(%p)->(%p)\n", This, p);
95 
97  if(!*p)
98  return E_OUTOFMEMORY;
99  return S_OK;
100 }
101 
102 static HRESULT WINAPI HTMLTextAreaElement_put_value(IHTMLTextAreaElement *iface, BSTR v)
103 {
106  nsresult nsres;
107 
108  TRACE("(%p)->(%s)\n", This, debugstr_w(v));
109 
111  nsres = nsIDOMHTMLTextAreaElement_SetValue(This->nstextarea, &value_str);
113  if(NS_FAILED(nsres)) {
114  ERR("SetValue failed: %08x\n", nsres);
115  return E_FAIL;
116  }
117 
118  return S_OK;
119 }
120 
121 static HRESULT WINAPI HTMLTextAreaElement_get_value(IHTMLTextAreaElement *iface, BSTR *p)
122 {
125  nsresult nsres;
126 
127  TRACE("(%p)->(%p)\n", This, p);
128 
130  nsres = nsIDOMHTMLTextAreaElement_GetValue(This->nstextarea, &value_str);
131  return return_nsstr(nsres, &value_str, p);
132 }
133 
134 static HRESULT WINAPI HTMLTextAreaElement_put_name(IHTMLTextAreaElement *iface, BSTR v)
135 {
137  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
138  return E_NOTIMPL;
139 }
140 
141 static HRESULT WINAPI HTMLTextAreaElement_get_name(IHTMLTextAreaElement *iface, BSTR *p)
142 {
144  nsAString name_str;
145  nsresult nsres;
146 
147  TRACE("(%p)->(%p)\n", This, p);
148 
149  nsAString_Init(&name_str, NULL);
150  nsres = nsIDOMHTMLTextAreaElement_GetName(This->nstextarea, &name_str);
151  return return_nsstr(nsres, &name_str, p);
152 }
153 
154 static HRESULT WINAPI HTMLTextAreaElement_put_status(IHTMLTextAreaElement *iface, VARIANT v)
155 {
157  FIXME("(%p)->()\n", This);
158  return E_NOTIMPL;
159 }
160 
161 static HRESULT WINAPI HTMLTextAreaElement_get_status(IHTMLTextAreaElement *iface, VARIANT *p)
162 {
164  FIXME("(%p)->(%p)\n", This, p);
165  return E_NOTIMPL;
166 }
167 
168 static HRESULT WINAPI HTMLTextAreaElement_put_disabled(IHTMLTextAreaElement *iface, VARIANT_BOOL v)
169 {
171  FIXME("(%p)->(%x)\n", This, v);
172  return E_NOTIMPL;
173 }
174 
175 static HRESULT WINAPI HTMLTextAreaElement_get_disabled(IHTMLTextAreaElement *iface, VARIANT_BOOL *p)
176 {
178  FIXME("(%p)->(%p)\n", This, p);
179  return E_NOTIMPL;
180 }
181 
182 static HRESULT WINAPI HTMLTextAreaElement_get_form(IHTMLTextAreaElement *iface, IHTMLFormElement **p)
183 {
185  nsIDOMHTMLFormElement *nsform;
186  nsIDOMNode *nsnode;
187  HTMLDOMNode *node;
188  nsresult nsres;
189  HRESULT hres;
190 
191  TRACE("(%p)->(%p)\n", This, p);
192 
193  nsres = nsIDOMHTMLTextAreaElement_GetForm(This->nstextarea, &nsform);
194  assert(nsres == NS_OK);
195 
196  if(!nsform) {
197  *p = NULL;
198  return S_OK;
199  }
200 
201  nsres = nsIDOMHTMLFormElement_QueryInterface(nsform, &IID_nsIDOMNode, (void**)&nsnode);
202  nsIDOMHTMLFormElement_Release(nsform);
203  assert(nsres == NS_OK);
204 
205  hres = get_node(This->element.node.doc, nsnode, TRUE, &node);
206  nsIDOMNode_Release(nsnode);
207  if(FAILED(hres))
208  return hres;
209 
210  hres = IHTMLDOMNode_QueryInterface(&node->IHTMLDOMNode_iface, &IID_IHTMLFormElement, (void**)p);
211  IHTMLDOMNode_Release(&node->IHTMLDOMNode_iface);
212  return hres;
213 }
214 
215 static HRESULT WINAPI HTMLTextAreaElement_put_defaultValue(IHTMLTextAreaElement *iface, BSTR v)
216 {
218  nsAString nsstr;
219  nsresult nsres;
220 
221  TRACE("(%p)->(%s)\n", This, debugstr_w(v));
222 
223  nsAString_InitDepend(&nsstr, v);
224  nsres = nsIDOMHTMLTextAreaElement_SetDefaultValue(This->nstextarea, &nsstr);
225  nsAString_Finish(&nsstr);
226  return NS_SUCCEEDED(nsres) ? S_OK : E_FAIL;
227 }
228 
229 static HRESULT WINAPI HTMLTextAreaElement_get_defaultValue(IHTMLTextAreaElement *iface, BSTR *p)
230 {
232  nsAString nsstr;
233  nsresult nsres;
234 
235  TRACE("(%p)->(%p)\n", This, p);
236 
237  nsAString_Init(&nsstr, NULL);
238  nsres = nsIDOMHTMLTextAreaElement_GetDefaultValue(This->nstextarea, &nsstr);
239  return return_nsstr(nsres, &nsstr, p);
240 }
241 
242 static HRESULT WINAPI HTMLTextAreaElement_select(IHTMLTextAreaElement *iface)
243 {
245  FIXME("(%p)\n", This);
246  return E_NOTIMPL;
247 }
248 
249 static HRESULT WINAPI HTMLTextAreaElement_put_onchange(IHTMLTextAreaElement *iface, VARIANT v)
250 {
252  FIXME("(%p)->()\n", This);
253  return E_NOTIMPL;
254 }
255 
256 static HRESULT WINAPI HTMLTextAreaElement_get_onchange(IHTMLTextAreaElement *iface, VARIANT *p)
257 {
259  FIXME("(%p)->(%p)\n", This, p);
260  return E_NOTIMPL;
261 }
262 
263 static HRESULT WINAPI HTMLTextAreaElement_put_onselect(IHTMLTextAreaElement *iface, VARIANT v)
264 {
266  FIXME("(%p)->()\n", This);
267  return E_NOTIMPL;
268 }
269 
270 static HRESULT WINAPI HTMLTextAreaElement_get_onselect(IHTMLTextAreaElement *iface, VARIANT *p)
271 {
273  FIXME("(%p)->(%p)\n", This, p);
274  return E_NOTIMPL;
275 }
276 
277 static HRESULT WINAPI HTMLTextAreaElement_put_readOnly(IHTMLTextAreaElement *iface, VARIANT_BOOL v)
278 {
280  nsresult nsres;
281 
282  TRACE("(%p)->(%x)\n", This, v);
283 
284  nsres = nsIDOMHTMLTextAreaElement_SetReadOnly(This->nstextarea, v != VARIANT_FALSE);
285  if(NS_FAILED(nsres)) {
286  ERR("SetReadOnly failed: %08x\n", nsres);
287  return E_FAIL;
288  }
289 
290  return S_OK;
291 }
292 
293 static HRESULT WINAPI HTMLTextAreaElement_get_readOnly(IHTMLTextAreaElement *iface, VARIANT_BOOL *p)
294 {
296  cpp_bool b;
297  nsresult nsres;
298 
299  TRACE("(%p)->(%p)\n", This, p);
300 
301  nsres = nsIDOMHTMLTextAreaElement_GetReadOnly(This->nstextarea, &b);
302  if(NS_FAILED(nsres)) {
303  ERR("GetReadOnly failed: %08x\n", nsres);
304  return E_FAIL;
305  }
306 
307  *p = b ? VARIANT_TRUE : VARIANT_FALSE;
308  return S_OK;
309 }
310 
311 static HRESULT WINAPI HTMLTextAreaElement_put_rows(IHTMLTextAreaElement *iface, LONG v)
312 {
314  FIXME("(%p)->(%d)\n", This, v);
315  return E_NOTIMPL;
316 }
317 
318 static HRESULT WINAPI HTMLTextAreaElement_get_rows(IHTMLTextAreaElement *iface, LONG *p)
319 {
321  FIXME("(%p)->(%p)\n", This, p);
322  return E_NOTIMPL;
323 }
324 
325 static HRESULT WINAPI HTMLTextAreaElement_put_cols(IHTMLTextAreaElement *iface, LONG v)
326 {
328  FIXME("(%p)->(%d)\n", This, v);
329  return E_NOTIMPL;
330 }
331 
332 static HRESULT WINAPI HTMLTextAreaElement_get_cols(IHTMLTextAreaElement *iface, LONG *p)
333 {
335  FIXME("(%p)->(%p)\n", This, p);
336  return E_NOTIMPL;
337 }
338 
339 static HRESULT WINAPI HTMLTextAreaElement_put_wrap(IHTMLTextAreaElement *iface, BSTR v)
340 {
342  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
343  return E_NOTIMPL;
344 }
345 
346 static HRESULT WINAPI HTMLTextAreaElement_get_wrap(IHTMLTextAreaElement *iface, BSTR *p)
347 {
349  FIXME("(%p)->(%p)\n", This, p);
350  return E_NOTIMPL;
351 }
352 
353 static HRESULT WINAPI HTMLTextAreaElement_createTextRange(IHTMLTextAreaElement *iface,
354  IHTMLTxtRange **range)
355 {
357  FIXME("(%p)->(%p)\n", This, range);
358  return E_NOTIMPL;
359 }
360 
361 static const IHTMLTextAreaElementVtbl HTMLTextAreaElementVtbl = {
395 };
396 
398 {
399  return CONTAINING_RECORD(iface, HTMLTextAreaElement, element.node);
400 }
401 
403 {
405 
406  *ppv = NULL;
407 
408  if(IsEqualGUID(&IID_IUnknown, riid)) {
409  TRACE("(%p)->(IID_IUnknown %p)\n", This, ppv);
410  *ppv = &This->IHTMLTextAreaElement_iface;
411  }else if(IsEqualGUID(&IID_IDispatch, riid)) {
412  TRACE("(%p)->(IID_IDispatch %p)\n", This, ppv);
413  *ppv = &This->IHTMLTextAreaElement_iface;
414  }else if(IsEqualGUID(&IID_IHTMLTextAreaElement, riid)) {
415  TRACE("(%p)->(IID_IHTMLTextAreaElement %p)\n", This, ppv);
416  *ppv = &This->IHTMLTextAreaElement_iface;
417  }
418 
419  if(*ppv) {
420  IUnknown_AddRef((IUnknown*)*ppv);
421  return S_OK;
422  }
423 
424  return HTMLElement_QI(&This->element.node, riid, ppv);
425 }
426 
428 {
430  return IHTMLTextAreaElement_put_disabled(&This->IHTMLTextAreaElement_iface, v);
431 }
432 
434 {
436  return IHTMLTextAreaElement_get_disabled(&This->IHTMLTextAreaElement_iface, p);
437 }
438 
440 {
441  return TRUE;
442 }
443 
445 {
447 
448  if(This->nstextarea)
449  note_cc_edge((nsISupports*)This->nstextarea, "This->nstextarea", cb);
450 }
451 
453 {
455 
456  if(This->nstextarea) {
457  nsIDOMHTMLTextAreaElement *nstextarea = This->nstextarea;
458 
459  This->nstextarea = NULL;
460  nsIDOMHTMLTextAreaElement_Release(nstextarea);
461  }
462 }
463 
471  NULL,
472  NULL,
475  NULL,
476  NULL,
477  NULL,
478  NULL,
479  NULL,
483 };
484 
487  IHTMLTextAreaElement_tid,
488  0
489 };
490 
492  NULL,
493  DispHTMLTextAreaElement_tid,
494  NULL,
496 };
497 
499 {
501  nsresult nsres;
502 
503  ret = heap_alloc_zero(sizeof(HTMLTextAreaElement));
504  if(!ret)
505  return E_OUTOFMEMORY;
506 
507  ret->IHTMLTextAreaElement_iface.lpVtbl = &HTMLTextAreaElementVtbl;
508  ret->element.node.vtbl = &HTMLTextAreaElementImplVtbl;
509 
510  HTMLElement_Init(&ret->element, doc, nselem, &HTMLTextAreaElement_dispex);
511 
512  nsres = nsIDOMHTMLElement_QueryInterface(nselem, &IID_nsIDOMHTMLTextAreaElement, (void**)&ret->nstextarea);
513  assert(nsres == NS_OK);
514 
515  *elem = &ret->element;
516  return S_OK;
517 }
static void HTMLTextAreaElement_unlink(HTMLDOMNode *iface)
Definition: htmltextarea.c:452
static const tid_t HTMLTextAreaElement_iface_tids[]
Definition: htmltextarea.c:485
#define REFIID
Definition: guiddef.h:113
#define TRUE
Definition: types.h:120
static HRESULT WINAPI HTMLTextAreaElement_put_wrap(IHTMLTextAreaElement *iface, BSTR v)
Definition: htmltextarea.c:339
static HRESULT WINAPI HTMLTextAreaElement_put_onselect(IHTMLTextAreaElement *iface, VARIANT v)
Definition: htmltextarea.c:263
static HRESULT WINAPI HTMLTextAreaElement_Invoke(IHTMLTextAreaElement *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmltextarea.c:79
static dispex_static_data_t HTMLTextAreaElement_dispex
Definition: htmltextarea.c:491
static HRESULT WINAPI HTMLTextAreaElement_get_type(IHTMLTextAreaElement *iface, BSTR *p)
Definition: htmltextarea.c:88
static HRESULT HTMLTextAreaElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
Definition: htmltextarea.c:402
HRESULT HTMLElement_handle_event(HTMLDOMNode *iface, DWORD eid, nsIDOMEvent *event, BOOL *prevent_default)
Definition: htmlelem.c:3815
static HRESULT WINAPI HTMLTextAreaElement_get_onselect(IHTMLTextAreaElement *iface, VARIANT *p)
Definition: htmltextarea.c:270
const cpc_entry_t HTMLElement_cpc[]
Definition: htmlelem.c:3847
REFIID riid
Definition: precomp.h:44
tid_t
Definition: ieframe.h:311
static HTMLTextAreaElement * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
Definition: htmltextarea.c:397
static HRESULT WINAPI HTMLTextAreaElement_select(IHTMLTextAreaElement *iface)
Definition: htmltextarea.c:242
HRESULT HTMLElement_get_attr_col(HTMLDOMNode *iface, HTMLAttributeCollection **ac)
Definition: htmlelem.c:4827
REFIID LPVOID * ppv
Definition: atlbase.h:39
HRESULT HTMLElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
Definition: htmlelem.c:3738
static HRESULT WINAPI HTMLTextAreaElement_put_disabled(IHTMLTextAreaElement *iface, VARIANT_BOOL v)
Definition: htmltextarea.c:168
#define assert(x)
Definition: debug.h:53
static void HTMLTextAreaElement_traverse(HTMLDOMNode *iface, nsCycleCollectionTraversalCallback *cb)
Definition: htmltextarea.c:444
DWORD LCID
Definition: nls.h:13
OLECHAR * BSTR
Definition: compat.h:1934
static HRESULT WINAPI HTMLTextAreaElement_get_readOnly(IHTMLTextAreaElement *iface, VARIANT_BOOL *p)
Definition: htmltextarea.c:293
static LPOLESTR
Definition: stg_prop.c:27
#define E_FAIL
Definition: ddrawi.h:102
static HRESULT WINAPI HTMLTextAreaElement_createTextRange(IHTMLTextAreaElement *iface, IHTMLTxtRange **range)
Definition: htmltextarea.c:353
short VARIANT_BOOL
Definition: compat.h:1931
#define NS_OK
struct node node
HRESULT HTMLTextAreaElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
Definition: htmltextarea.c:498
#define HTMLELEMENT_TIDS
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
static HRESULT WINAPI HTMLTextAreaElement_get_cols(IHTMLTextAreaElement *iface, LONG *p)
Definition: htmltextarea.c:332
static HRESULT WINAPI HTMLTextAreaElement_get_onchange(IHTMLTextAreaElement *iface, VARIANT *p)
Definition: htmltextarea.c:256
#define debugstr_w
Definition: kernel32.h:32
static size_t elem
Definition: string.c:68
#define FIXME(fmt,...)
Definition: debug.h:110
static const WCHAR textareaW[]
Definition: htmlelem.c:42
smooth NULL
Definition: ftsmooth.c:416
BSTR WINAPI SysAllocString(LPCOLESTR str)
Definition: oleaut.c:241
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
Definition: Messaging.c:560
#define b
Definition: ke_i.h:79
#define NS_FAILED(res)
HRESULT return_nsstr(nsresult, nsAString *, BSTR *) DECLSPEC_HIDDEN
Definition: nsembed.c:841
static HRESULT WINAPI HTMLTextAreaElement_put_status(IHTMLTextAreaElement *iface, VARIANT v)
Definition: htmltextarea.c:154
unsigned char cpp_bool
Definition: atl.c:39
GLboolean GLboolean GLboolean b
Definition: glext.h:6204
#define TRACE(s)
Definition: solgame.cpp:4
HRESULT hres
Definition: protocol.c:465
static HRESULT WINAPI HTMLTextAreaElement_put_rows(IHTMLTextAreaElement *iface, LONG v)
Definition: htmltextarea.c:311
static const IHTMLTextAreaElementVtbl HTMLTextAreaElementVtbl
Definition: htmltextarea.c:361
__wchar_t WCHAR
Definition: xmlstorage.h:180
static const NodeImplVtbl HTMLTextAreaElementImplVtbl
Definition: htmltextarea.c:464
LONG HRESULT
Definition: typedefs.h:77
const GUID IID_IUnknown
#define WINAPI
Definition: msvc.h:8
unsigned short WORD
Definition: ntddk_ex.h:93
void HTMLElement_destructor(HTMLDOMNode *iface)
Definition: htmlelem.c:3764
static HRESULT WINAPI HTMLTextAreaElement_put_cols(IHTMLTextAreaElement *iface, LONG v)
Definition: htmltextarea.c:325
#define NS_SUCCEEDED(res)
static DWORD cb
Definition: integrity.c:41
static HRESULT WINAPI HTMLTextAreaElement_GetTypeInfoCount(IHTMLTextAreaElement *iface, UINT *pctinfo)
Definition: htmltextarea.c:56
static HRESULT HTMLTextAreaElementImpl_get_disabled(HTMLDOMNode *iface, VARIANT_BOOL *p)
Definition: htmltextarea.c:433
const GUID IID_IDispatch
int ret
static ULONG WINAPI HTMLTextAreaElement_Release(IHTMLTextAreaElement *iface)
Definition: htmltextarea.c:49
static HRESULT WINAPI HTMLTextAreaElement_get_status(IHTMLTextAreaElement *iface, VARIANT *p)
Definition: htmltextarea.c:161
void HTMLElement_Init(HTMLElement *This, HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, dispex_static_data_t *dispex_data)
Definition: htmlelem.c:4008
static HRESULT HTMLTextAreaElementImpl_put_disabled(HTMLDOMNode *iface, VARIANT_BOOL v)
Definition: htmltextarea.c:427
static HRESULT WINAPI HTMLTextAreaElement_get_defaultValue(IHTMLTextAreaElement *iface, BSTR *p)
Definition: htmltextarea.c:229
nsIDOMHTMLTextAreaElement * nstextarea
Definition: htmltextarea.c:26
GLenum GLint * range
Definition: glext.h:7539
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:519
#define ERR(fmt,...)
Definition: debug.h:109
static HRESULT WINAPI HTMLTextAreaElement_get_disabled(IHTMLTextAreaElement *iface, VARIANT_BOOL *p)
Definition: htmltextarea.c:175
HRESULT HTMLElement_clone(HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
Definition: htmlelem.c:3793
struct stdole::EXCEPINFO EXCEPINFO
#define S_OK
Definition: intsafe.h:59
static VARIANTARG static DISPID
Definition: ordinal.c:49
static UNICODE_STRING value_str
Definition: reg.c:1328
const GLdouble * v
Definition: gl.h:2040
HRESULT get_node(HTMLDocumentNode *This, nsIDOMNode *nsnode, BOOL create, HTMLDOMNode **ret)
Definition: htmlnode.c:1339
struct nsCycleCollectionTraversalCallback nsCycleCollectionTraversalCallback
static HRESULT WINAPI HTMLTextAreaElement_GetIDsOfNames(IHTMLTextAreaElement *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmltextarea.c:70
static HRESULT WINAPI HTMLTextAreaElement_get_form(IHTMLTextAreaElement *iface, IHTMLFormElement **p)
Definition: htmltextarea.c:182
IHTMLTextAreaElement IHTMLTextAreaElement_iface
Definition: htmltextarea.c:24
#define E_NOTIMPL
Definition: ddrawi.h:99
static HTMLTextAreaElement * impl_from_IHTMLTextAreaElement(IHTMLTextAreaElement *iface)
Definition: htmltextarea.c:29
static HRESULT WINAPI HTMLTextAreaElement_put_name(IHTMLTextAreaElement *iface, BSTR v)
Definition: htmltextarea.c:134
static HRESULT WINAPI HTMLTextAreaElement_put_onchange(IHTMLTextAreaElement *iface, VARIANT v)
Definition: htmltextarea.c:249
void nsAString_InitDepend(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:826
unsigned int UINT
Definition: ndis.h:50
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4021
static ULONG WINAPI HTMLTextAreaElement_AddRef(IHTMLTextAreaElement *iface)
Definition: htmltextarea.c:42
BOOL nsAString_Init(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:817
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
Definition: nsembed.c:836
static HRESULT WINAPI HTMLTextAreaElement_QueryInterface(IHTMLTextAreaElement *iface, REFIID riid, void **ppv)
Definition: htmltextarea.c:34
struct stdole::DISPPARAMS DISPPARAMS
static HRESULT WINAPI HTMLTextAreaElement_get_rows(IHTMLTextAreaElement *iface, LONG *p)
Definition: htmltextarea.c:318
HRESULT nsresult
Definition: nsiface.idl:39
unsigned int ULONG
Definition: retypes.h:1
static HRESULT WINAPI HTMLTextAreaElement_put_value(IHTMLTextAreaElement *iface, BSTR v)
Definition: htmltextarea.c:102
static HRESULT WINAPI HTMLTextAreaElement_get_name(IHTMLTextAreaElement *iface, BSTR *p)
Definition: htmltextarea.c:141
static HRESULT WINAPI HTMLTextAreaElement_GetTypeInfo(IHTMLTextAreaElement *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmltextarea.c:62
GLfloat GLfloat p
Definition: glext.h:8902
static HRESULT WINAPI HTMLTextAreaElement_get_wrap(IHTMLTextAreaElement *iface, BSTR *p)
Definition: htmltextarea.c:346
static HRESULT WINAPI HTMLTextAreaElement_put_readOnly(IHTMLTextAreaElement *iface, VARIANT_BOOL v)
Definition: htmltextarea.c:277
static HRESULT WINAPI HTMLTextAreaElement_put_defaultValue(IHTMLTextAreaElement *iface, BSTR v)
Definition: htmltextarea.c:215
static BOOL HTMLTextAreaElement_is_text_edit(HTMLDOMNode *iface)
Definition: htmltextarea.c:439
HTMLElement element
Definition: htmltextarea.c:22
Definition: dlist.c:348
static HRESULT WINAPI HTMLTextAreaElement_get_value(IHTMLTextAreaElement *iface, BSTR *p)
Definition: htmltextarea.c:121