Home COM GDI+ WebBrowser Data Access

ISegmentList Interface

 

IID_ISegmentList

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

 

 

This interface provides methods that access information about a list of the segments in the current selection.

 

Documentation: ISegmentList Interface

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

ISegmentList Method

Description

CreateIterator

Creates an ISegmentListIterator interface used for traversing a segment list's members.

GetType

Retrieves the type of the selection.

IsEmpty

Determines whether the segment list is empty.

 

CreateIterator

 

FUNCTION ISegmentList_CreateIterator ( _
  BYVAL pthis AS DWORD PTR _
, BYREF ppIIter AS DWORD _
  ) AS LONG

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

END FUNCTION

 

 

GetType

 

FUNCTION ISegmentList_GetType ( _
  BYVAL pthis AS DWORD PTR _
, BYREF peType AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING ISegmentList_GetType (pthis, peType) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

IsEmpty

 

FUNCTION ISegmentList_IsEmpty ( _
  BYVAL pthis AS DWORD PTR _
, BYREF pfEmpty AS DWORD _
  ) AS LONG

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

END FUNCTION

 

 

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