Home COM GDI+ WebBrowser Data Access

ISegmentListIterator Interface

 

IID_ISegmentListIterator

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

 

 

This interface provides methods that enable you to traverse a segment list represented by an ISegmentList interface and retrieve its individual members.

 

Documentation: ISegmentListIterator Interface

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

ISegmentListIterator Method

Description

Current

Retrieves the current segment.

First

Moves the iterator to the first item in the segment list.

IsDone

Determines whether the iterator is at the end of the list.

Advance

Moves the iterator to the next item in the segment list.

 

Current

 

FUNCTION ISegmentListIterator_Current ( _
  BYVAL pthis AS DWORD PTR _
, BYREF ppISegment AS DWORD _
  ) AS LONG

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

END FUNCTION

 

 

First

 

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

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

END FUNCTION

 

 

IsDone

 

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

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

END FUNCTION

 

 

Advance

 

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

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

END FUNCTION

 

 

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