ReactOS  0.4.14-dev-77-gd9e7c48
htmltextcont.c File Reference
#include "mshtml_private.h"
Include dependency graph for htmltextcont.c:

Go to the source code of this file.

Functions

static HTMLTextContainerimpl_from_IHTMLTextContainer (IHTMLTextContainer *iface)
 
static HRESULT WINAPI HTMLTextContainer_QueryInterface (IHTMLTextContainer *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLTextContainer_AddRef (IHTMLTextContainer *iface)
 
static ULONG WINAPI HTMLTextContainer_Release (IHTMLTextContainer *iface)
 
static HRESULT WINAPI HTMLTextContainer_GetTypeInfoCount (IHTMLTextContainer *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLTextContainer_GetTypeInfo (IHTMLTextContainer *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLTextContainer_GetIDsOfNames (IHTMLTextContainer *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLTextContainer_Invoke (IHTMLTextContainer *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLTextContainer_createControlRange (IHTMLTextContainer *iface, IDispatch **range)
 
static HRESULT WINAPI HTMLTextContainer_get_scrollHeight (IHTMLTextContainer *iface, LONG *p)
 
static HRESULT WINAPI HTMLTextContainer_get_scrollWidth (IHTMLTextContainer *iface, LONG *p)
 
static HRESULT WINAPI HTMLTextContainer_put_scrollTop (IHTMLTextContainer *iface, LONG v)
 
static HRESULT WINAPI HTMLTextContainer_get_scrollTop (IHTMLTextContainer *iface, LONG *p)
 
static HRESULT WINAPI HTMLTextContainer_put_scrollLeft (IHTMLTextContainer *iface, LONG v)
 
static HRESULT WINAPI HTMLTextContainer_get_scrollLeft (IHTMLTextContainer *iface, LONG *p)
 
static HRESULT WINAPI HTMLTextContainer_put_onscroll (IHTMLTextContainer *iface, VARIANT v)
 
static HRESULT WINAPI HTMLTextContainer_get_onscroll (IHTMLTextContainer *iface, VARIANT *p)
 
void HTMLTextContainer_Init (HTMLTextContainer *This, HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, dispex_static_data_t *dispex_data)
 

Variables

static const IHTMLTextContainerVtbl HTMLTextContainerVtbl
 

Function Documentation

◆ HTMLTextContainer_AddRef()

static ULONG WINAPI HTMLTextContainer_AddRef ( IHTMLTextContainer *  iface)
static

Definition at line 33 of file htmltextcont.c.

34 {
36  return IHTMLElement_AddRef(&This->element.IHTMLElement_iface);
37 }
static HTMLTextContainer * impl_from_IHTMLTextContainer(IHTMLTextContainer *iface)
Definition: htmltextcont.c:21

◆ HTMLTextContainer_createControlRange()

static HRESULT WINAPI HTMLTextContainer_createControlRange ( IHTMLTextContainer *  iface,
IDispatch **  range 
)
static

Definition at line 77 of file htmltextcont.c.

79 {
81  FIXME("(%p)->(%p)\n", This, range);
82  return E_NOTIMPL;
83 }
static HTMLTextContainer * impl_from_IHTMLTextContainer(IHTMLTextContainer *iface)
Definition: htmltextcont.c:21
#define FIXME(fmt,...)
Definition: debug.h:110
GLenum GLint * range
Definition: glext.h:7539
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLTextContainer_get_onscroll()

static HRESULT WINAPI HTMLTextContainer_get_onscroll ( IHTMLTextContainer *  iface,
VARIANT p 
)
static

Definition at line 146 of file htmltextcont.c.

147 {
149  FIXME("(%p)->(%p)\n", This, p);
150  return E_NOTIMPL;
151 }
static HTMLTextContainer * impl_from_IHTMLTextContainer(IHTMLTextContainer *iface)
Definition: htmltextcont.c:21
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLTextContainer_get_scrollHeight()

static HRESULT WINAPI HTMLTextContainer_get_scrollHeight ( IHTMLTextContainer *  iface,
LONG p 
)
static

Definition at line 85 of file htmltextcont.c.

86 {
88 
89  TRACE("(%p)->(%p)\n", This, p);
90 
91  return IHTMLElement2_get_scrollHeight(&This->element.IHTMLElement2_iface, p);
92 }
static HTMLTextContainer * impl_from_IHTMLTextContainer(IHTMLTextContainer *iface)
Definition: htmltextcont.c:21
#define TRACE(s)
Definition: solgame.cpp:4
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLTextContainer_get_scrollLeft()

static HRESULT WINAPI HTMLTextContainer_get_scrollLeft ( IHTMLTextContainer *  iface,
LONG p 
)
static

Definition at line 130 of file htmltextcont.c.

131 {
133 
134  TRACE("(%p)->(%p)\n", This, p);
135 
136  return IHTMLElement2_get_scrollLeft(&This->element.IHTMLElement2_iface, p);
137 }
static HTMLTextContainer * impl_from_IHTMLTextContainer(IHTMLTextContainer *iface)
Definition: htmltextcont.c:21
#define TRACE(s)
Definition: solgame.cpp:4
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLTextContainer_get_scrollTop()

static HRESULT WINAPI HTMLTextContainer_get_scrollTop ( IHTMLTextContainer *  iface,
LONG p 
)
static

Definition at line 112 of file htmltextcont.c.

113 {
115 
116  TRACE("(%p)->(%p)\n", This, p);
117 
118  return IHTMLElement2_get_scrollTop(&This->element.IHTMLElement2_iface, p);
119 }
static HTMLTextContainer * impl_from_IHTMLTextContainer(IHTMLTextContainer *iface)
Definition: htmltextcont.c:21
#define TRACE(s)
Definition: solgame.cpp:4
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLTextContainer_get_scrollWidth()

static HRESULT WINAPI HTMLTextContainer_get_scrollWidth ( IHTMLTextContainer *  iface,
LONG p 
)
static

Definition at line 94 of file htmltextcont.c.

95 {
97 
98  TRACE("(%p)->(%p)\n", This, p);
99 
100  return IHTMLElement2_get_scrollWidth(&This->element.IHTMLElement2_iface, p);
101 }
static HTMLTextContainer * impl_from_IHTMLTextContainer(IHTMLTextContainer *iface)
Definition: htmltextcont.c:21
#define TRACE(s)
Definition: solgame.cpp:4
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLTextContainer_GetIDsOfNames()

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

Definition at line 59 of file htmltextcont.c.

62 {
64  return IDispatchEx_GetIDsOfNames(&This->element.node.event_target.dispex.IDispatchEx_iface, riid, rgszNames,
65  cNames, lcid, rgDispId);
66 }
static HTMLTextContainer * impl_from_IHTMLTextContainer(IHTMLTextContainer *iface)
Definition: htmltextcont.c:21
REFIID riid
Definition: precomp.h:44

◆ HTMLTextContainer_GetTypeInfo()

static HRESULT WINAPI HTMLTextContainer_GetTypeInfo ( IHTMLTextContainer *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 51 of file htmltextcont.c.

53 {
55  return IDispatchEx_GetTypeInfo(&This->element.node.event_target.dispex.IDispatchEx_iface, iTInfo, lcid,
56  ppTInfo);
57 }
static HTMLTextContainer * impl_from_IHTMLTextContainer(IHTMLTextContainer *iface)
Definition: htmltextcont.c:21

◆ HTMLTextContainer_GetTypeInfoCount()

static HRESULT WINAPI HTMLTextContainer_GetTypeInfoCount ( IHTMLTextContainer *  iface,
UINT pctinfo 
)
static

Definition at line 45 of file htmltextcont.c.

46 {
48  return IDispatchEx_GetTypeInfoCount(&This->element.node.event_target.dispex.IDispatchEx_iface, pctinfo);
49 }
static HTMLTextContainer * impl_from_IHTMLTextContainer(IHTMLTextContainer *iface)
Definition: htmltextcont.c:21

◆ HTMLTextContainer_Init()

void HTMLTextContainer_Init ( HTMLTextContainer This,
HTMLDocumentNode doc,
nsIDOMHTMLElement nselem,
dispex_static_data_t dispex_data 
)

Definition at line 172 of file htmltextcont.c.

174 {
175  This->IHTMLTextContainer_iface.lpVtbl = &HTMLTextContainerVtbl;
176 
177  HTMLElement_Init(&This->element, doc, nselem, dispex_data);
178 }
static const IHTMLTextContainerVtbl HTMLTextContainerVtbl
Definition: htmltextcont.c:153
void HTMLElement_Init(HTMLElement *This, HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, dispex_static_data_t *dispex_data)
Definition: htmlelem.c:4008

Referenced by HTMLBodyElement_Create().

◆ HTMLTextContainer_Invoke()

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

Definition at line 68 of file htmltextcont.c.

71 {
73  return IDispatchEx_Invoke(&This->element.node.event_target.dispex.IDispatchEx_iface, dispIdMember, riid,
74  lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
75 }
static HTMLTextContainer * impl_from_IHTMLTextContainer(IHTMLTextContainer *iface)
Definition: htmltextcont.c:21
REFIID riid
Definition: precomp.h:44
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:519

◆ HTMLTextContainer_put_onscroll()

static HRESULT WINAPI HTMLTextContainer_put_onscroll ( IHTMLTextContainer *  iface,
VARIANT  v 
)
static

Definition at line 139 of file htmltextcont.c.

140 {
142  FIXME("(%p)->()\n", This);
143  return E_NOTIMPL;
144 }
static HTMLTextContainer * impl_from_IHTMLTextContainer(IHTMLTextContainer *iface)
Definition: htmltextcont.c:21
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLTextContainer_put_scrollLeft()

static HRESULT WINAPI HTMLTextContainer_put_scrollLeft ( IHTMLTextContainer *  iface,
LONG  v 
)
static

Definition at line 121 of file htmltextcont.c.

122 {
124 
125  TRACE("(%p)->(%d)\n", This, v);
126 
127  return IHTMLElement2_put_scrollLeft(&This->element.IHTMLElement2_iface, v);
128 }
static HTMLTextContainer * impl_from_IHTMLTextContainer(IHTMLTextContainer *iface)
Definition: htmltextcont.c:21
#define TRACE(s)
Definition: solgame.cpp:4
const GLdouble * v
Definition: gl.h:2040

◆ HTMLTextContainer_put_scrollTop()

static HRESULT WINAPI HTMLTextContainer_put_scrollTop ( IHTMLTextContainer *  iface,
LONG  v 
)
static

Definition at line 103 of file htmltextcont.c.

104 {
106 
107  TRACE("(%p)->(%d)\n", This, v);
108 
109  return IHTMLElement2_put_scrollTop(&This->element.IHTMLElement2_iface, v);
110 }
static HTMLTextContainer * impl_from_IHTMLTextContainer(IHTMLTextContainer *iface)
Definition: htmltextcont.c:21
#define TRACE(s)
Definition: solgame.cpp:4
const GLdouble * v
Definition: gl.h:2040

◆ HTMLTextContainer_QueryInterface()

static HRESULT WINAPI HTMLTextContainer_QueryInterface ( IHTMLTextContainer *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 26 of file htmltextcont.c.

28 {
30  return IHTMLElement_QueryInterface(&This->element.IHTMLElement_iface, riid, ppv);
31 }
static HTMLTextContainer * impl_from_IHTMLTextContainer(IHTMLTextContainer *iface)
Definition: htmltextcont.c:21
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39

◆ HTMLTextContainer_Release()

static ULONG WINAPI HTMLTextContainer_Release ( IHTMLTextContainer *  iface)
static

Definition at line 39 of file htmltextcont.c.

40 {
42  return IHTMLElement_Release(&This->element.IHTMLElement_iface);
43 }
static HTMLTextContainer * impl_from_IHTMLTextContainer(IHTMLTextContainer *iface)
Definition: htmltextcont.c:21

◆ impl_from_IHTMLTextContainer()

static HTMLTextContainer* impl_from_IHTMLTextContainer ( IHTMLTextContainer *  iface)
inlinestatic

Variable Documentation

◆ HTMLTextContainerVtbl

const IHTMLTextContainerVtbl HTMLTextContainerVtbl
static
Initial value:
= {
}
static HRESULT WINAPI HTMLTextContainer_QueryInterface(IHTMLTextContainer *iface, REFIID riid, void **ppv)
Definition: htmltextcont.c:26
static HRESULT WINAPI HTMLTextContainer_get_scrollHeight(IHTMLTextContainer *iface, LONG *p)
Definition: htmltextcont.c:85
static HRESULT WINAPI HTMLTextContainer_put_scrollTop(IHTMLTextContainer *iface, LONG v)
Definition: htmltextcont.c:103
static HRESULT WINAPI HTMLTextContainer_get_scrollLeft(IHTMLTextContainer *iface, LONG *p)
Definition: htmltextcont.c:130
static HRESULT WINAPI HTMLTextContainer_put_scrollLeft(IHTMLTextContainer *iface, LONG v)
Definition: htmltextcont.c:121
static ULONG WINAPI HTMLTextContainer_AddRef(IHTMLTextContainer *iface)
Definition: htmltextcont.c:33
static HRESULT WINAPI HTMLTextContainer_GetTypeInfoCount(IHTMLTextContainer *iface, UINT *pctinfo)
Definition: htmltextcont.c:45
static ULONG WINAPI HTMLTextContainer_Release(IHTMLTextContainer *iface)
Definition: htmltextcont.c:39
static HRESULT WINAPI HTMLTextContainer_createControlRange(IHTMLTextContainer *iface, IDispatch **range)
Definition: htmltextcont.c:77
static HRESULT WINAPI HTMLTextContainer_GetIDsOfNames(IHTMLTextContainer *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmltextcont.c:59
static HRESULT WINAPI HTMLTextContainer_Invoke(IHTMLTextContainer *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmltextcont.c:68
static HRESULT WINAPI HTMLTextContainer_get_onscroll(IHTMLTextContainer *iface, VARIANT *p)
Definition: htmltextcont.c:146
static HRESULT WINAPI HTMLTextContainer_get_scrollTop(IHTMLTextContainer *iface, LONG *p)
Definition: htmltextcont.c:112
static HRESULT WINAPI HTMLTextContainer_GetTypeInfo(IHTMLTextContainer *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmltextcont.c:51
static HRESULT WINAPI HTMLTextContainer_put_onscroll(IHTMLTextContainer *iface, VARIANT v)
Definition: htmltextcont.c:139
static HRESULT WINAPI HTMLTextContainer_get_scrollWidth(IHTMLTextContainer *iface, LONG *p)
Definition: htmltextcont.c:94

Definition at line 153 of file htmltextcont.c.

Referenced by HTMLTextContainer_Init().