ReactOS 0.4.15-dev-5669-g09dde2c
selection.c File Reference
#include "mshtml_private.h"
Include dependency graph for selection.c:

Go to the source code of this file.

Classes

struct  HTMLSelectionObject
 

Functions

static HTMLSelectionObjectimpl_from_IHTMLSelectionObject (IHTMLSelectionObject *iface)
 
static HRESULT WINAPI HTMLSelectionObject_QueryInterface (IHTMLSelectionObject *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLSelectionObject_AddRef (IHTMLSelectionObject *iface)
 
static ULONG WINAPI HTMLSelectionObject_Release (IHTMLSelectionObject *iface)
 
static HRESULT WINAPI HTMLSelectionObject_GetTypeInfoCount (IHTMLSelectionObject *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLSelectionObject_GetTypeInfo (IHTMLSelectionObject *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLSelectionObject_GetIDsOfNames (IHTMLSelectionObject *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLSelectionObject_Invoke (IHTMLSelectionObject *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLSelectionObject_createRange (IHTMLSelectionObject *iface, IDispatch **range)
 
static HRESULT WINAPI HTMLSelectionObject_empty (IHTMLSelectionObject *iface)
 
static HRESULT WINAPI HTMLSelectionObject_clear (IHTMLSelectionObject *iface)
 
static HRESULT WINAPI HTMLSelectionObject_get_type (IHTMLSelectionObject *iface, BSTR *p)
 
static HTMLSelectionObjectimpl_from_IHTMLSelectionObject2 (IHTMLSelectionObject2 *iface)
 
static HRESULT WINAPI HTMLSelectionObject2_QueryInterface (IHTMLSelectionObject2 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLSelectionObject2_AddRef (IHTMLSelectionObject2 *iface)
 
static ULONG WINAPI HTMLSelectionObject2_Release (IHTMLSelectionObject2 *iface)
 
static HRESULT WINAPI HTMLSelectionObject2_GetTypeInfoCount (IHTMLSelectionObject2 *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLSelectionObject2_GetTypeInfo (IHTMLSelectionObject2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLSelectionObject2_GetIDsOfNames (IHTMLSelectionObject2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLSelectionObject2_Invoke (IHTMLSelectionObject2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLSelectionObject2_createRangeCollection (IHTMLSelectionObject2 *iface, IDispatch **rangeCollection)
 
static HRESULT WINAPI HTMLSelectionObject2_get_typeDetail (IHTMLSelectionObject2 *iface, BSTR *p)
 
HRESULT HTMLSelectionObject_Create (HTMLDocumentNode *doc, nsISelection *nsselection, IHTMLSelectionObject **ret)
 
void detach_selection (HTMLDocumentNode *This)
 

Variables

static const IHTMLSelectionObjectVtbl HTMLSelectionObjectVtbl
 
static const IHTMLSelectionObject2Vtbl HTMLSelectionObject2Vtbl
 
static const tid_t HTMLSelectionObject_iface_tids []
 
static dispex_static_data_t HTMLSelectionObject_dispex
 

Function Documentation

◆ detach_selection()

void detach_selection ( HTMLDocumentNode This)

Definition at line 347 of file selection.c.

348{
350
351 LIST_FOR_EACH_ENTRY(iter, &This->selection_list, HTMLSelectionObject, entry) {
352 iter->doc = NULL;
353 }
354}
#define NULL
Definition: types.h:112
uint32_t entry
Definition: isohybrid.c:63
#define LIST_FOR_EACH_ENTRY(elem, list, type, field)
Definition: list.h:198
HTMLDocumentNode * doc
Definition: selection.c:29

Referenced by HTMLDocumentNode_destructor().

◆ HTMLSelectionObject2_AddRef()

static ULONG WINAPI HTMLSelectionObject2_AddRef ( IHTMLSelectionObject2 *  iface)
static

Definition at line 239 of file selection.c.

240{
242
243 return IHTMLSelectionObject_AddRef(&This->IHTMLSelectionObject_iface);
244}
static HTMLSelectionObject * impl_from_IHTMLSelectionObject2(IHTMLSelectionObject2 *iface)
Definition: selection.c:227

◆ HTMLSelectionObject2_createRangeCollection()

static HRESULT WINAPI HTMLSelectionObject2_createRangeCollection ( IHTMLSelectionObject2 *  iface,
IDispatch **  rangeCollection 
)
static

Definition at line 287 of file selection.c.

288{
290 FIXME("(%p)->(%p)\n", This, rangeCollection);
291 return E_NOTIMPL;
292}
#define FIXME(fmt,...)
Definition: debug.h:111
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLSelectionObject2_get_typeDetail()

static HRESULT WINAPI HTMLSelectionObject2_get_typeDetail ( IHTMLSelectionObject2 *  iface,
BSTR p 
)
static

Definition at line 294 of file selection.c.

295{
297 FIXME("(%p)->(%p)\n", This, p);
298 return E_NOTIMPL;
299}
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLSelectionObject2_GetIDsOfNames()

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

Definition at line 268 of file selection.c.

270{
272
273 return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames,
274 cNames, lcid, rgDispId);
275}
REFIID riid
Definition: atlbase.h:39

◆ HTMLSelectionObject2_GetTypeInfo()

static HRESULT WINAPI HTMLSelectionObject2_GetTypeInfo ( IHTMLSelectionObject2 *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 260 of file selection.c.

262{
264
265 return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
266}

◆ HTMLSelectionObject2_GetTypeInfoCount()

static HRESULT WINAPI HTMLSelectionObject2_GetTypeInfoCount ( IHTMLSelectionObject2 *  iface,
UINT pctinfo 
)
static

Definition at line 253 of file selection.c.

254{
256
257 return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
258}

◆ HTMLSelectionObject2_Invoke()

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

Definition at line 277 of file selection.c.

280{
282
283 return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid,
284 lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
285}
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:531

◆ HTMLSelectionObject2_QueryInterface()

static HRESULT WINAPI HTMLSelectionObject2_QueryInterface ( IHTMLSelectionObject2 *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 232 of file selection.c.

233{
235
236 return IHTMLSelectionObject_QueryInterface(&This->IHTMLSelectionObject_iface, riid, ppv);
237}
REFIID LPVOID * ppv
Definition: atlbase.h:39

◆ HTMLSelectionObject2_Release()

static ULONG WINAPI HTMLSelectionObject2_Release ( IHTMLSelectionObject2 *  iface)
static

Definition at line 246 of file selection.c.

247{
249
250 return IHTMLSelectionObject_Release(&This->IHTMLSelectionObject_iface);
251}

◆ HTMLSelectionObject_AddRef()

static ULONG WINAPI HTMLSelectionObject_AddRef ( IHTMLSelectionObject *  iface)
static

Definition at line 66 of file selection.c.

67{
70
71 TRACE("(%p) ref=%d\n", This, ref);
72
73 return ref;
74}
#define InterlockedIncrement
Definition: armddk.h:53
static HTMLSelectionObject * impl_from_IHTMLSelectionObject(IHTMLSelectionObject *iface)
Definition: selection.c:34
long LONG
Definition: pedump.c:60
#define TRACE(s)
Definition: solgame.cpp:4
Definition: send.c:48

◆ HTMLSelectionObject_clear()

static HRESULT WINAPI HTMLSelectionObject_clear ( IHTMLSelectionObject *  iface)
static

Definition at line 188 of file selection.c.

189{
191 FIXME("(%p)\n", This);
192 return E_NOTIMPL;
193}

◆ HTMLSelectionObject_Create()

HRESULT HTMLSelectionObject_Create ( HTMLDocumentNode doc,
nsISelection nsselection,
IHTMLSelectionObject **  ret 
)

Definition at line 325 of file selection.c.

326{
328
330 if(!selection)
331 return E_OUTOFMEMORY;
332
333 init_dispex(&selection->dispex, (IUnknown*)&selection->IHTMLSelectionObject_iface, &HTMLSelectionObject_dispex);
334
335 selection->IHTMLSelectionObject_iface.lpVtbl = &HTMLSelectionObjectVtbl;
336 selection->IHTMLSelectionObject2_iface.lpVtbl = &HTMLSelectionObject2Vtbl;
337 selection->ref = 1;
338 selection->nsselection = nsselection; /* We shouldn't call AddRef here */
339
340 selection->doc = doc;
341 list_add_head(&doc->selection_list, &selection->entry);
342
343 *ret = &selection->IHTMLSelectionObject_iface;
344 return S_OK;
345}
static void * heap_alloc(size_t len)
Definition: appwiz.h:65
static void list_add_head(struct list_entry *head, struct list_entry *entry)
Definition: list.h:76
int selection
Definition: ctm.c:92
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define S_OK
Definition: intsafe.h:52
HRESULT init_dispex(jsdisp_t *dispex, script_ctx_t *ctx, const builtin_info_t *builtin_info, jsdisp_t *prototype)
Definition: dispex.c:919
static dispex_static_data_t HTMLSelectionObject_dispex
Definition: selection.c:318
static const IHTMLSelectionObjectVtbl HTMLSelectionObjectVtbl
Definition: selection.c:213
static const IHTMLSelectionObject2Vtbl HTMLSelectionObject2Vtbl
Definition: selection.c:301
struct list selection_list
int ret

Referenced by HTMLDocument_get_selection().

◆ HTMLSelectionObject_createRange()

static HRESULT WINAPI HTMLSelectionObject_createRange ( IHTMLSelectionObject *  iface,
IDispatch **  range 
)
static

Definition at line 131 of file selection.c.

132{
134 IHTMLTxtRange *range_obj = NULL;
135 nsIDOMRange *nsrange = NULL;
137
138 TRACE("(%p)->(%p)\n", This, range);
139
140 if(This->nsselection) {
141 LONG nsrange_cnt = 0;
142 nsresult nsres;
143
144 nsISelection_GetRangeCount(This->nsselection, &nsrange_cnt);
145 if(!nsrange_cnt) {
146 nsIDOMHTMLElement *nsbody = NULL;
147
148 TRACE("nsrange_cnt = 0\n");
149
150 if(!This->doc->nsdoc) {
151 WARN("nsdoc is NULL\n");
152 return E_UNEXPECTED;
153 }
154
155 nsres = nsIDOMHTMLDocument_GetBody(This->doc->nsdoc, &nsbody);
156 if(NS_FAILED(nsres) || !nsbody) {
157 ERR("Could not get body: %08x\n", nsres);
158 return E_FAIL;
159 }
160
161 nsres = nsISelection_Collapse(This->nsselection, (nsIDOMNode*)nsbody, 0);
162 nsIDOMHTMLElement_Release(nsbody);
163 if(NS_FAILED(nsres))
164 ERR("Collapse failed: %08x\n", nsres);
165 }else if(nsrange_cnt > 1) {
166 FIXME("range_cnt = %d\n", nsrange_cnt);
167 }
168
169 nsres = nsISelection_GetRangeAt(This->nsselection, 0, &nsrange);
170 if(NS_FAILED(nsres))
171 ERR("GetRangeAt failed: %08x\n", nsres);
172 }
173
174 hres = HTMLTxtRange_Create(This->doc, nsrange, &range_obj);
175
176 if (nsrange) nsIDOMRange_Release(nsrange);
177 *range = (IDispatch*)range_obj;
178 return hres;
179}
#define WARN(fmt,...)
Definition: debug.h:112
#define ERR(fmt,...)
Definition: debug.h:110
#define E_FAIL
Definition: ddrawi.h:102
GLenum GLint * range
Definition: glext.h:7539
HRESULT hres
Definition: protocol.c:465
HRESULT HTMLTxtRange_Create(HTMLDocumentNode *, nsIDOMRange *, IHTMLTxtRange **) DECLSPEC_HIDDEN
Definition: txtrange.c:1722
#define NS_FAILED(res)
#define E_UNEXPECTED
Definition: winerror.h:2456

◆ HTMLSelectionObject_empty()

static HRESULT WINAPI HTMLSelectionObject_empty ( IHTMLSelectionObject *  iface)
static

Definition at line 181 of file selection.c.

182{
184 FIXME("(%p)\n", This);
185 return E_NOTIMPL;
186}

◆ HTMLSelectionObject_get_type()

static HRESULT WINAPI HTMLSelectionObject_get_type ( IHTMLSelectionObject *  iface,
BSTR p 
)
static

Definition at line 195 of file selection.c.

196{
198 cpp_bool collapsed = TRUE;
199
200 static const WCHAR wszNone[] = {'N','o','n','e',0};
201 static const WCHAR wszText[] = {'T','e','x','t',0};
202
203 TRACE("(%p)->(%p)\n", This, p);
204
205 if(This->nsselection)
206 nsISelection_GetIsCollapsed(This->nsselection, &collapsed);
207
208 *p = SysAllocString(collapsed ? wszNone : wszText); /* FIXME: control */
209 TRACE("ret %s\n", debugstr_w(*p));
210 return S_OK;
211}
#define TRUE
Definition: types.h:120
unsigned char cpp_bool
Definition: atl.c:38
#define debugstr_w
Definition: kernel32.h:32
BSTR WINAPI SysAllocString(LPCOLESTR str)
Definition: oleaut.c:238
__wchar_t WCHAR
Definition: xmlstorage.h:180

◆ HTMLSelectionObject_GetIDsOfNames()

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

Definition at line 110 of file selection.c.

113{
115
116 return IDispatchEx_GetIDsOfNames(&This->dispex.IDispatchEx_iface, riid, rgszNames,
117 cNames, lcid, rgDispId);
118}

◆ HTMLSelectionObject_GetTypeInfo()

static HRESULT WINAPI HTMLSelectionObject_GetTypeInfo ( IHTMLSelectionObject *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 102 of file selection.c.

104{
106
107 return IDispatchEx_GetTypeInfo(&This->dispex.IDispatchEx_iface, iTInfo, lcid, ppTInfo);
108}

◆ HTMLSelectionObject_GetTypeInfoCount()

static HRESULT WINAPI HTMLSelectionObject_GetTypeInfoCount ( IHTMLSelectionObject *  iface,
UINT pctinfo 
)
static

Definition at line 95 of file selection.c.

96{
98
99 return IDispatchEx_GetTypeInfoCount(&This->dispex.IDispatchEx_iface, pctinfo);
100}

◆ HTMLSelectionObject_Invoke()

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

Definition at line 120 of file selection.c.

123{
125
126
127 return IDispatchEx_Invoke(&This->dispex.IDispatchEx_iface, dispIdMember, riid,
128 lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
129}

◆ HTMLSelectionObject_QueryInterface()

static HRESULT WINAPI HTMLSelectionObject_QueryInterface ( IHTMLSelectionObject *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 39 of file selection.c.

41{
43
44 TRACE("(%p)->(%s %p)\n", This, debugstr_mshtml_guid(riid), ppv);
45
47 *ppv = &This->IHTMLSelectionObject_iface;
48 }else if(IsEqualGUID(&IID_IDispatch, riid)) {
49 *ppv = &This->IHTMLSelectionObject_iface;
50 }else if(IsEqualGUID(&IID_IHTMLSelectionObject, riid)) {
51 *ppv = &This->IHTMLSelectionObject_iface;
52 }else if(IsEqualGUID(&IID_IHTMLSelectionObject2, riid)) {
53 *ppv = &This->IHTMLSelectionObject2_iface;
54 }else if(dispex_query_interface(&This->dispex, riid, ppv)) {
55 return *ppv ? S_OK : E_NOINTERFACE;
56 }else {
57 *ppv = NULL;
58 WARN("(%p)->(%s %p)\n", This, debugstr_guid(riid), ppv);
59 return E_NOINTERFACE;
60 }
61
62 IUnknown_AddRef((IUnknown*)*ppv);
63 return S_OK;
64}
const GUID IID_IUnknown
const char * debugstr_mshtml_guid(const GUID *iid)
Definition: main.c:542
#define debugstr_guid
Definition: kernel32.h:35
BOOL dispex_query_interface(DispatchEx *This, REFIID riid, void **ppv)
Definition: dispex.c:1656
const GUID IID_IDispatch
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
#define E_NOINTERFACE
Definition: winerror.h:2364

◆ HTMLSelectionObject_Release()

static ULONG WINAPI HTMLSelectionObject_Release ( IHTMLSelectionObject *  iface)
static

Definition at line 76 of file selection.c.

77{
80
81 TRACE("(%p) ref=%d\n", This, ref);
82
83 if(!ref) {
84 if(This->nsselection)
85 nsISelection_Release(This->nsselection);
86 if(This->doc)
87 list_remove(&This->entry);
88 release_dispex(&This->dispex);
90 }
91
92 return ref;
93}
static BOOL heap_free(void *mem)
Definition: appwiz.h:75
#define InterlockedDecrement
Definition: armddk.h:52
static void list_remove(struct list_entry *entry)
Definition: list.h:90
void release_dispex(DispatchEx *This)
Definition: dispex.c:1706

◆ impl_from_IHTMLSelectionObject()

◆ impl_from_IHTMLSelectionObject2()

Variable Documentation

◆ HTMLSelectionObject2Vtbl

const IHTMLSelectionObject2Vtbl HTMLSelectionObject2Vtbl
static
Initial value:
= {
}
static HRESULT WINAPI HTMLSelectionObject2_GetIDsOfNames(IHTMLSelectionObject2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: selection.c:268
static HRESULT WINAPI HTMLSelectionObject2_GetTypeInfo(IHTMLSelectionObject2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: selection.c:260
static ULONG WINAPI HTMLSelectionObject2_Release(IHTMLSelectionObject2 *iface)
Definition: selection.c:246
static HRESULT WINAPI HTMLSelectionObject2_GetTypeInfoCount(IHTMLSelectionObject2 *iface, UINT *pctinfo)
Definition: selection.c:253
static ULONG WINAPI HTMLSelectionObject2_AddRef(IHTMLSelectionObject2 *iface)
Definition: selection.c:239
static HRESULT WINAPI HTMLSelectionObject2_get_typeDetail(IHTMLSelectionObject2 *iface, BSTR *p)
Definition: selection.c:294
static HRESULT WINAPI HTMLSelectionObject2_createRangeCollection(IHTMLSelectionObject2 *iface, IDispatch **rangeCollection)
Definition: selection.c:287
static HRESULT WINAPI HTMLSelectionObject2_Invoke(IHTMLSelectionObject2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: selection.c:277
static HRESULT WINAPI HTMLSelectionObject2_QueryInterface(IHTMLSelectionObject2 *iface, REFIID riid, void **ppv)
Definition: selection.c:232

Definition at line 301 of file selection.c.

Referenced by HTMLSelectionObject_Create().

◆ HTMLSelectionObject_dispex

dispex_static_data_t HTMLSelectionObject_dispex
static
Initial value:
= {
IHTMLSelectionObject_tid,
}
static const tid_t HTMLSelectionObject_iface_tids[]
Definition: selection.c:313

Definition at line 318 of file selection.c.

Referenced by HTMLSelectionObject_Create().

◆ HTMLSelectionObject_iface_tids

const tid_t HTMLSelectionObject_iface_tids[]
static
Initial value:
= {
IHTMLSelectionObject_tid,
IHTMLSelectionObject2_tid,
0
}

Definition at line 313 of file selection.c.

◆ HTMLSelectionObjectVtbl

const IHTMLSelectionObjectVtbl HTMLSelectionObjectVtbl
static
Initial value:
= {
}
static HRESULT WINAPI HTMLSelectionObject_GetTypeInfo(IHTMLSelectionObject *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: selection.c:102
static ULONG WINAPI HTMLSelectionObject_AddRef(IHTMLSelectionObject *iface)
Definition: selection.c:66
static ULONG WINAPI HTMLSelectionObject_Release(IHTMLSelectionObject *iface)
Definition: selection.c:76
static HRESULT WINAPI HTMLSelectionObject_GetIDsOfNames(IHTMLSelectionObject *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: selection.c:110
static HRESULT WINAPI HTMLSelectionObject_empty(IHTMLSelectionObject *iface)
Definition: selection.c:181
static HRESULT WINAPI HTMLSelectionObject_GetTypeInfoCount(IHTMLSelectionObject *iface, UINT *pctinfo)
Definition: selection.c:95
static HRESULT WINAPI HTMLSelectionObject_get_type(IHTMLSelectionObject *iface, BSTR *p)
Definition: selection.c:195
static HRESULT WINAPI HTMLSelectionObject_Invoke(IHTMLSelectionObject *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: selection.c:120
static HRESULT WINAPI HTMLSelectionObject_QueryInterface(IHTMLSelectionObject *iface, REFIID riid, void **ppv)
Definition: selection.c:39
static HRESULT WINAPI HTMLSelectionObject_clear(IHTMLSelectionObject *iface)
Definition: selection.c:188
static HRESULT WINAPI HTMLSelectionObject_createRange(IHTMLSelectionObject *iface, IDispatch **range)
Definition: selection.c:131

Definition at line 213 of file selection.c.

Referenced by HTMLSelectionObject_Create().