39 return IHTMLDOMNode_QueryInterface(&
This->element.node.IHTMLDOMNode_iface,
riid,
ppv);
46 return IHTMLDOMNode_AddRef(&
This->element.node.IHTMLDOMNode_iface);
53 return IHTMLDOMNode_Release(&
This->element.node.IHTMLDOMNode_iface);
59 return IDispatchEx_GetTypeInfoCount(&
This->element.node.event_target.dispex.IDispatchEx_iface, pctinfo);
66 return IDispatchEx_GetTypeInfo(&
This->element.node.event_target.dispex.IDispatchEx_iface, iTInfo, lcid,
75 return IDispatchEx_GetIDsOfNames(&
This->element.node.event_target.dispex.IDispatchEx_iface,
riid, rgszNames,
76 cNames, lcid, rgDispId);
81 VARIANT *pVarResult, EXCEPINFO *pExcepInfo,
UINT *puArgErr)
84 return IDispatchEx_Invoke(&
This->element.node.event_target.dispex.IDispatchEx_iface, dispIdMember,
riid,
85 lcid,
wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
90 static const WCHAR textareaW[] = {
't',
'e',
'x',
't',
'a',
'r',
'e',
'a',0};
111 nsres = nsIDOMHTMLTextAreaElement_SetValue(
This->nstextarea, &
value_str);
114 ERR(
"SetValue failed: %08x\n", nsres);
130 nsres = nsIDOMHTMLTextAreaElement_GetValue(
This->nstextarea, &
value_str);
150 nsres = nsIDOMHTMLTextAreaElement_GetName(
This->nstextarea, &name_str);
193 nsres = nsIDOMHTMLTextAreaElement_GetForm(
This->nstextarea, &nsform);
201 nsres = nsIDOMHTMLFormElement_QueryInterface(nsform, &IID_nsIDOMNode, (
void**)&nsnode);
202 nsIDOMHTMLFormElement_Release(nsform);
206 nsIDOMNode_Release(nsnode);
210 hres = IHTMLDOMNode_QueryInterface(&
node->IHTMLDOMNode_iface, &IID_IHTMLFormElement, (
void**)
p);
211 IHTMLDOMNode_Release(&
node->IHTMLDOMNode_iface);
224 nsres = nsIDOMHTMLTextAreaElement_SetDefaultValue(
This->nstextarea, &nsstr);
238 nsres = nsIDOMHTMLTextAreaElement_GetDefaultValue(
This->nstextarea, &nsstr);
284 nsres = nsIDOMHTMLTextAreaElement_SetReadOnly(
This->nstextarea,
v != VARIANT_FALSE);
286 ERR(
"SetReadOnly failed: %08x\n", nsres);
301 nsres = nsIDOMHTMLTextAreaElement_GetReadOnly(
This->nstextarea, &
b);
303 ERR(
"GetReadOnly failed: %08x\n", nsres);
307 *
p =
b ? VARIANT_TRUE : VARIANT_FALSE;
354 IHTMLTxtRange **
range)
410 *
ppv = &
This->IHTMLTextAreaElement_iface;
413 *
ppv = &
This->IHTMLTextAreaElement_iface;
415 TRACE(
"(%p)->(IID_IHTMLTextAreaElement %p)\n",
This,
ppv);
416 *
ppv = &
This->IHTMLTextAreaElement_iface;
430 return IHTMLTextAreaElement_put_disabled(&
This->IHTMLTextAreaElement_iface,
v);
436 return IHTMLTextAreaElement_get_disabled(&
This->IHTMLTextAreaElement_iface,
p);
456 if(
This->nstextarea) {
460 nsIDOMHTMLTextAreaElement_Release(nstextarea);
487 IHTMLTextAreaElement_tid,
493 DispHTMLTextAreaElement_tid,
512 nsres = nsIDOMHTMLElement_QueryInterface(nselem, &IID_nsIDOMHTMLTextAreaElement, (
void**)&
ret->nstextarea);
GLboolean GLboolean GLboolean b
HRESULT HTMLElement_clone(HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
void HTMLElement_destructor(HTMLDOMNode *iface)
HRESULT HTMLElement_handle_event(HTMLDOMNode *iface, DWORD eid, nsIDOMEvent *event, BOOL *prevent_default)
const cpc_entry_t HTMLElement_cpc[]
void HTMLElement_Init(HTMLElement *This, HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, dispex_static_data_t *dispex_data)
static const WCHAR textareaW[]
HRESULT HTMLElement_get_attr_col(HTMLDOMNode *iface, HTMLAttributeCollection **ac)
HRESULT HTMLElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
HRESULT get_node(HTMLDocumentNode *This, nsIDOMNode *nsnode, BOOL create, HTMLDOMNode **ret)
static HRESULT WINAPI HTMLTextAreaElement_get_wrap(IHTMLTextAreaElement *iface, BSTR *p)
static HRESULT WINAPI HTMLTextAreaElement_put_value(IHTMLTextAreaElement *iface, BSTR v)
static HRESULT HTMLTextAreaElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
static HTMLTextAreaElement * impl_from_IHTMLTextAreaElement(IHTMLTextAreaElement *iface)
static HRESULT WINAPI HTMLTextAreaElement_get_onselect(IHTMLTextAreaElement *iface, VARIANT *p)
HRESULT HTMLTextAreaElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
static BOOL HTMLTextAreaElement_is_text_edit(HTMLDOMNode *iface)
static HRESULT WINAPI HTMLTextAreaElement_put_rows(IHTMLTextAreaElement *iface, LONG v)
static HRESULT WINAPI HTMLTextAreaElement_put_onchange(IHTMLTextAreaElement *iface, VARIANT v)
static HRESULT WINAPI HTMLTextAreaElement_get_value(IHTMLTextAreaElement *iface, BSTR *p)
static HRESULT WINAPI HTMLTextAreaElement_GetTypeInfoCount(IHTMLTextAreaElement *iface, UINT *pctinfo)
static HRESULT WINAPI HTMLTextAreaElement_put_defaultValue(IHTMLTextAreaElement *iface, BSTR v)
static HRESULT WINAPI HTMLTextAreaElement_Invoke(IHTMLTextAreaElement *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static HRESULT WINAPI HTMLTextAreaElement_get_status(IHTMLTextAreaElement *iface, VARIANT *p)
static ULONG WINAPI HTMLTextAreaElement_AddRef(IHTMLTextAreaElement *iface)
static void HTMLTextAreaElement_unlink(HTMLDOMNode *iface)
static HRESULT WINAPI HTMLTextAreaElement_QueryInterface(IHTMLTextAreaElement *iface, REFIID riid, void **ppv)
static const IHTMLTextAreaElementVtbl HTMLTextAreaElementVtbl
static HRESULT WINAPI HTMLTextAreaElement_get_type(IHTMLTextAreaElement *iface, BSTR *p)
static void HTMLTextAreaElement_traverse(HTMLDOMNode *iface, nsCycleCollectionTraversalCallback *cb)
static HRESULT WINAPI HTMLTextAreaElement_get_name(IHTMLTextAreaElement *iface, BSTR *p)
static HRESULT WINAPI HTMLTextAreaElement_get_disabled(IHTMLTextAreaElement *iface, VARIANT_BOOL *p)
static HRESULT WINAPI HTMLTextAreaElement_get_cols(IHTMLTextAreaElement *iface, LONG *p)
static HRESULT WINAPI HTMLTextAreaElement_put_wrap(IHTMLTextAreaElement *iface, BSTR v)
static HRESULT WINAPI HTMLTextAreaElement_put_onselect(IHTMLTextAreaElement *iface, VARIANT v)
static HRESULT HTMLTextAreaElementImpl_put_disabled(HTMLDOMNode *iface, VARIANT_BOOL v)
static HRESULT WINAPI HTMLTextAreaElement_select(IHTMLTextAreaElement *iface)
static HRESULT WINAPI HTMLTextAreaElement_GetTypeInfo(IHTMLTextAreaElement *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static HRESULT WINAPI HTMLTextAreaElement_put_disabled(IHTMLTextAreaElement *iface, VARIANT_BOOL v)
static ULONG WINAPI HTMLTextAreaElement_Release(IHTMLTextAreaElement *iface)
static HRESULT HTMLTextAreaElementImpl_get_disabled(HTMLDOMNode *iface, VARIANT_BOOL *p)
static HRESULT WINAPI HTMLTextAreaElement_put_cols(IHTMLTextAreaElement *iface, LONG v)
static HRESULT WINAPI HTMLTextAreaElement_get_defaultValue(IHTMLTextAreaElement *iface, BSTR *p)
static HRESULT WINAPI HTMLTextAreaElement_get_form(IHTMLTextAreaElement *iface, IHTMLFormElement **p)
static const NodeImplVtbl HTMLTextAreaElementImplVtbl
static HRESULT WINAPI HTMLTextAreaElement_put_status(IHTMLTextAreaElement *iface, VARIANT v)
static const tid_t HTMLTextAreaElement_iface_tids[]
static HTMLTextAreaElement * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
static HRESULT WINAPI HTMLTextAreaElement_get_readOnly(IHTMLTextAreaElement *iface, VARIANT_BOOL *p)
static HRESULT WINAPI HTMLTextAreaElement_put_name(IHTMLTextAreaElement *iface, BSTR v)
static HRESULT WINAPI HTMLTextAreaElement_get_rows(IHTMLTextAreaElement *iface, LONG *p)
static HRESULT WINAPI HTMLTextAreaElement_createTextRange(IHTMLTextAreaElement *iface, IHTMLTxtRange **range)
static HRESULT WINAPI HTMLTextAreaElement_get_onchange(IHTMLTextAreaElement *iface, VARIANT *p)
static HRESULT WINAPI HTMLTextAreaElement_GetIDsOfNames(IHTMLTextAreaElement *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static dispex_static_data_t HTMLTextAreaElement_dispex
static HRESULT WINAPI HTMLTextAreaElement_put_readOnly(IHTMLTextAreaElement *iface, VARIANT_BOOL v)
static HMODULE MODULEINFO DWORD cb
static UNICODE_STRING value_str
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
struct nsCycleCollectionTraversalCallback nsCycleCollectionTraversalCallback
#define NS_SUCCEEDED(res)
HRESULT return_nsstr(nsresult, nsAString *, BSTR *) DECLSPEC_HIDDEN
BSTR WINAPI SysAllocString(LPCOLESTR str)
#define IsEqualGUID(rguid1, rguid2)
IHTMLTextAreaElement IHTMLTextAreaElement_iface
nsIDOMHTMLTextAreaElement * nstextarea
#define CONTAINING_RECORD(address, type, field)
_In_ DWORD _Out_ _In_ WORD wFlags