Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
8d78c721
Commit
8d78c721
authored
Dec 06, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 07, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Use an iface instead of a vtbl pointer in HTMLTextAreaElement.
parent
5a506d70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
45 deletions
+44
-45
htmltextarea.c
dlls/mshtml/htmltextarea.c
+44
-45
No files found.
dlls/mshtml/htmltextarea.c
View file @
8d78c721
...
@@ -34,47 +34,48 @@ WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
...
@@ -34,47 +34,48 @@ WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
typedef
struct
{
typedef
struct
{
HTMLElement
element
;
HTMLElement
element
;
const
IHTMLTextAreaElementVtbl
*
lpHTMLTextAreaElementVtbl
;
IHTMLTextAreaElement
IHTMLTextAreaElement_iface
;
nsIDOMHTMLTextAreaElement
*
nstextarea
;
nsIDOMHTMLTextAreaElement
*
nstextarea
;
}
HTMLTextAreaElement
;
}
HTMLTextAreaElement
;
#define HTMLTXTAREA(x) ((IHTMLTextAreaElement*) &(x)->lpHTMLTextAreaElementVtbl)
static
inline
HTMLTextAreaElement
*
impl_from_IHTMLTextAreaElement
(
IHTMLTextAreaElement
*
iface
)
{
#define HTMLTXTAREA_THIS(iface) DEFINE_THIS(HTMLTextAreaElement, HTMLTextAreaElement, iface)
return
CONTAINING_RECORD
(
iface
,
HTMLTextAreaElement
,
IHTMLTextAreaElement_iface
);
}
static
HRESULT
WINAPI
HTMLTextAreaElement_QueryInterface
(
IHTMLTextAreaElement
*
iface
,
static
HRESULT
WINAPI
HTMLTextAreaElement_QueryInterface
(
IHTMLTextAreaElement
*
iface
,
REFIID
riid
,
void
**
ppv
)
REFIID
riid
,
void
**
ppv
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
return
IHTMLDOMNode_QueryInterface
(
HTMLDOMNODE
(
&
This
->
element
.
node
),
riid
,
ppv
);
return
IHTMLDOMNode_QueryInterface
(
HTMLDOMNODE
(
&
This
->
element
.
node
),
riid
,
ppv
);
}
}
static
ULONG
WINAPI
HTMLTextAreaElement_AddRef
(
IHTMLTextAreaElement
*
iface
)
static
ULONG
WINAPI
HTMLTextAreaElement_AddRef
(
IHTMLTextAreaElement
*
iface
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
return
IHTMLDOMNode_AddRef
(
HTMLDOMNODE
(
&
This
->
element
.
node
));
return
IHTMLDOMNode_AddRef
(
HTMLDOMNODE
(
&
This
->
element
.
node
));
}
}
static
ULONG
WINAPI
HTMLTextAreaElement_Release
(
IHTMLTextAreaElement
*
iface
)
static
ULONG
WINAPI
HTMLTextAreaElement_Release
(
IHTMLTextAreaElement
*
iface
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
return
IHTMLDOMNode_Release
(
HTMLDOMNODE
(
&
This
->
element
.
node
));
return
IHTMLDOMNode_Release
(
HTMLDOMNODE
(
&
This
->
element
.
node
));
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_GetTypeInfoCount
(
IHTMLTextAreaElement
*
iface
,
UINT
*
pctinfo
)
static
HRESULT
WINAPI
HTMLTextAreaElement_GetTypeInfoCount
(
IHTMLTextAreaElement
*
iface
,
UINT
*
pctinfo
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
return
IDispatchEx_GetTypeInfoCount
(
DISPATCHEX
(
&
This
->
element
.
node
.
dispex
),
pctinfo
);
return
IDispatchEx_GetTypeInfoCount
(
DISPATCHEX
(
&
This
->
element
.
node
.
dispex
),
pctinfo
);
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_GetTypeInfo
(
IHTMLTextAreaElement
*
iface
,
UINT
iTInfo
,
static
HRESULT
WINAPI
HTMLTextAreaElement_GetTypeInfo
(
IHTMLTextAreaElement
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
return
IDispatchEx_GetTypeInfo
(
DISPATCHEX
(
&
This
->
element
.
node
.
dispex
),
iTInfo
,
lcid
,
ppTInfo
);
return
IDispatchEx_GetTypeInfo
(
DISPATCHEX
(
&
This
->
element
.
node
.
dispex
),
iTInfo
,
lcid
,
ppTInfo
);
}
}
...
@@ -82,7 +83,7 @@ static HRESULT WINAPI HTMLTextAreaElement_GetIDsOfNames(IHTMLTextAreaElement *if
...
@@ -82,7 +83,7 @@ static HRESULT WINAPI HTMLTextAreaElement_GetIDsOfNames(IHTMLTextAreaElement *if
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
LCID
lcid
,
DISPID
*
rgDispId
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
return
IDispatchEx_GetIDsOfNames
(
DISPATCHEX
(
&
This
->
element
.
node
.
dispex
),
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
return
IDispatchEx_GetIDsOfNames
(
DISPATCHEX
(
&
This
->
element
.
node
.
dispex
),
riid
,
rgszNames
,
cNames
,
lcid
,
rgDispId
);
}
}
...
@@ -90,7 +91,7 @@ static HRESULT WINAPI HTMLTextAreaElement_Invoke(IHTMLTextAreaElement *iface, DI
...
@@ -90,7 +91,7 @@ static HRESULT WINAPI HTMLTextAreaElement_Invoke(IHTMLTextAreaElement *iface, DI
REFIID
riid
,
LCID
lcid
,
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
REFIID
riid
,
LCID
lcid
,
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
return
IDispatchEx_Invoke
(
DISPATCHEX
(
&
This
->
element
.
node
.
dispex
),
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
return
IDispatchEx_Invoke
(
DISPATCHEX
(
&
This
->
element
.
node
.
dispex
),
dispIdMember
,
riid
,
lcid
,
wFlags
,
pDispParams
,
pVarResult
,
pExcepInfo
,
puArgErr
);
pVarResult
,
pExcepInfo
,
puArgErr
);
}
}
...
@@ -99,7 +100,7 @@ static HRESULT WINAPI HTMLTextAreaElement_get_type(IHTMLTextAreaElement *iface,
...
@@ -99,7 +100,7 @@ static HRESULT WINAPI HTMLTextAreaElement_get_type(IHTMLTextAreaElement *iface,
{
{
static
const
WCHAR
textareaW
[]
=
{
't'
,
'e'
,
'x'
,
't'
,
'a'
,
'r'
,
'e'
,
'a'
,
0
};
static
const
WCHAR
textareaW
[]
=
{
't'
,
'e'
,
'x'
,
't'
,
'a'
,
'r'
,
'e'
,
'a'
,
0
};
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
@@ -111,7 +112,7 @@ static HRESULT WINAPI HTMLTextAreaElement_get_type(IHTMLTextAreaElement *iface,
...
@@ -111,7 +112,7 @@ static HRESULT WINAPI HTMLTextAreaElement_get_type(IHTMLTextAreaElement *iface,
static
HRESULT
WINAPI
HTMLTextAreaElement_put_value
(
IHTMLTextAreaElement
*
iface
,
BSTR
v
)
static
HRESULT
WINAPI
HTMLTextAreaElement_put_value
(
IHTMLTextAreaElement
*
iface
,
BSTR
v
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
nsAString
value_str
;
nsAString
value_str
;
nsresult
nsres
;
nsresult
nsres
;
...
@@ -130,7 +131,7 @@ static HRESULT WINAPI HTMLTextAreaElement_put_value(IHTMLTextAreaElement *iface,
...
@@ -130,7 +131,7 @@ static HRESULT WINAPI HTMLTextAreaElement_put_value(IHTMLTextAreaElement *iface,
static
HRESULT
WINAPI
HTMLTextAreaElement_get_value
(
IHTMLTextAreaElement
*
iface
,
BSTR
*
p
)
static
HRESULT
WINAPI
HTMLTextAreaElement_get_value
(
IHTMLTextAreaElement
*
iface
,
BSTR
*
p
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
nsAString
value_str
;
nsAString
value_str
;
const
PRUnichar
*
value
;
const
PRUnichar
*
value
;
nsresult
nsres
;
nsresult
nsres
;
...
@@ -155,14 +156,14 @@ static HRESULT WINAPI HTMLTextAreaElement_get_value(IHTMLTextAreaElement *iface,
...
@@ -155,14 +156,14 @@ static HRESULT WINAPI HTMLTextAreaElement_get_value(IHTMLTextAreaElement *iface,
static
HRESULT
WINAPI
HTMLTextAreaElement_put_name
(
IHTMLTextAreaElement
*
iface
,
BSTR
v
)
static
HRESULT
WINAPI
HTMLTextAreaElement_put_name
(
IHTMLTextAreaElement
*
iface
,
BSTR
v
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_get_name
(
IHTMLTextAreaElement
*
iface
,
BSTR
*
p
)
static
HRESULT
WINAPI
HTMLTextAreaElement_get_name
(
IHTMLTextAreaElement
*
iface
,
BSTR
*
p
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
nsAString
name_str
;
nsAString
name_str
;
const
PRUnichar
*
name
;
const
PRUnichar
*
name
;
nsresult
nsres
;
nsresult
nsres
;
...
@@ -187,91 +188,91 @@ static HRESULT WINAPI HTMLTextAreaElement_get_name(IHTMLTextAreaElement *iface,
...
@@ -187,91 +188,91 @@ static HRESULT WINAPI HTMLTextAreaElement_get_name(IHTMLTextAreaElement *iface,
static
HRESULT
WINAPI
HTMLTextAreaElement_put_status
(
IHTMLTextAreaElement
*
iface
,
VARIANT
v
)
static
HRESULT
WINAPI
HTMLTextAreaElement_put_status
(
IHTMLTextAreaElement
*
iface
,
VARIANT
v
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_get_status
(
IHTMLTextAreaElement
*
iface
,
VARIANT
*
p
)
static
HRESULT
WINAPI
HTMLTextAreaElement_get_status
(
IHTMLTextAreaElement
*
iface
,
VARIANT
*
p
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_put_disabled
(
IHTMLTextAreaElement
*
iface
,
VARIANT_BOOL
v
)
static
HRESULT
WINAPI
HTMLTextAreaElement_put_disabled
(
IHTMLTextAreaElement
*
iface
,
VARIANT_BOOL
v
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->(%x)
\n
"
,
This
,
v
);
FIXME
(
"(%p)->(%x)
\n
"
,
This
,
v
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_get_disabled
(
IHTMLTextAreaElement
*
iface
,
VARIANT_BOOL
*
p
)
static
HRESULT
WINAPI
HTMLTextAreaElement_get_disabled
(
IHTMLTextAreaElement
*
iface
,
VARIANT_BOOL
*
p
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_get_form
(
IHTMLTextAreaElement
*
iface
,
IHTMLFormElement
**
p
)
static
HRESULT
WINAPI
HTMLTextAreaElement_get_form
(
IHTMLTextAreaElement
*
iface
,
IHTMLFormElement
**
p
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_put_defaultValue
(
IHTMLTextAreaElement
*
iface
,
BSTR
v
)
static
HRESULT
WINAPI
HTMLTextAreaElement_put_defaultValue
(
IHTMLTextAreaElement
*
iface
,
BSTR
v
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_get_defaultValue
(
IHTMLTextAreaElement
*
iface
,
BSTR
*
p
)
static
HRESULT
WINAPI
HTMLTextAreaElement_get_defaultValue
(
IHTMLTextAreaElement
*
iface
,
BSTR
*
p
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_select
(
IHTMLTextAreaElement
*
iface
)
static
HRESULT
WINAPI
HTMLTextAreaElement_select
(
IHTMLTextAreaElement
*
iface
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)
\n
"
,
This
);
FIXME
(
"(%p)
\n
"
,
This
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_put_onchange
(
IHTMLTextAreaElement
*
iface
,
VARIANT
v
)
static
HRESULT
WINAPI
HTMLTextAreaElement_put_onchange
(
IHTMLTextAreaElement
*
iface
,
VARIANT
v
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_get_onchange
(
IHTMLTextAreaElement
*
iface
,
VARIANT
*
p
)
static
HRESULT
WINAPI
HTMLTextAreaElement_get_onchange
(
IHTMLTextAreaElement
*
iface
,
VARIANT
*
p
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_put_onselect
(
IHTMLTextAreaElement
*
iface
,
VARIANT
v
)
static
HRESULT
WINAPI
HTMLTextAreaElement_put_onselect
(
IHTMLTextAreaElement
*
iface
,
VARIANT
v
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->()
\n
"
,
This
);
FIXME
(
"(%p)->()
\n
"
,
This
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_get_onselect
(
IHTMLTextAreaElement
*
iface
,
VARIANT
*
p
)
static
HRESULT
WINAPI
HTMLTextAreaElement_get_onselect
(
IHTMLTextAreaElement
*
iface
,
VARIANT
*
p
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_put_readOnly
(
IHTMLTextAreaElement
*
iface
,
VARIANT_BOOL
v
)
static
HRESULT
WINAPI
HTMLTextAreaElement_put_readOnly
(
IHTMLTextAreaElement
*
iface
,
VARIANT_BOOL
v
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
nsresult
nsres
;
nsresult
nsres
;
TRACE
(
"(%p)->(%x)
\n
"
,
This
,
v
);
TRACE
(
"(%p)->(%x)
\n
"
,
This
,
v
);
...
@@ -287,7 +288,7 @@ static HRESULT WINAPI HTMLTextAreaElement_put_readOnly(IHTMLTextAreaElement *ifa
...
@@ -287,7 +288,7 @@ static HRESULT WINAPI HTMLTextAreaElement_put_readOnly(IHTMLTextAreaElement *ifa
static
HRESULT
WINAPI
HTMLTextAreaElement_get_readOnly
(
IHTMLTextAreaElement
*
iface
,
VARIANT_BOOL
*
p
)
static
HRESULT
WINAPI
HTMLTextAreaElement_get_readOnly
(
IHTMLTextAreaElement
*
iface
,
VARIANT_BOOL
*
p
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
PRBool
b
;
PRBool
b
;
nsresult
nsres
;
nsresult
nsres
;
...
@@ -305,42 +306,42 @@ static HRESULT WINAPI HTMLTextAreaElement_get_readOnly(IHTMLTextAreaElement *ifa
...
@@ -305,42 +306,42 @@ static HRESULT WINAPI HTMLTextAreaElement_get_readOnly(IHTMLTextAreaElement *ifa
static
HRESULT
WINAPI
HTMLTextAreaElement_put_rows
(
IHTMLTextAreaElement
*
iface
,
LONG
v
)
static
HRESULT
WINAPI
HTMLTextAreaElement_put_rows
(
IHTMLTextAreaElement
*
iface
,
LONG
v
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->(%d)
\n
"
,
This
,
v
);
FIXME
(
"(%p)->(%d)
\n
"
,
This
,
v
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_get_rows
(
IHTMLTextAreaElement
*
iface
,
LONG
*
p
)
static
HRESULT
WINAPI
HTMLTextAreaElement_get_rows
(
IHTMLTextAreaElement
*
iface
,
LONG
*
p
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_put_cols
(
IHTMLTextAreaElement
*
iface
,
LONG
v
)
static
HRESULT
WINAPI
HTMLTextAreaElement_put_cols
(
IHTMLTextAreaElement
*
iface
,
LONG
v
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->(%d)
\n
"
,
This
,
v
);
FIXME
(
"(%p)->(%d)
\n
"
,
This
,
v
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_get_cols
(
IHTMLTextAreaElement
*
iface
,
LONG
*
p
)
static
HRESULT
WINAPI
HTMLTextAreaElement_get_cols
(
IHTMLTextAreaElement
*
iface
,
LONG
*
p
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_put_wrap
(
IHTMLTextAreaElement
*
iface
,
BSTR
v
)
static
HRESULT
WINAPI
HTMLTextAreaElement_put_wrap
(
IHTMLTextAreaElement
*
iface
,
BSTR
v
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
v
));
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
HTMLTextAreaElement_get_wrap
(
IHTMLTextAreaElement
*
iface
,
BSTR
*
p
)
static
HRESULT
WINAPI
HTMLTextAreaElement_get_wrap
(
IHTMLTextAreaElement
*
iface
,
BSTR
*
p
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
...
@@ -348,13 +349,11 @@ static HRESULT WINAPI HTMLTextAreaElement_get_wrap(IHTMLTextAreaElement *iface,
...
@@ -348,13 +349,11 @@ static HRESULT WINAPI HTMLTextAreaElement_get_wrap(IHTMLTextAreaElement *iface,
static
HRESULT
WINAPI
HTMLTextAreaElement_createTextRange
(
IHTMLTextAreaElement
*
iface
,
static
HRESULT
WINAPI
HTMLTextAreaElement_createTextRange
(
IHTMLTextAreaElement
*
iface
,
IHTMLTxtRange
**
range
)
IHTMLTxtRange
**
range
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
impl_from_IHTMLTextAreaElement
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
range
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
range
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
#undef HTMLTXTAREA_THIS
static
const
IHTMLTextAreaElementVtbl
HTMLTextAreaElementVtbl
=
{
static
const
IHTMLTextAreaElementVtbl
HTMLTextAreaElementVtbl
=
{
HTMLTextAreaElement_QueryInterface
,
HTMLTextAreaElement_QueryInterface
,
HTMLTextAreaElement_AddRef
,
HTMLTextAreaElement_AddRef
,
...
@@ -401,13 +400,13 @@ static HRESULT HTMLTextAreaElement_QI(HTMLDOMNode *iface, REFIID riid, void **pp
...
@@ -401,13 +400,13 @@ static HRESULT HTMLTextAreaElement_QI(HTMLDOMNode *iface, REFIID riid, void **pp
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
))
{
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
))
{
TRACE
(
"(%p)->(IID_IUnknown %p)
\n
"
,
This
,
ppv
);
TRACE
(
"(%p)->(IID_IUnknown %p)
\n
"
,
This
,
ppv
);
*
ppv
=
HTMLTXTAREA
(
This
)
;
*
ppv
=
&
This
->
IHTMLTextAreaElement_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IDispatch
,
riid
))
{
}
else
if
(
IsEqualGUID
(
&
IID_IDispatch
,
riid
))
{
TRACE
(
"(%p)->(IID_IDispatch %p)
\n
"
,
This
,
ppv
);
TRACE
(
"(%p)->(IID_IDispatch %p)
\n
"
,
This
,
ppv
);
*
ppv
=
HTMLTXTAREA
(
This
)
;
*
ppv
=
&
This
->
IHTMLTextAreaElement_iface
;
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLTextAreaElement
,
riid
))
{
}
else
if
(
IsEqualGUID
(
&
IID_IHTMLTextAreaElement
,
riid
))
{
TRACE
(
"(%p)->(IID_IHTMLTextAreaElement %p)
\n
"
,
This
,
ppv
);
TRACE
(
"(%p)->(IID_IHTMLTextAreaElement %p)
\n
"
,
This
,
ppv
);
*
ppv
=
HTMLTXTAREA
(
This
)
;
*
ppv
=
&
This
->
IHTMLTextAreaElement_iface
;
}
}
if
(
*
ppv
)
{
if
(
*
ppv
)
{
...
@@ -430,13 +429,13 @@ static void HTMLTextAreaElement_destructor(HTMLDOMNode *iface)
...
@@ -430,13 +429,13 @@ static void HTMLTextAreaElement_destructor(HTMLDOMNode *iface)
static
HRESULT
HTMLTextAreaElementImpl_put_disabled
(
HTMLDOMNode
*
iface
,
VARIANT_BOOL
v
)
static
HRESULT
HTMLTextAreaElementImpl_put_disabled
(
HTMLDOMNode
*
iface
,
VARIANT_BOOL
v
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_NODE_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_NODE_THIS
(
iface
);
return
IHTMLTextAreaElement_put_disabled
(
HTMLTXTAREA
(
This
)
,
v
);
return
IHTMLTextAreaElement_put_disabled
(
&
This
->
IHTMLTextAreaElement_iface
,
v
);
}
}
static
HRESULT
HTMLTextAreaElementImpl_get_disabled
(
HTMLDOMNode
*
iface
,
VARIANT_BOOL
*
p
)
static
HRESULT
HTMLTextAreaElementImpl_get_disabled
(
HTMLDOMNode
*
iface
,
VARIANT_BOOL
*
p
)
{
{
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_NODE_THIS
(
iface
);
HTMLTextAreaElement
*
This
=
HTMLTXTAREA_NODE_THIS
(
iface
);
return
IHTMLTextAreaElement_get_disabled
(
HTMLTXTAREA
(
This
)
,
p
);
return
IHTMLTextAreaElement_get_disabled
(
&
This
->
IHTMLTextAreaElement_iface
,
p
);
}
}
#undef HTMLTXTAREA_NODE_THIS
#undef HTMLTXTAREA_NODE_THIS
...
@@ -473,7 +472,7 @@ HRESULT HTMLTextAreaElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nse
...
@@ -473,7 +472,7 @@ HRESULT HTMLTextAreaElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *nse
if
(
!
ret
)
if
(
!
ret
)
return
E_OUTOFMEMORY
;
return
E_OUTOFMEMORY
;
ret
->
lpHTMLTextAreaElement
Vtbl
=
&
HTMLTextAreaElementVtbl
;
ret
->
IHTMLTextAreaElement_iface
.
lp
Vtbl
=
&
HTMLTextAreaElementVtbl
;
ret
->
element
.
node
.
vtbl
=
&
HTMLTextAreaElementImplVtbl
;
ret
->
element
.
node
.
vtbl
=
&
HTMLTextAreaElementImplVtbl
;
nsres
=
nsIDOMHTMLElement_QueryInterface
(
nselem
,
&
IID_nsIDOMHTMLTextAreaElement
,
nsres
=
nsIDOMHTMLElement_QueryInterface
(
nselem
,
&
IID_nsIDOMHTMLTextAreaElement
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment