ReactOS  0.4.13-dev-687-g023794c
htmliframe.c File Reference
#include "mshtml_private.h"
Include dependency graph for htmliframe.c:

Go to the source code of this file.

Classes

struct  HTMLIFrame
 

Functions

static HTMLIFrameimpl_from_IHTMLIFrameElement (IHTMLIFrameElement *iface)
 
static HRESULT WINAPI HTMLIFrameElement_QueryInterface (IHTMLIFrameElement *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLIFrameElement_AddRef (IHTMLIFrameElement *iface)
 
static ULONG WINAPI HTMLIFrameElement_Release (IHTMLIFrameElement *iface)
 
static HRESULT WINAPI HTMLIFrameElement_GetTypeInfoCount (IHTMLIFrameElement *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLIFrameElement_GetTypeInfo (IHTMLIFrameElement *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLIFrameElement_GetIDsOfNames (IHTMLIFrameElement *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLIFrameElement_Invoke (IHTMLIFrameElement *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLIFrameElement_put_vspace (IHTMLIFrameElement *iface, LONG v)
 
static HRESULT WINAPI HTMLIFrameElement_get_vspace (IHTMLIFrameElement *iface, LONG *p)
 
static HRESULT WINAPI HTMLIFrameElement_put_hspace (IHTMLIFrameElement *iface, LONG v)
 
static HRESULT WINAPI HTMLIFrameElement_get_hspace (IHTMLIFrameElement *iface, LONG *p)
 
static HRESULT WINAPI HTMLIFrameElement_put_align (IHTMLIFrameElement *iface, BSTR v)
 
static HRESULT WINAPI HTMLIFrameElement_get_align (IHTMLIFrameElement *iface, BSTR *p)
 
static HTMLIFrameimpl_from_IHTMLIFrameElement2 (IHTMLIFrameElement2 *iface)
 
static HRESULT WINAPI HTMLIFrameElement2_QueryInterface (IHTMLIFrameElement2 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLIFrameElement2_AddRef (IHTMLIFrameElement2 *iface)
 
static ULONG WINAPI HTMLIFrameElement2_Release (IHTMLIFrameElement2 *iface)
 
static HRESULT WINAPI HTMLIFrameElement2_GetTypeInfoCount (IHTMLIFrameElement2 *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLIFrameElement2_GetTypeInfo (IHTMLIFrameElement2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLIFrameElement2_GetIDsOfNames (IHTMLIFrameElement2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLIFrameElement2_Invoke (IHTMLIFrameElement2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLIFrameElement2_put_height (IHTMLIFrameElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLIFrameElement2_get_height (IHTMLIFrameElement2 *iface, VARIANT *p)
 
static HRESULT WINAPI HTMLIFrameElement2_put_width (IHTMLIFrameElement2 *iface, VARIANT v)
 
static HRESULT WINAPI HTMLIFrameElement2_get_width (IHTMLIFrameElement2 *iface, VARIANT *p)
 
static HTMLIFrameimpl_from_IHTMLIFrameElement3 (IHTMLIFrameElement3 *iface)
 
static HRESULT WINAPI HTMLIFrameElement3_QueryInterface (IHTMLIFrameElement3 *iface, REFIID riid, void **ppv)
 
static ULONG WINAPI HTMLIFrameElement3_AddRef (IHTMLIFrameElement3 *iface)
 
static ULONG WINAPI HTMLIFrameElement3_Release (IHTMLIFrameElement3 *iface)
 
static HRESULT WINAPI HTMLIFrameElement3_GetTypeInfoCount (IHTMLIFrameElement3 *iface, UINT *pctinfo)
 
static HRESULT WINAPI HTMLIFrameElement3_GetTypeInfo (IHTMLIFrameElement3 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
 
static HRESULT WINAPI HTMLIFrameElement3_GetIDsOfNames (IHTMLIFrameElement3 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
 
static HRESULT WINAPI HTMLIFrameElement3_Invoke (IHTMLIFrameElement3 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
 
static HRESULT WINAPI HTMLIFrameElement3_get_contentDocument (IHTMLIFrameElement3 *iface, IDispatch **p)
 
static HRESULT WINAPI HTMLIFrameElement3_put_src (IHTMLIFrameElement3 *iface, BSTR v)
 
static HRESULT WINAPI HTMLIFrameElement3_get_src (IHTMLIFrameElement3 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLIFrameElement3_put_longDesc (IHTMLIFrameElement3 *iface, BSTR v)
 
static HRESULT WINAPI HTMLIFrameElement3_get_longDesc (IHTMLIFrameElement3 *iface, BSTR *p)
 
static HRESULT WINAPI HTMLIFrameElement3_put_frameBorder (IHTMLIFrameElement3 *iface, BSTR v)
 
static HRESULT WINAPI HTMLIFrameElement3_get_frameBorder (IHTMLIFrameElement3 *iface, BSTR *p)
 
static HTMLIFrameimpl_from_HTMLDOMNode (HTMLDOMNode *iface)
 
static HRESULT HTMLIFrame_QI (HTMLDOMNode *iface, REFIID riid, void **ppv)
 
static void HTMLIFrame_destructor (HTMLDOMNode *iface)
 
static HRESULT HTMLIFrame_get_document (HTMLDOMNode *iface, IDispatch **p)
 
static HRESULT HTMLIFrame_get_dispid (HTMLDOMNode *iface, BSTR name, DWORD grfdex, DISPID *pid)
 
static HRESULT HTMLIFrame_invoke (HTMLDOMNode *iface, DISPID id, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *res, EXCEPINFO *ei, IServiceProvider *caller)
 
static HRESULT HTMLIFrame_get_readystate (HTMLDOMNode *iface, BSTR *p)
 
static HRESULT HTMLIFrame_bind_to_tree (HTMLDOMNode *iface)
 
static void HTMLIFrame_traverse (HTMLDOMNode *iface, nsCycleCollectionTraversalCallback *cb)
 
static void HTMLIFrame_unlink (HTMLDOMNode *iface)
 
HRESULT HTMLIFrame_Create (HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, HTMLElement **elem)
 

Variables

static const IHTMLIFrameElementVtbl HTMLIFrameElementVtbl
 
static const IHTMLIFrameElement2Vtbl HTMLIFrameElement2Vtbl
 
static const IHTMLIFrameElement3Vtbl HTMLIFrameElement3Vtbl
 
static const NodeImplVtbl HTMLIFrameImplVtbl
 
static const tid_t HTMLIFrame_iface_tids []
 
static dispex_static_data_t HTMLIFrame_dispex
 

Function Documentation

◆ HTMLIFrame_bind_to_tree()

static HRESULT HTMLIFrame_bind_to_tree ( HTMLDOMNode iface)
static

Definition at line 511 of file htmliframe.c.

512 {
514  nsIDOMDocument *nsdoc;
515  nsresult nsres;
516  HRESULT hres;
517 
518  nsres = nsIDOMHTMLIFrameElement_GetContentDocument(This->framebase.nsiframe, &nsdoc);
519  if(NS_FAILED(nsres) || !nsdoc) {
520  ERR("GetContentDocument failed: %08x\n", nsres);
521  return E_FAIL;
522  }
523 
524  hres = set_frame_doc(&This->framebase, nsdoc);
525  nsIDOMDocument_Release(nsdoc);
526  return hres;
527 }
HRESULT set_frame_doc(HTMLFrameBase *frame, nsIDOMDocument *nsdoc)
Definition: htmlframebase.c:26
#define E_FAIL
Definition: ddrawi.h:102
#define NS_FAILED(res)
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
static HTMLIFrame * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
Definition: htmliframe.c:432
#define ERR(fmt,...)
Definition: debug.h:109
HRESULT nsresult
Definition: nsiface.idl:39

◆ HTMLIFrame_Create()

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

Definition at line 586 of file htmliframe.c.

587 {
588  HTMLIFrame *ret;
589 
590  ret = heap_alloc_zero(sizeof(HTMLIFrame));
591  if(!ret)
592  return E_OUTOFMEMORY;
593 
594  ret->IHTMLIFrameElement_iface.lpVtbl = &HTMLIFrameElementVtbl;
595  ret->IHTMLIFrameElement2_iface.lpVtbl = &HTMLIFrameElement2Vtbl;
596  ret->IHTMLIFrameElement3_iface.lpVtbl = &HTMLIFrameElement3Vtbl;
597  ret->framebase.element.node.vtbl = &HTMLIFrameImplVtbl;
598 
599  HTMLFrameBase_Init(&ret->framebase, doc, nselem, &HTMLIFrame_dispex);
600 
601  *elem = &ret->framebase.element;
602  return S_OK;
603 }
static const IHTMLIFrameElement3Vtbl HTMLIFrameElement3Vtbl
Definition: htmliframe.c:415
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
static size_t elem
Definition: string.c:68
static const NodeImplVtbl HTMLIFrameImplVtbl
Definition: htmliframe.c:549
static const IHTMLIFrameElement2Vtbl HTMLIFrameElement2Vtbl
Definition: htmliframe.c:282
int ret
static const IHTMLIFrameElementVtbl HTMLIFrameElementVtbl
Definition: htmliframe.c:129
static dispex_static_data_t HTMLIFrame_dispex
Definition: htmliframe.c:579
#define S_OK
Definition: intsafe.h:59
void HTMLFrameBase_Init(HTMLFrameBase *This, HTMLDocumentNode *doc, nsIDOMHTMLElement *nselem, dispex_static_data_t *dispex_data)

◆ HTMLIFrame_destructor()

static void HTMLIFrame_destructor ( HTMLDOMNode iface)
static

Definition at line 458 of file htmliframe.c.

459 {
461 
462  HTMLFrameBase_destructor(&This->framebase);
463 }
static HTMLIFrame * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
Definition: htmliframe.c:432
void HTMLFrameBase_destructor(HTMLFrameBase *This)

◆ HTMLIFrame_get_dispid()

static HRESULT HTMLIFrame_get_dispid ( HTMLDOMNode iface,
BSTR  name,
DWORD  grfdex,
DISPID pid 
)
static

Definition at line 479 of file htmliframe.c.

481 {
483 
484  if(!This->framebase.content_window)
485  return DISP_E_UNKNOWNNAME;
486 
487  return search_window_props(This->framebase.content_window->base.inner_window, name, grfdex, pid);
488 }
#define DISP_E_UNKNOWNNAME
Definition: winerror.h:2515
_In_ ULONG_PTR _In_ ULONG _Out_ ULONG_PTR * pid
Definition: winddi.h:3835
static HTMLIFrame * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
Definition: htmliframe.c:432
HRESULT search_window_props(HTMLInnerWindow *This, BSTR bstrName, DWORD grfdex, DISPID *pid)
Definition: htmlwindow.c:2513
Definition: name.c:36

◆ HTMLIFrame_get_document()

static HRESULT HTMLIFrame_get_document ( HTMLDOMNode iface,
IDispatch **  p 
)
static

Definition at line 465 of file htmliframe.c.

466 {
468 
469  if(!This->framebase.content_window || !This->framebase.content_window->base.inner_window->doc) {
470  *p = NULL;
471  return S_OK;
472  }
473 
474  *p = (IDispatch*)&This->framebase.content_window->base.inner_window->doc->basedoc.IHTMLDocument2_iface;
475  IDispatch_AddRef(*p);
476  return S_OK;
477 }
smooth NULL
Definition: ftsmooth.c:416
static HTMLIFrame * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
Definition: htmliframe.c:432
#define S_OK
Definition: intsafe.h:59
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLIFrame_get_readystate()

static HRESULT HTMLIFrame_get_readystate ( HTMLDOMNode iface,
BSTR p 
)
static

Definition at line 504 of file htmliframe.c.

505 {
507 
508  return IHTMLFrameBase2_get_readyState(&This->framebase.IHTMLFrameBase2_iface, p);
509 }
static HTMLIFrame * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
Definition: htmliframe.c:432
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLIFrame_invoke()

static HRESULT HTMLIFrame_invoke ( HTMLDOMNode iface,
DISPID  id,
LCID  lcid,
WORD  flags,
DISPPARAMS *  params,
VARIANT res,
EXCEPINFO *  ei,
IServiceProvider caller 
)
static

Definition at line 490 of file htmliframe.c.

492 {
494 
495  if(!This->framebase.content_window) {
496  ERR("no content window to invoke on\n");
497  return E_FAIL;
498  }
499 
500  return IDispatchEx_InvokeEx(&This->framebase.content_window->base.IDispatchEx_iface, id, lcid,
501  flags, params, res, ei, caller);
502 }
#define E_FAIL
Definition: ddrawi.h:102
GLenum const GLfloat * params
Definition: glext.h:5645
GLbitfield flags
Definition: glext.h:7161
static HTMLIFrame * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
Definition: htmliframe.c:432
#define ERR(fmt,...)
Definition: debug.h:109
GLuint res
Definition: glext.h:9613

◆ HTMLIFrame_QI()

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

Definition at line 437 of file htmliframe.c.

438 {
440 
441  if(IsEqualGUID(&IID_IHTMLIFrameElement, riid)) {
442  TRACE("(%p)->(IID_IHTMLIFrameElement %p)\n", This, ppv);
443  *ppv = &This->IHTMLIFrameElement_iface;
444  }else if(IsEqualGUID(&IID_IHTMLIFrameElement2, riid)) {
445  TRACE("(%p)->(IID_IHTMLIFrameElement2 %p)\n", This, ppv);
446  *ppv = &This->IHTMLIFrameElement2_iface;
447  }else if(IsEqualGUID(&IID_IHTMLIFrameElement3, riid)) {
448  TRACE("(%p)->(IID_IHTMLIFrameElement3 %p)\n", This, ppv);
449  *ppv = &This->IHTMLIFrameElement3_iface;
450  }else {
451  return HTMLFrameBase_QI(&This->framebase, riid, ppv);
452  }
453 
454  IUnknown_AddRef((IUnknown*)*ppv);
455  return S_OK;
456 }
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
HRESULT HTMLFrameBase_QI(HTMLFrameBase *This, REFIID riid, void **ppv)
#define TRACE(s)
Definition: solgame.cpp:4
static HTMLIFrame * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
Definition: htmliframe.c:432
#define S_OK
Definition: intsafe.h:59
BOOL WINAPI IsEqualGUID(REFGUID rguid1, REFGUID rguid2)
Definition: compobj.c:4021

◆ HTMLIFrame_traverse()

static void HTMLIFrame_traverse ( HTMLDOMNode iface,
nsCycleCollectionTraversalCallback cb 
)
static

Definition at line 529 of file htmliframe.c.

530 {
532 
533  if(This->framebase.nsiframe)
534  note_cc_edge((nsISupports*)This->framebase.nsiframe, "This->nsiframe", cb);
535 }
static DWORD cb
Definition: integrity.c:41
static HTMLIFrame * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
Definition: htmliframe.c:432

◆ HTMLIFrame_unlink()

static void HTMLIFrame_unlink ( HTMLDOMNode iface)
static

Definition at line 537 of file htmliframe.c.

538 {
540 
541  if(This->framebase.nsiframe) {
542  nsIDOMHTMLIFrameElement *nsiframe = This->framebase.nsiframe;
543 
544  This->framebase.nsiframe = NULL;
545  nsIDOMHTMLIFrameElement_Release(nsiframe);
546  }
547 }
smooth NULL
Definition: ftsmooth.c:416
static HTMLIFrame * impl_from_HTMLDOMNode(HTMLDOMNode *iface)
Definition: htmliframe.c:432

◆ HTMLIFrameElement2_AddRef()

static ULONG WINAPI HTMLIFrameElement2_AddRef ( IHTMLIFrameElement2 *  iface)
static

Definition at line 158 of file htmliframe.c.

159 {
161 
162  return IHTMLDOMNode_AddRef(&This->framebase.element.node.IHTMLDOMNode_iface);
163 }
static HTMLIFrame * impl_from_IHTMLIFrameElement2(IHTMLIFrameElement2 *iface)
Definition: htmliframe.c:145

◆ HTMLIFrameElement2_get_height()

static HRESULT WINAPI HTMLIFrameElement2_get_height ( IHTMLIFrameElement2 *  iface,
VARIANT p 
)
static

Definition at line 228 of file htmliframe.c.

229 {
231  nsAString nsstr;
232  nsresult nsres;
233 
234  TRACE("(%p)->(%p)\n", This, p);
235 
236  nsAString_Init(&nsstr, NULL);
237  nsres = nsIDOMHTMLIFrameElement_GetHeight(This->framebase.nsiframe, &nsstr);
238 
239  V_VT(p) = VT_BSTR;
240  return return_nsstr(nsres, &nsstr, &V_BSTR(p));
241 }
smooth NULL
Definition: ftsmooth.c:416
HRESULT return_nsstr(nsresult, nsAString *, BSTR *) DECLSPEC_HIDDEN
Definition: nsembed.c:841
#define TRACE(s)
Definition: solgame.cpp:4
#define V_VT(A)
Definition: oleauto.h:211
#define V_BSTR(A)
Definition: oleauto.h:226
BOOL nsAString_Init(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:817
static HTMLIFrame * impl_from_IHTMLIFrameElement2(IHTMLIFrameElement2 *iface)
Definition: htmliframe.c:145
HRESULT nsresult
Definition: nsiface.idl:39
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLIFrameElement2_get_width()

static HRESULT WINAPI HTMLIFrameElement2_get_width ( IHTMLIFrameElement2 *  iface,
VARIANT p 
)
static

Definition at line 267 of file htmliframe.c.

268 {
270  nsAString nsstr;
271  nsresult nsres;
272 
273  TRACE("(%p)->(%p)\n", This, p);
274 
275  nsAString_Init(&nsstr, NULL);
276  nsres = nsIDOMHTMLIFrameElement_GetWidth(This->framebase.nsiframe, &nsstr);
277 
278  V_VT(p) = VT_BSTR;
279  return return_nsstr(nsres, &nsstr, &V_BSTR(p));
280 }
smooth NULL
Definition: ftsmooth.c:416
HRESULT return_nsstr(nsresult, nsAString *, BSTR *) DECLSPEC_HIDDEN
Definition: nsembed.c:841
#define TRACE(s)
Definition: solgame.cpp:4
#define V_VT(A)
Definition: oleauto.h:211
#define V_BSTR(A)
Definition: oleauto.h:226
BOOL nsAString_Init(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:817
static HTMLIFrame * impl_from_IHTMLIFrameElement2(IHTMLIFrameElement2 *iface)
Definition: htmliframe.c:145
HRESULT nsresult
Definition: nsiface.idl:39
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLIFrameElement2_GetIDsOfNames()

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

Definition at line 187 of file htmliframe.c.

189 {
191  return IDispatchEx_GetIDsOfNames(&This->framebase.element.node.event_target.dispex.IDispatchEx_iface, riid,
192  rgszNames, cNames, lcid, rgDispId);
193 }
REFIID riid
Definition: precomp.h:44
static HTMLIFrame * impl_from_IHTMLIFrameElement2(IHTMLIFrameElement2 *iface)
Definition: htmliframe.c:145

◆ HTMLIFrameElement2_GetTypeInfo()

static HRESULT WINAPI HTMLIFrameElement2_GetTypeInfo ( IHTMLIFrameElement2 *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 179 of file htmliframe.c.

181 {
183  return IDispatchEx_GetTypeInfo(&This->framebase.element.node.event_target.dispex.IDispatchEx_iface, iTInfo,
184  lcid, ppTInfo);
185 }
static HTMLIFrame * impl_from_IHTMLIFrameElement2(IHTMLIFrameElement2 *iface)
Definition: htmliframe.c:145

◆ HTMLIFrameElement2_GetTypeInfoCount()

static HRESULT WINAPI HTMLIFrameElement2_GetTypeInfoCount ( IHTMLIFrameElement2 *  iface,
UINT pctinfo 
)
static

Definition at line 172 of file htmliframe.c.

173 {
175  return IDispatchEx_GetTypeInfoCount(&This->framebase.element.node.event_target.dispex.IDispatchEx_iface,
176  pctinfo);
177 }
static HTMLIFrame * impl_from_IHTMLIFrameElement2(IHTMLIFrameElement2 *iface)
Definition: htmliframe.c:145

◆ HTMLIFrameElement2_Invoke()

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

Definition at line 195 of file htmliframe.c.

198 {
200  return IDispatchEx_Invoke(&This->framebase.element.node.event_target.dispex.IDispatchEx_iface, dispIdMember,
201  riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
202 }
REFIID riid
Definition: precomp.h:44
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:519
static HTMLIFrame * impl_from_IHTMLIFrameElement2(IHTMLIFrameElement2 *iface)
Definition: htmliframe.c:145

◆ HTMLIFrameElement2_put_height()

static HRESULT WINAPI HTMLIFrameElement2_put_height ( IHTMLIFrameElement2 *  iface,
VARIANT  v 
)
static

Definition at line 204 of file htmliframe.c.

205 {
207  nsAString nsstr;
208  nsresult nsres;
209 
210  TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
211 
212  if(V_VT(&v) != VT_BSTR) {
213  FIXME("Unsupported %s\n", debugstr_variant(&v));
214  return E_NOTIMPL;
215  }
216 
217  nsAString_InitDepend(&nsstr, V_BSTR(&v));
218  nsres = nsIDOMHTMLIFrameElement_SetHeight(This->framebase.nsiframe, &nsstr);
219  nsAString_Finish(&nsstr);
220  if(NS_FAILED(nsres)) {
221  ERR("SetHeight failed: %08x\n", nsres);
222  return E_FAIL;
223  }
224 
225  return S_OK;
226 }
#define E_FAIL
Definition: ddrawi.h:102
#define FIXME(fmt,...)
Definition: debug.h:110
#define NS_FAILED(res)
#define TRACE(s)
Definition: solgame.cpp:4
#define V_VT(A)
Definition: oleauto.h:211
#define V_BSTR(A)
Definition: oleauto.h:226
#define ERR(fmt,...)
Definition: debug.h:109
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define S_OK
Definition: intsafe.h:59
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99
void nsAString_InitDepend(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:826
static HTMLIFrame * impl_from_IHTMLIFrameElement2(IHTMLIFrameElement2 *iface)
Definition: htmliframe.c:145
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
Definition: nsembed.c:836
HRESULT nsresult
Definition: nsiface.idl:39

◆ HTMLIFrameElement2_put_width()

static HRESULT WINAPI HTMLIFrameElement2_put_width ( IHTMLIFrameElement2 *  iface,
VARIANT  v 
)
static

Definition at line 243 of file htmliframe.c.

244 {
246  nsAString nsstr;
247  nsresult nsres;
248 
249  TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
250 
251  if(V_VT(&v) != VT_BSTR) {
252  FIXME("Unsupported %s\n", debugstr_variant(&v));
253  return E_NOTIMPL;
254  }
255 
256  nsAString_InitDepend(&nsstr, V_BSTR(&v));
257  nsres = nsIDOMHTMLIFrameElement_SetWidth(This->framebase.nsiframe, &nsstr);
258  nsAString_Finish(&nsstr);
259  if(NS_FAILED(nsres)) {
260  ERR("SetWidth failed: %08x\n", nsres);
261  return E_FAIL;
262  }
263 
264  return S_OK;
265 }
#define E_FAIL
Definition: ddrawi.h:102
#define FIXME(fmt,...)
Definition: debug.h:110
#define NS_FAILED(res)
#define TRACE(s)
Definition: solgame.cpp:4
#define V_VT(A)
Definition: oleauto.h:211
#define V_BSTR(A)
Definition: oleauto.h:226
#define ERR(fmt,...)
Definition: debug.h:109
static const char * debugstr_variant(const VARIANT *var)
Definition: container.c:46
#define S_OK
Definition: intsafe.h:59
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99
void nsAString_InitDepend(nsAString *, const PRUnichar *) DECLSPEC_HIDDEN
Definition: nsembed.c:826
static HTMLIFrame * impl_from_IHTMLIFrameElement2(IHTMLIFrameElement2 *iface)
Definition: htmliframe.c:145
void nsAString_Finish(nsAString *) DECLSPEC_HIDDEN
Definition: nsembed.c:836
HRESULT nsresult
Definition: nsiface.idl:39

◆ HTMLIFrameElement2_QueryInterface()

static HRESULT WINAPI HTMLIFrameElement2_QueryInterface ( IHTMLIFrameElement2 *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 150 of file htmliframe.c.

152 {
154 
155  return IHTMLDOMNode_QueryInterface(&This->framebase.element.node.IHTMLDOMNode_iface, riid, ppv);
156 }
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
static HTMLIFrame * impl_from_IHTMLIFrameElement2(IHTMLIFrameElement2 *iface)
Definition: htmliframe.c:145

◆ HTMLIFrameElement2_Release()

static ULONG WINAPI HTMLIFrameElement2_Release ( IHTMLIFrameElement2 *  iface)
static

Definition at line 165 of file htmliframe.c.

166 {
168 
169  return IHTMLDOMNode_Release(&This->framebase.element.node.IHTMLDOMNode_iface);
170 }
static HTMLIFrame * impl_from_IHTMLIFrameElement2(IHTMLIFrameElement2 *iface)
Definition: htmliframe.c:145

◆ HTMLIFrameElement3_AddRef()

static ULONG WINAPI HTMLIFrameElement3_AddRef ( IHTMLIFrameElement3 *  iface)
static

Definition at line 309 of file htmliframe.c.

310 {
312 
313  return IHTMLDOMNode_AddRef(&This->framebase.element.node.IHTMLDOMNode_iface);
314 }
static HTMLIFrame * impl_from_IHTMLIFrameElement3(IHTMLIFrameElement3 *iface)
Definition: htmliframe.c:296

◆ HTMLIFrameElement3_get_contentDocument()

static HRESULT WINAPI HTMLIFrameElement3_get_contentDocument ( IHTMLIFrameElement3 *  iface,
IDispatch **  p 
)
static

Definition at line 355 of file htmliframe.c.

356 {
358  IHTMLDocument2 *doc;
359  HRESULT hres;
360 
361  TRACE("(%p)->(%p)\n", This, p);
362 
363  if(!This->framebase.content_window) {
364  *p = NULL;
365  return S_OK;
366  }
367 
368  hres = IHTMLWindow2_get_document(&This->framebase.content_window->base.IHTMLWindow2_iface, &doc);
369  *p = (IDispatch*)doc;
370  return hres;
371 }
static HTMLIFrame * impl_from_IHTMLIFrameElement3(IHTMLIFrameElement3 *iface)
Definition: htmliframe.c:296
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
HRESULT hres
Definition: protocol.c:465
LONG HRESULT
Definition: typedefs.h:77
#define S_OK
Definition: intsafe.h:59
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLIFrameElement3_get_frameBorder()

static HRESULT WINAPI HTMLIFrameElement3_get_frameBorder ( IHTMLIFrameElement3 *  iface,
BSTR p 
)
static

Definition at line 408 of file htmliframe.c.

409 {
411  FIXME("(%p)->(%p)\n", This, p);
412  return E_NOTIMPL;
413 }
static HTMLIFrame * impl_from_IHTMLIFrameElement3(IHTMLIFrameElement3 *iface)
Definition: htmliframe.c:296
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLIFrameElement3_get_longDesc()

static HRESULT WINAPI HTMLIFrameElement3_get_longDesc ( IHTMLIFrameElement3 *  iface,
BSTR p 
)
static

Definition at line 394 of file htmliframe.c.

395 {
397  FIXME("(%p)->(%p)\n", This, p);
398  return E_NOTIMPL;
399 }
static HTMLIFrame * impl_from_IHTMLIFrameElement3(IHTMLIFrameElement3 *iface)
Definition: htmliframe.c:296
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLIFrameElement3_get_src()

static HRESULT WINAPI HTMLIFrameElement3_get_src ( IHTMLIFrameElement3 *  iface,
BSTR p 
)
static

Definition at line 380 of file htmliframe.c.

381 {
383  FIXME("(%p)->(%p)\n", This, p);
384  return E_NOTIMPL;
385 }
static HTMLIFrame * impl_from_IHTMLIFrameElement3(IHTMLIFrameElement3 *iface)
Definition: htmliframe.c:296
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLIFrameElement3_GetIDsOfNames()

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

Definition at line 338 of file htmliframe.c.

340 {
342  return IDispatchEx_GetIDsOfNames(&This->framebase.element.node.event_target.dispex.IDispatchEx_iface, riid,
343  rgszNames, cNames, lcid, rgDispId);
344 }
static HTMLIFrame * impl_from_IHTMLIFrameElement3(IHTMLIFrameElement3 *iface)
Definition: htmliframe.c:296
REFIID riid
Definition: precomp.h:44

◆ HTMLIFrameElement3_GetTypeInfo()

static HRESULT WINAPI HTMLIFrameElement3_GetTypeInfo ( IHTMLIFrameElement3 *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 330 of file htmliframe.c.

332 {
334  return IDispatchEx_GetTypeInfo(&This->framebase.element.node.event_target.dispex.IDispatchEx_iface, iTInfo,
335  lcid, ppTInfo);
336 }
static HTMLIFrame * impl_from_IHTMLIFrameElement3(IHTMLIFrameElement3 *iface)
Definition: htmliframe.c:296

◆ HTMLIFrameElement3_GetTypeInfoCount()

static HRESULT WINAPI HTMLIFrameElement3_GetTypeInfoCount ( IHTMLIFrameElement3 *  iface,
UINT pctinfo 
)
static

Definition at line 323 of file htmliframe.c.

324 {
326  return IDispatchEx_GetTypeInfoCount(&This->framebase.element.node.event_target.dispex.IDispatchEx_iface,
327  pctinfo);
328 }
static HTMLIFrame * impl_from_IHTMLIFrameElement3(IHTMLIFrameElement3 *iface)
Definition: htmliframe.c:296

◆ HTMLIFrameElement3_Invoke()

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

Definition at line 346 of file htmliframe.c.

349 {
351  return IDispatchEx_Invoke(&This->framebase.element.node.event_target.dispex.IDispatchEx_iface, dispIdMember,
352  riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
353 }
static HTMLIFrame * impl_from_IHTMLIFrameElement3(IHTMLIFrameElement3 *iface)
Definition: htmliframe.c:296
REFIID riid
Definition: precomp.h:44
_In_ DWORD _Out_ _In_ WORD wFlags
Definition: wincon.h:519

◆ HTMLIFrameElement3_put_frameBorder()

static HRESULT WINAPI HTMLIFrameElement3_put_frameBorder ( IHTMLIFrameElement3 *  iface,
BSTR  v 
)
static

Definition at line 401 of file htmliframe.c.

402 {
404  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
405  return E_NOTIMPL;
406 }
static HTMLIFrame * impl_from_IHTMLIFrameElement3(IHTMLIFrameElement3 *iface)
Definition: htmliframe.c:296
#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

◆ HTMLIFrameElement3_put_longDesc()

static HRESULT WINAPI HTMLIFrameElement3_put_longDesc ( IHTMLIFrameElement3 *  iface,
BSTR  v 
)
static

Definition at line 387 of file htmliframe.c.

388 {
390  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
391  return E_NOTIMPL;
392 }
static HTMLIFrame * impl_from_IHTMLIFrameElement3(IHTMLIFrameElement3 *iface)
Definition: htmliframe.c:296
#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

◆ HTMLIFrameElement3_put_src()

static HRESULT WINAPI HTMLIFrameElement3_put_src ( IHTMLIFrameElement3 *  iface,
BSTR  v 
)
static

Definition at line 373 of file htmliframe.c.

374 {
376  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
377  return E_NOTIMPL;
378 }
static HTMLIFrame * impl_from_IHTMLIFrameElement3(IHTMLIFrameElement3 *iface)
Definition: htmliframe.c:296
#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

◆ HTMLIFrameElement3_QueryInterface()

static HRESULT WINAPI HTMLIFrameElement3_QueryInterface ( IHTMLIFrameElement3 *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 301 of file htmliframe.c.

303 {
305 
306  return IHTMLDOMNode_QueryInterface(&This->framebase.element.node.IHTMLDOMNode_iface, riid, ppv);
307 }
static HTMLIFrame * impl_from_IHTMLIFrameElement3(IHTMLIFrameElement3 *iface)
Definition: htmliframe.c:296
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39

◆ HTMLIFrameElement3_Release()

static ULONG WINAPI HTMLIFrameElement3_Release ( IHTMLIFrameElement3 *  iface)
static

Definition at line 316 of file htmliframe.c.

317 {
319 
320  return IHTMLDOMNode_Release(&This->framebase.element.node.IHTMLDOMNode_iface);
321 }
static HTMLIFrame * impl_from_IHTMLIFrameElement3(IHTMLIFrameElement3 *iface)
Definition: htmliframe.c:296

◆ HTMLIFrameElement_AddRef()

static ULONG WINAPI HTMLIFrameElement_AddRef ( IHTMLIFrameElement *  iface)
static

Definition at line 41 of file htmliframe.c.

42 {
44 
45  return IHTMLDOMNode_AddRef(&This->framebase.element.node.IHTMLDOMNode_iface);
46 }
static HTMLIFrame * impl_from_IHTMLIFrameElement(IHTMLIFrameElement *iface)
Definition: htmliframe.c:28

◆ HTMLIFrameElement_get_align()

static HRESULT WINAPI HTMLIFrameElement_get_align ( IHTMLIFrameElement *  iface,
BSTR p 
)
static

Definition at line 122 of file htmliframe.c.

123 {
125  FIXME("(%p)->(%p)\n", This, p);
126  return E_NOTIMPL;
127 }
static HTMLIFrame * impl_from_IHTMLIFrameElement(IHTMLIFrameElement *iface)
Definition: htmliframe.c:28
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLIFrameElement_get_hspace()

static HRESULT WINAPI HTMLIFrameElement_get_hspace ( IHTMLIFrameElement *  iface,
LONG p 
)
static

Definition at line 108 of file htmliframe.c.

109 {
111  FIXME("(%p)->(%p)\n", This, p);
112  return E_NOTIMPL;
113 }
static HTMLIFrame * impl_from_IHTMLIFrameElement(IHTMLIFrameElement *iface)
Definition: htmliframe.c:28
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLIFrameElement_get_vspace()

static HRESULT WINAPI HTMLIFrameElement_get_vspace ( IHTMLIFrameElement *  iface,
LONG p 
)
static

Definition at line 94 of file htmliframe.c.

95 {
97  FIXME("(%p)->(%p)\n", This, p);
98  return E_NOTIMPL;
99 }
static HTMLIFrame * impl_from_IHTMLIFrameElement(IHTMLIFrameElement *iface)
Definition: htmliframe.c:28
#define FIXME(fmt,...)
Definition: debug.h:110
#define E_NOTIMPL
Definition: ddrawi.h:99
GLfloat GLfloat p
Definition: glext.h:8902

◆ HTMLIFrameElement_GetIDsOfNames()

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

Definition at line 70 of file htmliframe.c.

72 {
74  return IDispatchEx_GetIDsOfNames(&This->framebase.element.node.event_target.dispex.IDispatchEx_iface, riid,
75  rgszNames, cNames, lcid, rgDispId);
76 }
REFIID riid
Definition: precomp.h:44
static HTMLIFrame * impl_from_IHTMLIFrameElement(IHTMLIFrameElement *iface)
Definition: htmliframe.c:28

◆ HTMLIFrameElement_GetTypeInfo()

static HRESULT WINAPI HTMLIFrameElement_GetTypeInfo ( IHTMLIFrameElement *  iface,
UINT  iTInfo,
LCID  lcid,
ITypeInfo **  ppTInfo 
)
static

Definition at line 62 of file htmliframe.c.

64 {
66  return IDispatchEx_GetTypeInfo(&This->framebase.element.node.event_target.dispex.IDispatchEx_iface, iTInfo,
67  lcid, ppTInfo);
68 }
static HTMLIFrame * impl_from_IHTMLIFrameElement(IHTMLIFrameElement *iface)
Definition: htmliframe.c:28

◆ HTMLIFrameElement_GetTypeInfoCount()

static HRESULT WINAPI HTMLIFrameElement_GetTypeInfoCount ( IHTMLIFrameElement *  iface,
UINT pctinfo 
)
static

Definition at line 55 of file htmliframe.c.

56 {
58  return IDispatchEx_GetTypeInfoCount(&This->framebase.element.node.event_target.dispex.IDispatchEx_iface,
59  pctinfo);
60 }
static HTMLIFrame * impl_from_IHTMLIFrameElement(IHTMLIFrameElement *iface)
Definition: htmliframe.c:28

◆ HTMLIFrameElement_Invoke()

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

Definition at line 78 of file htmliframe.c.

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

◆ HTMLIFrameElement_put_align()

static HRESULT WINAPI HTMLIFrameElement_put_align ( IHTMLIFrameElement *  iface,
BSTR  v 
)
static

Definition at line 115 of file htmliframe.c.

116 {
118  FIXME("(%p)->(%s)\n", This, debugstr_w(v));
119  return E_NOTIMPL;
120 }
static HTMLIFrame * impl_from_IHTMLIFrameElement(IHTMLIFrameElement *iface)
Definition: htmliframe.c:28
#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

◆ HTMLIFrameElement_put_hspace()

static HRESULT WINAPI HTMLIFrameElement_put_hspace ( IHTMLIFrameElement *  iface,
LONG  v 
)
static

Definition at line 101 of file htmliframe.c.

102 {
104  FIXME("(%p)->(%d)\n", This, v);
105  return E_NOTIMPL;
106 }
static HTMLIFrame * impl_from_IHTMLIFrameElement(IHTMLIFrameElement *iface)
Definition: htmliframe.c:28
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLIFrameElement_put_vspace()

static HRESULT WINAPI HTMLIFrameElement_put_vspace ( IHTMLIFrameElement *  iface,
LONG  v 
)
static

Definition at line 87 of file htmliframe.c.

88 {
90  FIXME("(%p)->(%d)\n", This, v);
91  return E_NOTIMPL;
92 }
static HTMLIFrame * impl_from_IHTMLIFrameElement(IHTMLIFrameElement *iface)
Definition: htmliframe.c:28
#define FIXME(fmt,...)
Definition: debug.h:110
const GLdouble * v
Definition: gl.h:2040
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ HTMLIFrameElement_QueryInterface()

static HRESULT WINAPI HTMLIFrameElement_QueryInterface ( IHTMLIFrameElement *  iface,
REFIID  riid,
void **  ppv 
)
static

Definition at line 33 of file htmliframe.c.

35 {
37 
38  return IHTMLDOMNode_QueryInterface(&This->framebase.element.node.IHTMLDOMNode_iface, riid, ppv);
39 }
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39
static HTMLIFrame * impl_from_IHTMLIFrameElement(IHTMLIFrameElement *iface)
Definition: htmliframe.c:28

◆ HTMLIFrameElement_Release()

static ULONG WINAPI HTMLIFrameElement_Release ( IHTMLIFrameElement *  iface)
static

Definition at line 48 of file htmliframe.c.

49 {
51 
52  return IHTMLDOMNode_Release(&This->framebase.element.node.IHTMLDOMNode_iface);
53 }
static HTMLIFrame * impl_from_IHTMLIFrameElement(IHTMLIFrameElement *iface)
Definition: htmliframe.c:28

◆ impl_from_HTMLDOMNode()

static HTMLIFrame* impl_from_HTMLDOMNode ( HTMLDOMNode iface)
inlinestatic

Definition at line 432 of file htmliframe.c.

433 {
434  return CONTAINING_RECORD(iface, HTMLIFrame, framebase.element.node);
435 }
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 HTMLIFrame_bind_to_tree(), HTMLIFrame_destructor(), HTMLIFrame_get_dispid(), HTMLIFrame_get_document(), HTMLIFrame_get_readystate(), HTMLIFrame_invoke(), HTMLIFrame_QI(), HTMLIFrame_traverse(), and HTMLIFrame_unlink().

◆ impl_from_IHTMLIFrameElement()

static HTMLIFrame* impl_from_IHTMLIFrameElement ( IHTMLIFrameElement *  iface)
inlinestatic

Definition at line 28 of file htmliframe.c.

29 {
30  return CONTAINING_RECORD(iface, HTMLIFrame, IHTMLIFrameElement_iface);
31 }
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 HTMLIFrameElement_AddRef(), HTMLIFrameElement_get_align(), HTMLIFrameElement_get_hspace(), HTMLIFrameElement_get_vspace(), HTMLIFrameElement_GetIDsOfNames(), HTMLIFrameElement_GetTypeInfo(), HTMLIFrameElement_GetTypeInfoCount(), HTMLIFrameElement_Invoke(), HTMLIFrameElement_put_align(), HTMLIFrameElement_put_hspace(), HTMLIFrameElement_put_vspace(), HTMLIFrameElement_QueryInterface(), and HTMLIFrameElement_Release().

◆ impl_from_IHTMLIFrameElement2()

static HTMLIFrame* impl_from_IHTMLIFrameElement2 ( IHTMLIFrameElement2 *  iface)
inlinestatic

Definition at line 145 of file htmliframe.c.

146 {
147  return CONTAINING_RECORD(iface, HTMLIFrame, IHTMLIFrameElement2_iface);
148 }
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 HTMLIFrameElement2_AddRef(), HTMLIFrameElement2_get_height(), HTMLIFrameElement2_get_width(), HTMLIFrameElement2_GetIDsOfNames(), HTMLIFrameElement2_GetTypeInfo(), HTMLIFrameElement2_GetTypeInfoCount(), HTMLIFrameElement2_Invoke(), HTMLIFrameElement2_put_height(), HTMLIFrameElement2_put_width(), HTMLIFrameElement2_QueryInterface(), and HTMLIFrameElement2_Release().

◆ impl_from_IHTMLIFrameElement3()

static HTMLIFrame* impl_from_IHTMLIFrameElement3 ( IHTMLIFrameElement3 *  iface)
inlinestatic

Definition at line 296 of file htmliframe.c.

297 {
298  return CONTAINING_RECORD(iface, HTMLIFrame, IHTMLIFrameElement3_iface);
299 }
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 HTMLIFrameElement3_AddRef(), HTMLIFrameElement3_get_contentDocument(), HTMLIFrameElement3_get_frameBorder(), HTMLIFrameElement3_get_longDesc(), HTMLIFrameElement3_get_src(), HTMLIFrameElement3_GetIDsOfNames(), HTMLIFrameElement3_GetTypeInfo(), HTMLIFrameElement3_GetTypeInfoCount(), HTMLIFrameElement3_Invoke(), HTMLIFrameElement3_put_frameBorder(), HTMLIFrameElement3_put_longDesc(), HTMLIFrameElement3_put_src(), HTMLIFrameElement3_QueryInterface(), and HTMLIFrameElement3_Release().

Variable Documentation

◆ HTMLIFrame_dispex

dispex_static_data_t HTMLIFrame_dispex
static
Initial value:
= {
DispHTMLIFrame_tid,
}
static const tid_t HTMLIFrame_iface_tids[]
Definition: htmliframe.c:569
smooth NULL
Definition: ftsmooth.c:416

Definition at line 579 of file htmliframe.c.

Referenced by HTMLIFrame_Create().

◆ HTMLIFrame_iface_tids

const tid_t HTMLIFrame_iface_tids[]
static
Initial value:
= {
IHTMLFrameBase_tid,
IHTMLFrameBase2_tid,
IHTMLIFrameElement_tid,
IHTMLIFrameElement2_tid,
IHTMLIFrameElement3_tid,
0
}
#define HTMLELEMENT_TIDS

Definition at line 569 of file htmliframe.c.

◆ HTMLIFrameElement2Vtbl

const IHTMLIFrameElement2Vtbl HTMLIFrameElement2Vtbl
static
Initial value:
= {
}
static HRESULT WINAPI HTMLIFrameElement2_QueryInterface(IHTMLIFrameElement2 *iface, REFIID riid, void **ppv)
Definition: htmliframe.c:150
static HRESULT WINAPI HTMLIFrameElement2_GetTypeInfo(IHTMLIFrameElement2 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmliframe.c:179
static HRESULT WINAPI HTMLIFrameElement2_get_width(IHTMLIFrameElement2 *iface, VARIANT *p)
Definition: htmliframe.c:267
static HRESULT WINAPI HTMLIFrameElement2_get_height(IHTMLIFrameElement2 *iface, VARIANT *p)
Definition: htmliframe.c:228
static HRESULT WINAPI HTMLIFrameElement2_Invoke(IHTMLIFrameElement2 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmliframe.c:195
static HRESULT WINAPI HTMLIFrameElement2_put_height(IHTMLIFrameElement2 *iface, VARIANT v)
Definition: htmliframe.c:204
static HRESULT WINAPI HTMLIFrameElement2_put_width(IHTMLIFrameElement2 *iface, VARIANT v)
Definition: htmliframe.c:243
static ULONG WINAPI HTMLIFrameElement2_AddRef(IHTMLIFrameElement2 *iface)
Definition: htmliframe.c:158
static ULONG WINAPI HTMLIFrameElement2_Release(IHTMLIFrameElement2 *iface)
Definition: htmliframe.c:165
static HRESULT WINAPI HTMLIFrameElement2_GetIDsOfNames(IHTMLIFrameElement2 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmliframe.c:187
static HRESULT WINAPI HTMLIFrameElement2_GetTypeInfoCount(IHTMLIFrameElement2 *iface, UINT *pctinfo)
Definition: htmliframe.c:172

Definition at line 282 of file htmliframe.c.

Referenced by HTMLIFrame_Create().

◆ HTMLIFrameElement3Vtbl

const IHTMLIFrameElement3Vtbl HTMLIFrameElement3Vtbl
static
Initial value:
= {
}
static HRESULT WINAPI HTMLIFrameElement3_get_contentDocument(IHTMLIFrameElement3 *iface, IDispatch **p)
Definition: htmliframe.c:355
static HRESULT WINAPI HTMLIFrameElement3_GetTypeInfoCount(IHTMLIFrameElement3 *iface, UINT *pctinfo)
Definition: htmliframe.c:323
static HRESULT WINAPI HTMLIFrameElement3_put_src(IHTMLIFrameElement3 *iface, BSTR v)
Definition: htmliframe.c:373
static HRESULT WINAPI HTMLIFrameElement3_QueryInterface(IHTMLIFrameElement3 *iface, REFIID riid, void **ppv)
Definition: htmliframe.c:301
static HRESULT WINAPI HTMLIFrameElement3_GetIDsOfNames(IHTMLIFrameElement3 *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmliframe.c:338
static HRESULT WINAPI HTMLIFrameElement3_get_src(IHTMLIFrameElement3 *iface, BSTR *p)
Definition: htmliframe.c:380
static HRESULT WINAPI HTMLIFrameElement3_put_frameBorder(IHTMLIFrameElement3 *iface, BSTR v)
Definition: htmliframe.c:401
static HRESULT WINAPI HTMLIFrameElement3_GetTypeInfo(IHTMLIFrameElement3 *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmliframe.c:330
static ULONG WINAPI HTMLIFrameElement3_AddRef(IHTMLIFrameElement3 *iface)
Definition: htmliframe.c:309
static HRESULT WINAPI HTMLIFrameElement3_Invoke(IHTMLIFrameElement3 *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmliframe.c:346
static ULONG WINAPI HTMLIFrameElement3_Release(IHTMLIFrameElement3 *iface)
Definition: htmliframe.c:316
static HRESULT WINAPI HTMLIFrameElement3_put_longDesc(IHTMLIFrameElement3 *iface, BSTR v)
Definition: htmliframe.c:387
static HRESULT WINAPI HTMLIFrameElement3_get_frameBorder(IHTMLIFrameElement3 *iface, BSTR *p)
Definition: htmliframe.c:408
static HRESULT WINAPI HTMLIFrameElement3_get_longDesc(IHTMLIFrameElement3 *iface, BSTR *p)
Definition: htmliframe.c:394

Definition at line 415 of file htmliframe.c.

Referenced by HTMLIFrame_Create().

◆ HTMLIFrameElementVtbl

const IHTMLIFrameElementVtbl HTMLIFrameElementVtbl
static
Initial value:
= {
}
static HRESULT WINAPI HTMLIFrameElement_GetTypeInfoCount(IHTMLIFrameElement *iface, UINT *pctinfo)
Definition: htmliframe.c:55
static HRESULT WINAPI HTMLIFrameElement_GetIDsOfNames(IHTMLIFrameElement *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
Definition: htmliframe.c:70
static ULONG WINAPI HTMLIFrameElement_Release(IHTMLIFrameElement *iface)
Definition: htmliframe.c:48
static HRESULT WINAPI HTMLIFrameElement_put_vspace(IHTMLIFrameElement *iface, LONG v)
Definition: htmliframe.c:87
static HRESULT WINAPI HTMLIFrameElement_put_align(IHTMLIFrameElement *iface, BSTR v)
Definition: htmliframe.c:115
static HRESULT WINAPI HTMLIFrameElement_Invoke(IHTMLIFrameElement *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
Definition: htmliframe.c:78
static ULONG WINAPI HTMLIFrameElement_AddRef(IHTMLIFrameElement *iface)
Definition: htmliframe.c:41
static HRESULT WINAPI HTMLIFrameElement_get_hspace(IHTMLIFrameElement *iface, LONG *p)
Definition: htmliframe.c:108
static HRESULT WINAPI HTMLIFrameElement_GetTypeInfo(IHTMLIFrameElement *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
Definition: htmliframe.c:62
static HRESULT WINAPI HTMLIFrameElement_get_vspace(IHTMLIFrameElement *iface, LONG *p)
Definition: htmliframe.c:94
static HRESULT WINAPI HTMLIFrameElement_get_align(IHTMLIFrameElement *iface, BSTR *p)
Definition: htmliframe.c:122
static HRESULT WINAPI HTMLIFrameElement_put_hspace(IHTMLIFrameElement *iface, LONG v)
Definition: htmliframe.c:101
static HRESULT WINAPI HTMLIFrameElement_QueryInterface(IHTMLIFrameElement *iface, REFIID riid, void **ppv)
Definition: htmliframe.c:33

Definition at line 129 of file htmliframe.c.

Referenced by HTMLIFrame_Create().

◆ HTMLIFrameImplVtbl

const NodeImplVtbl HTMLIFrameImplVtbl
static
Initial value:
= {
}
static void HTMLIFrame_traverse(HTMLDOMNode *iface, nsCycleCollectionTraversalCallback *cb)
Definition: htmliframe.c:529
HRESULT HTMLElement_handle_event(HTMLDOMNode *iface, DWORD eid, nsIDOMEvent *event, BOOL *prevent_default)
Definition: htmlelem.c:3815
const cpc_entry_t HTMLElement_cpc[]
Definition: htmlelem.c:3847
static HRESULT HTMLIFrame_bind_to_tree(HTMLDOMNode *iface)
Definition: htmliframe.c:511
HRESULT HTMLElement_get_attr_col(HTMLDOMNode *iface, HTMLAttributeCollection **ac)
Definition: htmlelem.c:4827
static HRESULT HTMLIFrame_get_document(HTMLDOMNode *iface, IDispatch **p)
Definition: htmliframe.c:465
static void HTMLIFrame_destructor(HTMLDOMNode *iface)
Definition: htmliframe.c:458
smooth NULL
Definition: ftsmooth.c:416
static void HTMLIFrame_unlink(HTMLDOMNode *iface)
Definition: htmliframe.c:537
static HRESULT HTMLIFrame_invoke(HTMLDOMNode *iface, DISPID id, LCID lcid, WORD flags, DISPPARAMS *params, VARIANT *res, EXCEPINFO *ei, IServiceProvider *caller)
Definition: htmliframe.c:490
HRESULT HTMLElement_clone(HTMLDOMNode *iface, nsIDOMNode *nsnode, HTMLDOMNode **ret)
Definition: htmlelem.c:3793
static HRESULT HTMLIFrame_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
Definition: htmliframe.c:437
static HRESULT HTMLIFrame_get_readystate(HTMLDOMNode *iface, BSTR *p)
Definition: htmliframe.c:504
static HRESULT HTMLIFrame_get_dispid(HTMLDOMNode *iface, BSTR name, DWORD grfdex, DISPID *pid)
Definition: htmliframe.c:479

Definition at line 549 of file htmliframe.c.

Referenced by HTMLIFrame_Create().