Home COM GDI+ WebBrowser Data Access

IHighlightRenderingServices Interface

 

IID_IHighlightRenderingServices

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

 

 

This interface provides methods that enable you to control which sections of a document are highlighted on the screen and the style of highlighting.

 

Documentation: IHighlightRenderingServices Interface

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IHighlightRenderingServices Methods

Description

AddSegment

Creates a highlight segment for the markup between two display pointers and highlights it according to a specified rendering style.

MoveSegmentToPointers

Redefines a highlight segment and its style.

RemoveSegment

Removes a highlight segment from the collection of those that are highlighted.

 

AddSegment

 

FUNCTION IHighlightRenderingServices_AddSegment ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pDispPointerStart AS DWORD _
, BYVAL pDispPointerEnd AS DWORD _
, BYVAL pIRenderStyle AS DWORD _
, BYREF ppISegment AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IHighlightRenderingServices_AddSegment (pthis, pDispPointerStart, pDispPointerEnd, pIRenderStyle, ppISegment) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

MoveSegmentToPointers

 

FUNCTION IHighlightRenderingServices_MoveSegmentToPointers ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pISegment AS DWORD _
, BYVAL pDispPointerStart AS DWORD _
, BYVAL pDispPointerEnd AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IHighlightRenderingServices_MoveSegmentToPointers (pthis, pISegment, pDispPointerStart, pDispPointerEnd) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

RemoveSegment

 

FUNCTION IHighlightRenderingServices_RemoveSegment ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL pISegment AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[5] USING IHighlightRenderingServices_RemoveSegment (pthis, pISegment) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Monday, 03 April 2006 19:52:59 +0200