ReactOS  0.4.13-dev-92-gf251225
htmlarea.c File Reference
#include "mshtml_private.h"
Include dependency graph for htmlarea.c:

Go to the source code of this file.

Classes

struct  HTMLAreaElement
 

Functions

static HTMLAreaElementimpl_from_IHTMLAreaElement (IHTMLAreaElement *iface)
 
static HRESULT WINAPI HTMLAreaElement_QueryInterface (IHTMLAreaElement *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLAreaElement_AddRef (IHTMLAreaElement *iface)
 
static ULONG WINAPI HTMLAreaElement_Release (IHTMLAreaElement *iface)
 
static HRESULT WINAPI HTMLAreaElement_GetTypeInfoCount (IHTMLAreaElement *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLAreaElement_GetTypeInfo (IHTMLAreaElement *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLAreaElement_GetIDsOfNames (IHTMLAreaElement *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLAreaElement_Invoke (IHTMLAreaElement *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLAreaElement_put_shape (IHTMLAreaElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLAreaElement_get_shape (IHTMLAreaElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLAreaElement_put_coords (IHTMLAreaElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLAreaElement_get_coords (IHTMLAreaElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLAreaElement_put_href (IHTMLAreaElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLAreaElement_get_href (IHTMLAreaElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLAreaElement_put_target (IHTMLAreaElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLAreaElement_get_target (IHTMLAreaElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLAreaElement_put_alt (IHTMLAreaElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLAreaElement_get_alt (IHTMLAreaElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLAreaElement_put_noHref (IHTMLAreaElement *iface, VARIANT_BOOL v)
 
static HRESULT WINAPI HTMLAreaElement_get_noHref (IHTMLAreaElement *iface, VARIANT_BOOL *p)
 
static HRESULT WINAPI HTMLAreaElement_put_host (IHTMLAreaElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLAreaElement_get_host (IHTMLAreaElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLAreaElement_put_hostname (IHTMLAreaElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLAreaElement_get_hostname (IHTMLAreaElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLAreaElement_put_pathname (IHTMLAreaElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLAreaElement_get_pathname (IHTMLAreaElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLAreaElement_put_port (IHTMLAreaElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLAreaElement_get_port (IHTMLAreaElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLAreaElement_put_protocol (IHTMLAreaElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLAreaElement_get_protocol (IHTMLAreaElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLAreaElement_put_search (IHTMLAreaElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLAreaElement_get_search (IHTMLAreaElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLAreaElement_put_hash (IHTMLAreaElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLAreaElement_get_hash (IHTMLAreaElement *iface, BSTR *p)
 
static HRESULT WINAPI HTMLAreaElement_put_onblur (IHTMLAreaElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLAreaElement_get_onblur (IHTMLAreaElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLAreaElement_put_onfocus (IHTMLAreaElement *iface, VARIANT v)
 
static HRESULT WINAPI HTMLAreaElement_get_onfocus (IHTMLAreaElement *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLAreaElement_put_tabIndex (IHTMLAreaElement *iface, short v)
 
static HRESULT WINAPI HTMLAreaElement_get_tabIndex (IHTMLAreaElement *iface, short *p)
 
static HRESULT WINAPI HTMLAreaElement_focus (IHTMLAreaElement *iface)
 
static HRESULT WINAPI HTMLAreaElement_blur (IHTMLAreaElement *iface)
 
static HTMLAreaElementimpl_from_HTMLDOMNode (HTMLDOMNode *iface)
 
static HRESULT HTMLAreaElement_QI (HTMLDOMNode *iface, REFIID riid, void **ppv)
 
static HRESULT HTMLAreaElement_handle_event (HTMLDOMNode *iface, DWORD eid, nsIDOMEvent *event, BOOL *prevent_default)
 
HRESULT HTMLAreaElement_Create (HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
 

Variables

static const IHTMLAreaElementVtbl HTMLAreaElementVtbl
 
static const NodeImplVtbl HTMLAreaElementImplVtbl
 
static const tid_t HTMLAreaElement_iface_tids []
 
static dispex_static_data_t HTMLAreaElement_dispex
 

Function Documentation

◆ HTMLAreaElement_AddRef()

static ULONG WINAPI HTMLAreaElement_AddRef ( IHTMLAreaElement *  iface)
static

Definition at line 41 of file htmlarea.c.

42 {
44 
45  return IHTMLDOMNode_AddRef(&This->element.node.IHTMLDOMNode_iface);
46 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29

◆ HTMLAreaElement_blur()

static HRESULT WINAPI HTMLAreaElement_blur ( IHTMLAreaElement *  iface)
static

Definition at line 318 of file htmlarea.c.

319 {
321  FIXME("(%p)\n", This);
322  return E_NOTIMPL;
323 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_Create()

HRESULT HTMLAreaElement_Create ( HTMLDocumentNode doc,
nsIDOMHTMLElement nselem,
HTMLElement **  elem 
)

Definition at line 443 of file htmlarea.c.

444 {
446  nsresult nsres;
447 
448  ret = heap_alloc_zero(sizeof(HTMLAreaElement));
449  if(!ret)
450  return E_OUTOFMEMORY;
451 
452  ret->IHTMLAreaElement_iface.lpVtbl = &HTMLAreaElementVtbl;
453  ret->element.node.vtbl = &HTMLAreaElementImplVtbl;
454 
455  HTMLElement_Init(&ret->element, doc, nselem, &HTMLAreaElement_dispex);
456 
457  nsres = nsIDOMHTMLElement_QueryInterface(nselem, &IID_nsIDOMHTMLAreaElement, (void**)&ret->nsarea);
458  assert(nsres == NS_OK);
459 
460  *elem = &ret->element;
461  return S_OK;
462 }
#define assert(x)
Definition: debug.h:53
static dispex_static_data_t HTMLAreaElement_dispex
Definition: htmlarea.c:436
#define NS_OK
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
static size_t elem
Definition: string.c:68
static const NodeImplVtbl HTMLAreaElementImplVtbl
Definition: htmlarea.c:422
static const IHTMLAreaElementVtbl HTMLAreaElementVtbl
Definition: htmlarea.c:325
int ret
void HTMLElement_Init(HTMLElement *This, HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, dispex_static_data_t *dispex_data)
Definition: htmlelem.c:4008
#define S_OK
Definition: intsafe.h:59
HRESULT nsresult
Definition: nsiface.idl:39

◆ HTMLAreaElement_focus()

static HRESULT WINAPI HTMLAreaElement_focus ( IHTMLAreaElement *  iface)
static

Definition at line 311 of file htmlarea.c.

312 {
314  FIXME("(%p)\n", This);
315  return E_NOTIMPL;
316 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_get_alt()

static HRESULT WINAPI HTMLAreaElement_get_alt ( IHTMLAreaElement *  iface,
BSTR p 
)
static

Definition at line 150 of file htmlarea.c.

151 {
153  FIXME("(%p)->(%p)\n", This, p);
154  return E_NOTIMPL;
155 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAreaElement_get_coords()

static HRESULT WINAPI HTMLAreaElement_get_coords ( IHTMLAreaElement *  iface,
BSTR p 
)
static

Definition at line 108 of file htmlarea.c.

109 {
111  FIXME("(%p)->(%p)\n", This, p);
112  return E_NOTIMPL;
113 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAreaElement_get_hash()

static HRESULT WINAPI HTMLAreaElement_get_hash ( IHTMLAreaElement *  iface,
BSTR p 
)
static

Definition at line 262 of file htmlarea.c.

263 {
265  FIXME("(%p)->(%p)\n", This, p);
266  return E_NOTIMPL;
267 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAreaElement_get_host()

static HRESULT WINAPI HTMLAreaElement_get_host ( IHTMLAreaElement *  iface,
BSTR p 
)
static

Definition at line 178 of file htmlarea.c.

179 {
181  FIXME("(%p)->(%p)\n", This, p);
182  return E_NOTIMPL;
183 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAreaElement_get_hostname()

static HRESULT WINAPI HTMLAreaElement_get_hostname ( IHTMLAreaElement *  iface,
BSTR p 
)
static

Definition at line 192 of file htmlarea.c.

193 {
195  FIXME("(%p)->(%p)\n", This, p);
196  return E_NOTIMPL;
197 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAreaElement_get_href()

static HRESULT WINAPI HTMLAreaElement_get_href ( IHTMLAreaElement *  iface,
BSTR p 
)
static

Definition at line 122 of file htmlarea.c.

123 {
125  FIXME("(%p)->(%p)\n", This, p);
126  return E_NOTIMPL;
127 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAreaElement_get_noHref()

static HRESULT WINAPI HTMLAreaElement_get_noHref ( IHTMLAreaElement *  iface,
VARIANT_BOOL p 
)
static

Definition at line 164 of file htmlarea.c.

165 {
167  FIXME("(%p)->(%p)\n", This, p);
168  return E_NOTIMPL;
169 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAreaElement_get_onblur()

static HRESULT WINAPI HTMLAreaElement_get_onblur ( IHTMLAreaElement *  iface,
VARIANT p 
)
static

Definition at line 276 of file htmlarea.c.

277 {
279  FIXME("(%p)->(%p)\n", This, p);
280  return E_NOTIMPL;
281 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAreaElement_get_onfocus()

static HRESULT WINAPI HTMLAreaElement_get_onfocus ( IHTMLAreaElement *  iface,
VARIANT p 
)
static

Definition at line 290 of file htmlarea.c.

291 {
293  FIXME("(%p)->(%p)\n", This, p);
294  return E_NOTIMPL;
295 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAreaElement_get_pathname()

static HRESULT WINAPI HTMLAreaElement_get_pathname ( IHTMLAreaElement *  iface,
BSTR p 
)
static

Definition at line 206 of file htmlarea.c.

207 {
209  FIXME("(%p)->(%p)\n", This, p);
210  return E_NOTIMPL;
211 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAreaElement_get_port()

static HRESULT WINAPI HTMLAreaElement_get_port ( IHTMLAreaElement *  iface,
BSTR p 
)
static

Definition at line 220 of file htmlarea.c.

221 {
223  FIXME("(%p)->(%p)\n", This, p);
224  return E_NOTIMPL;
225 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAreaElement_get_protocol()

static HRESULT WINAPI HTMLAreaElement_get_protocol ( IHTMLAreaElement *  iface,
BSTR p 
)
static

Definition at line 234 of file htmlarea.c.

235 {
237  FIXME("(%p)->(%p)\n", This, p);
238  return E_NOTIMPL;
239 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAreaElement_get_search()

static HRESULT WINAPI HTMLAreaElement_get_search ( IHTMLAreaElement *  iface,
BSTR p 
)
static

Definition at line 248 of file htmlarea.c.

249 {
251  FIXME("(%p)->(%p)\n", This, p);
252  return E_NOTIMPL;
253 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAreaElement_get_shape()

static HRESULT WINAPI HTMLAreaElement_get_shape ( IHTMLAreaElement *  iface,
BSTR p 
)
static

Definition at line 94 of file htmlarea.c.

95 {
97  FIXME("(%p)->(%p)\n", This, p);
98  return E_NOTIMPL;
99 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAreaElement_get_tabIndex()

static HRESULT WINAPI HTMLAreaElement_get_tabIndex ( IHTMLAreaElement *  iface,
short p 
)
static

Definition at line 304 of file htmlarea.c.

305 {
307  FIXME("(%p)->(%p)\n", This, p);
308  return E_NOTIMPL;
309 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAreaElement_get_target()

static HRESULT WINAPI HTMLAreaElement_get_target ( IHTMLAreaElement *  iface,
BSTR p 
)
static

Definition at line 136 of file htmlarea.c.

137 {
139  FIXME("(%p)->(%p)\n", This, p);
140  return E_NOTIMPL;
141 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLAreaElement_GetIDsOfNames()

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

Definition at line 69 of file htmlarea.c.

72 {
74  return IDispatchEx_GetIDsOfNames(&This->element.node.event_target.dispex.IDispatchEx_iface, riid, rgszNames,
75  cNames, lcid, rgDispId);
76 }
REFIID riid
Definition: precomp.h:44
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29

◆ HTMLAreaElement_GetTypeInfo()

static HRESULT WINAPI HTMLAreaElement_GetTypeInfo ( IHTMLAreaElement *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 61 of file htmlarea.c.

63 {
65  return IDispatchEx_GetTypeInfo(&This->element.node.event_target.dispex.IDispatchEx_iface, iTInfo, lcid,
66  ppTInfo);
67 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29

◆ HTMLAreaElement_GetTypeInfoCount()

static HRESULT WINAPI HTMLAreaElement_GetTypeInfoCount ( IHTMLAreaElement *  iface,
UINT pctinfo 
)
static

Definition at line 55 of file htmlarea.c.

56 {
58  return IDispatchEx_GetTypeInfoCount(&This->element.node.event_target.dispex.IDispatchEx_iface, pctinfo);
59 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29

◆ HTMLAreaElement_handle_event()

static HRESULT HTMLAreaElement_handle_event ( HTMLDOMNode iface,
DWORD  eid,
nsIDOMEvent event,
BOOL prevent_default 
)
static

Definition at line 391 of file htmlarea.c.

392 {
394  nsAString href_str, target_str;
395  nsresult nsres;
396 
397  if(eid == EVENTID_CLICK) {
398  nsAString_Init(&href_str, NULL);
399  nsres = nsIDOMHTMLAreaElement_GetHref(This->nsarea, &href_str);
400  if (NS_FAILED(nsres)) {
401  ERR("Could not get area href: %08x\n", nsres);
402  goto fallback;
403  }
404 
405  nsAString_Init(&target_str, NULL);
406  nsres = nsIDOMHTMLAreaElement_GetTarget(This->nsarea, &target_str);
407  if (NS_FAILED(nsres)) {
408  ERR("Could not get area target: %08x\n", nsres);
409  goto fallback;
410  }
411 
412  return handle_link_click_event(&This->element, &href_str, &target_str, event, prevent_default);
413 
414 fallback:
415  nsAString_Finish(&href_str);
416  nsAString_Finish(&target_str);
417  }
418 
419  return HTMLElement_handle_event(&This->element.node, eid, event, prevent_default);
420 }
static HTMLAreaElement * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
Definition: htmlarea.c:369
HRESULT HTMLElement_handle_event(HTMLDOMNode *iface, DWORD eid, nsIDOMEvent *event, BOOL *prevent_default)
Definition: htmlelem.c:3815
smooth NULL
Definition: ftsmooth.c:416
#define NS_FAILED(res)
struct _cl_event * event
Definition: glext.h:7739
#define ERR(fmt,...)
Definition: debug.h:109
HRESULT handle_link_click_event(HTMLElement *element, nsAString *href_str, nsAString *target_str, nsIDOMEvent *event, BOOL *prevent_default)
Definition: htmlanchor.c:123
BOOL nsAString_Init(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:817
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
Definition: nsembed.c:836
HRESULT nsresult
Definition: nsiface.idl:39

◆ HTMLAreaElement_Invoke()

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

Definition at line 78 of file htmlarea.c.

81 {
83  return IDispatchEx_Invoke(&This->element.node.event_target.dispex.IDispatchEx_iface, dispIdMember, riid,
84  lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
85 }
REFIID riid
Definition: precomp.h:44
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:519

◆ HTMLAreaElement_put_alt()

static HRESULT WINAPI HTMLAreaElement_put_alt ( IHTMLAreaElement *  iface,
BSTR  v 
)
static

Definition at line 143 of file htmlarea.c.

144 {
146  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
147  return E_NOTIMPL;
148 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_put_coords()

static HRESULT WINAPI HTMLAreaElement_put_coords ( IHTMLAreaElement *  iface,
BSTR  v 
)
static

Definition at line 101 of file htmlarea.c.

102 {
104  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
105  return E_NOTIMPL;
106 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_put_hash()

static HRESULT WINAPI HTMLAreaElement_put_hash ( IHTMLAreaElement *  iface,
BSTR  v 
)
static

Definition at line 255 of file htmlarea.c.

256 {
258  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
259  return E_NOTIMPL;
260 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_put_host()

static HRESULT WINAPI HTMLAreaElement_put_host ( IHTMLAreaElement *  iface,
BSTR  v 
)
static

Definition at line 171 of file htmlarea.c.

172 {
174  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
175  return E_NOTIMPL;
176 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_put_hostname()

static HRESULT WINAPI HTMLAreaElement_put_hostname ( IHTMLAreaElement *  iface,
BSTR  v 
)
static

Definition at line 185 of file htmlarea.c.

186 {
188  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
189  return E_NOTIMPL;
190 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_put_href()

static HRESULT WINAPI HTMLAreaElement_put_href ( IHTMLAreaElement *  iface,
BSTR  v 
)
static

Definition at line 115 of file htmlarea.c.

116 {
118  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
119  return E_NOTIMPL;
120 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_put_noHref()

static HRESULT WINAPI HTMLAreaElement_put_noHref ( IHTMLAreaElement *  iface,
VARIANT_BOOL  v 
)
static

Definition at line 157 of file htmlarea.c.

158 {
160  FIXME("(%p)->(%i)\n", This, v);
161  return E_NOTIMPL;
162 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_put_onblur()

static HRESULT WINAPI HTMLAreaElement_put_onblur ( IHTMLAreaElement *  iface,
VARIANT  v 
)
static

Definition at line 269 of file htmlarea.c.

270 {
272  FIXME("(%p)->(%p)\n", This, &v);
273  return E_NOTIMPL;
274 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_put_onfocus()

static HRESULT WINAPI HTMLAreaElement_put_onfocus ( IHTMLAreaElement *  iface,
VARIANT  v 
)
static

Definition at line 283 of file htmlarea.c.

284 {
286  FIXME("(%p)->(%p)\n", This, &v);
287  return E_NOTIMPL;
288 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_put_pathname()

static HRESULT WINAPI HTMLAreaElement_put_pathname ( IHTMLAreaElement *  iface,
BSTR  v 
)
static

Definition at line 199 of file htmlarea.c.

200 {
202  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
203  return E_NOTIMPL;
204 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_put_port()

static HRESULT WINAPI HTMLAreaElement_put_port ( IHTMLAreaElement *  iface,
BSTR  v 
)
static

Definition at line 213 of file htmlarea.c.

214 {
216  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
217  return E_NOTIMPL;
218 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_put_protocol()

static HRESULT WINAPI HTMLAreaElement_put_protocol ( IHTMLAreaElement *  iface,
BSTR  v 
)
static

Definition at line 227 of file htmlarea.c.

228 {
230  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
231  return E_NOTIMPL;
232 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_put_search()

static HRESULT WINAPI HTMLAreaElement_put_search ( IHTMLAreaElement *  iface,
BSTR  v 
)
static

Definition at line 241 of file htmlarea.c.

242 {
244  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
245  return E_NOTIMPL;
246 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_put_shape()

static HRESULT WINAPI HTMLAreaElement_put_shape ( IHTMLAreaElement *  iface,
BSTR  v 
)
static

Definition at line 87 of file htmlarea.c.

88 {
90  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
91  return E_NOTIMPL;
92 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_put_tabIndex()

static HRESULT WINAPI HTMLAreaElement_put_tabIndex ( IHTMLAreaElement *  iface,
short  v 
)
static

Definition at line 297 of file htmlarea.c.

298 {
300  FIXME("(%p)->(%i)\n", This, v);
301  return E_NOTIMPL;
302 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_put_target()

static HRESULT WINAPI HTMLAreaElement_put_target ( IHTMLAreaElement *  iface,
BSTR  v 
)
static

Definition at line 129 of file htmlarea.c.

130 {
132  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
133  return E_NOTIMPL;
134 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLAreaElement_QI()

static HRESULT HTMLAreaElement_QI ( HTMLDOMNode iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 374 of file htmlarea.c.

375 {
377 
378  *ppv = NULL;
379 
380  if(IsEqualGUID(&IID_IHTMLAreaElement, riid)) {
381  TRACE("(%p)->(IID_IHTMLAreaElement %p)\n", This, ppv);
382  *ppv = &This->IHTMLAreaElement_iface;
383  }else {
384  return HTMLElement_QI(&This->element.node, riid, ppv);
385  }
386 
387  IUnknown_AddRef((IUnknown*)*ppv);
388  return S_OK;
389 }
static HTMLAreaElement * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
Definition: htmlarea.c:369
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
HRESULT HTMLElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
Definition: htmlelem.c:3738
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
#define S_OK
Definition: intsafe.h:59
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4021

◆ HTMLAreaElement_QueryInterface()

static HRESULT WINAPI HTMLAreaElement_QueryInterface ( IHTMLAreaElement *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 34 of file htmlarea.c.

35 {
37 
38  return IHTMLDOMNode_QueryInterface(&This->element.node.IHTMLDOMNode_iface, riid, ppv);
39 }
REFIID riid
Definition: precomp.h:44
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29
REFIID LPVOID * ppv
Definition: atlbase.h:39

◆ HTMLAreaElement_Release()

static ULONG WINAPI HTMLAreaElement_Release ( IHTMLAreaElement *  iface)
static

Definition at line 48 of file htmlarea.c.

49 {
51 
52  return IHTMLDOMNode_Release(&This->element.node.IHTMLDOMNode_iface);
53 }
static HTMLAreaElement * impl_from_IHTMLAreaElement(IHTMLAreaElement *iface)
Definition: htmlarea.c:29

◆ impl_from_HTMLDOMNode()

static HTMLAreaElement* impl_from_HTMLDOMNode ( HTMLDOMNode iface)
inlinestatic

Definition at line 369 of file htmlarea.c.

370 {
371  return CONTAINING_RECORD(iface, HTMLAreaElement, element.node);
372 }
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

Referenced by HTMLAreaElement_handle_event(), and HTMLAreaElement_QI().

◆ impl_from_IHTMLAreaElement()

static HTMLAreaElement* impl_from_IHTMLAreaElement ( IHTMLAreaElement *  iface)
inlinestatic

Definition at line 29 of file htmlarea.c.

30 {
31  return CONTAINING_RECORD(iface, HTMLAreaElement, IHTMLAreaElement_iface);
32 }
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

Referenced by HTMLAreaElement_AddRef(), HTMLAreaElement_blur(), HTMLAreaElement_focus(), HTMLAreaElement_get_alt(), HTMLAreaElement_get_coords(), HTMLAreaElement_get_hash(), HTMLAreaElement_get_host(), HTMLAreaElement_get_hostname(), HTMLAreaElement_get_href(), HTMLAreaElement_get_noHref(), HTMLAreaElement_get_onblur(), HTMLAreaElement_get_onfocus(), HTMLAreaElement_get_pathname(), HTMLAreaElement_get_port(), HTMLAreaElement_get_protocol(), HTMLAreaElement_get_search(), HTMLAreaElement_get_shape(), HTMLAreaElement_get_tabIndex(), HTMLAreaElement_get_target(), HTMLAreaElement_GetIDsOfNames(), HTMLAreaElement_GetTypeInfo(), HTMLAreaElement_GetTypeInfoCount(), HTMLAreaElement_Invoke(), HTMLAreaElement_put_alt(), HTMLAreaElement_put_coords(), HTMLAreaElement_put_hash(), HTMLAreaElement_put_host(), HTMLAreaElement_put_hostname(), HTMLAreaElement_put_href(), HTMLAreaElement_put_noHref(), HTMLAreaElement_put_onblur(), HTMLAreaElement_put_onfocus(), HTMLAreaElement_put_pathname(), HTMLAreaElement_put_port(), HTMLAreaElement_put_protocol(), HTMLAreaElement_put_search(), HTMLAreaElement_put_shape(), HTMLAreaElement_put_tabIndex(), HTMLAreaElement_put_target(), HTMLAreaElement_QueryInterface(), and HTMLAreaElement_Release().

Variable Documentation

◆ HTMLAreaElement_dispex

dispex_static_data_t HTMLAreaElement_dispex
static
Initial value:
= {
DispHTMLAreaElement_tid,
}
smooth NULL
Definition: ftsmooth.c:416
static const tid_t HTMLAreaElement_iface_tids[]
Definition: htmlarea.c:431

Definition at line 436 of file htmlarea.c.

Referenced by HTMLAreaElement_Create().

◆ HTMLAreaElement_iface_tids

const tid_t HTMLAreaElement_iface_tids[]
static
Initial value:
= {
IHTMLAreaElement_tid,
0
}
#define HTMLELEMENT_TIDS

Definition at line 431 of file htmlarea.c.

◆ HTMLAreaElementImplVtbl

const NodeImplVtbl HTMLAreaElementImplVtbl
static
Initial value:
= {
}
const cpc_entry_t HTMLElement_cpc[]
Definition: htmlelem.c:3847
HRESULT HTMLElement_get_attr_col(HTMLDOMNode *iface, HTMLAttributeCollection **ac)
Definition: htmlelem.c:4827
void HTMLElement_destructor(HTMLDOMNode *iface)
Definition: htmlelem.c:3764
static HRESULT HTMLAreaElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
Definition: htmlarea.c:374
static HRESULT HTMLAreaElement_handle_event(HTMLDOMNode *iface, DWORD eid, nsIDOMEvent *event, BOOL *prevent_default)
Definition: htmlarea.c:391
HRESULT HTMLElement_clone(HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
Definition: htmlelem.c:3793

Definition at line 422 of file htmlarea.c.

Referenced by HTMLAreaElement_Create().

◆ HTMLAreaElementVtbl

const IHTMLAreaElementVtbl HTMLAreaElementVtbl
static

Definition at line 325 of file htmlarea.c.

Referenced by HTMLAreaElement_Create().