Home COM GDI+ WebBrowser Data Access

IMarkupContainer2 Interface

 

IID_IMarkupContainer2

{3050F648-98B5-11CF-BB82-00AA00BDCE0B}

 

 

This interface provides methods that control a markup container.

 

Documentation: IMarkupContainer2 Interface

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IMarkupContainer Method2

Description

OwningDoc

Retrieves the top-level document associated with this object.

IMarkupContainer2 Methods

Description

CreateChangeLog

Creates a change log for a markup container and registers the change log to receive notice of any changes that take place in the container.

RegisterForDirtyRange

Registers a given IHTMLChangeSink interface to receive dirty range notification from the markup container.

UnregisterForDirtyRange

Stops any further dirty range notification, corresponding to a given cookie, from the markup container.

GetAndClearDirtyRange

Retrieves and resets the dirty range associated with the given cookie.

GetVersionNumber

Retrieves a version number that represents the number of changes in a markup container's content.

GetMasterElement

Retrieves the master element when a markup container belongs to a document that is a child of another one (like a frame within a frameSet).

 

OwningDoc

 

FUNCTION IMarkupContainer2_OwningDoc ( _
  BYVAL pthis AS DWORD PTR _
, BYREF ppdoc AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IMarkupContainer2_OwningDoc (pthis, ppdoc) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

 

CreateChangeLog

 

FUNCTION IMarkupContainer2_CreateChangeLog ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pChangeSink AS DWORD _
, BYREF ppChangeLog AS DWORD _
, BYVAL fForward AS DWORD _
, BYVAL fBackward AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[24] USING IMarkupContainer2_CreateChangeLog (pthis, pChangeSink, ppChangeLog, fForward, fBackward) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

RegisterForDirtyRange

 

FUNCTION IMarkupContainer2_RegisterForDirtyRange ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pChangeSink AS DWORD _
, BYREF pdwCookie AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[25] USING IMarkupContainer2_RegisterForDirtyRange (pthis, pChangeSink, pdwCookie) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

UnregisterForDirtyRange

 

FUNCTION IMarkupContainer2_UnregisterForDirtyRange ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL dwCookie AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[26] USING IMarkupContainer2_UnregisterForDirtyRange (pthis, dwCookie) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetAndClearDirtyRange

 

FUNCTION IMarkupContainer2_GetAndClearDirtyRange ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL dwCookie AS DWORD _
, BYVAL pIPointerBegin AS DWORD _
, BYVAL pIPointerEnd AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[27] USING IMarkupContainer2_GetAndClearDirtyRange (pthis, dwCookie, pIPointerBegin, pIPointerEnd) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetVersionNumber

 

FUNCTION IMarkupContainer2_GetVersionNumber ( _
  BYVAL pthis AS DWORD PTR _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[28] USING IMarkupContainer2_GetVersionNumber (pthis) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetMasterElement

 

FUNCTION IMarkupContainer2_GetMasterElement ( _
  BYVAL pthis AS DWORD PTR _
, BYREF ppElementMaster AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[29] USING IMarkupContainer2_GetMasterElement (pthis, ppElementMaster) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Monday, 03 April 2006 20:00:12 +0200