Home COM GDI+ WebBrowser Data Access

IRowsetScroll Interface

 

IID_IRowsetScroll

{0C733A7E-2A1C-11CE-ADE5-00AA0044773D}

 

 

IRowsetScroll enables consumers to fetch rows at approximate positions in the rowset.

 

Documentation: IRowsetScroll

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IRowset Methods

Description

AddRefRows

Adds a reference count to an existing row handle.

GetData

Retrieves data from the rowset's copy of the row.

GetNextRows

Fetches rows sequentially, remembering the previous position.

ReleaseRows

Releases rows.

RestartPosition

Repositions the next fetch position to its initial position; that is, its position when the rowset was first created.

IRowsetLocate Methods

Description

Compare

Compares two bookmarks.

GetRowsAt

Fetches rows, starting with the row specified by an offset from a bookmark.

GetRowsByBookmark

Fetches the rows that match the specified bookmarks.

Hash

Returns hash values for the specified bookmarks.

IRowsetScroll Methods

Description

GetApproximatePosition

Gets the approximate position of a row corresponding to a specified bookmark.

GetRowsAtRatio

Fetches rows starting from a fractional position in the rowset.

 

QueryInterface

 

FUNCTION IRowsetScroll_QueryInterface ( _

  BYVAL pthis AS DWORD PTR _

, BYREF riid AS GUID _

, BYREF ppvObj AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[0] USING IRowsetScroll_QueryInterface (pthis, riid, ppvObj) TO HRESULT
  FUNCTION = HRESULT
 

END FUNCTION

 

 

AddRef

 

FUNCTION IRowsetScroll_AddRef ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

  LOCAL DWRESULT AS LONG
  CALL DWORD @@pthis[1] USING IRowsetScroll_AddRef (pthis) TO DWRESULT
  FUNCTION = DWRESULT
 

END FUNCTION

 

 

Release

 

FUNCTION IRowsetScroll_Release ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

  LOCAL DWRESULT AS DWORD
  CALL DWORD @@pthis[2] USING IRowsetScroll_Release (pthis) TO DWRESULT
  FUNCTION = DWRESULT
 

END FUNCTION

 

 

AddRefRows

 

FUNCTION IRowsetScroll_AddRefRows ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL cRows AS DWORD _

, BYVAL rghRows AS DWORD _

, BYREF rgRefCounts AS DWORD _

, BYREF rgRowStatus AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IRowsetScroll_AddRefRows (pthis, cRows, rghRows, rgRefCounts, rgRowStatus) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetData

 

FUNCTION IRowsetScroll_GetData ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL hRow AS DWORD _

, BYVAL hAccessor AS DWORD _

, BYREF pData AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IRowsetScroll_GetData (pthis, hRow, hAccessor, pData) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetNextRows

 

FUNCTION IRowsetScroll_GetNextRows ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL hChapter AS DWORD _

, BYVAL lRowsOffset AS LONG _

, BYVAL cRows AS LONG _

, BYREF pcRowsObtained AS DWORD _

, BYREF prghRows AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[5] USING IRowsetScroll_GetNextRows (pthis, hChapter, lRowsOffset, cRows, pcRowsObtained, prghRows) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

ReleaseRows

 

FUNCTION IRowsetScroll_ReleaseRows ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL cRows AS DWORD _

, BYVAL rghRows AS DWORD _

, BYVAL rgRowOptions AS DWORD _

, BYREF rgRefCounts AS DWORD _

, BYREF rgRowStatus AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[6] USING IRowsetScroll_ReleaseRows (pthis, cRows, rghRows, rgRowOptions, rgRefCounts, rgRowStatus) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

RestartPosition

 

FUNCTION IRowsetScroll_RestartPosition ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL hChapter AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[7] USING IRowsetScroll_RestartPosition (pthis, hChapter) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Compare

 

FUNCTION IRowsetScroll_Compare ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL hChapter AS DWORD _

, BYVAL cbBookmark1 AS DWORD _

, BYVAL pBookmark1 AS DWORD _

, BYVAL cbBookmark2 AS DWORD _

, BYVAL pBookmark2 AS DWORD _

, BYREF pComparison AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[8] USING IRowsetScroll_Compare (pthis, hChapter, cbBookmark1, pBookmark1, cbBookmark2, pBookmark2, pComparison) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetRowsAt

 

FUNCTION IRowsetScroll_GetRowsAt ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL hReserved1 AS DWORD _

, BYVAL hChapter AS DWORD _

, BYVAL cbBookmark AS DWORD _

, BYVAL pBookmark AS DWORD _

, BYVAL lRowsOffset AS LONG _

, BYVAL cRows AS LONG _

, BYREF pcRowsObtained AS DWORD _

, BYREF prghRows AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[9] USING IRowsetScroll_GetRowsAt (pthis, hReserved1, hChapter, cbBookmark, pBookmark, lRowsOffset, cRows, pcRowsObtained, prghRows) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetRowsByBoomark

 

FUNCTION IRowsetScroll_GetRowsByBookmark ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL hChapter AS DWORD _

, BYVAL cRows AS DWORD _

, BYVAL rgcbBookmarks AS DWORD _

, BYVAL rgpBookmarks AS DWORD _

, BYREF rghRows AS DWORD _

, BYREF rgRowStatus AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[10] USING IRowsetScroll_GetRowsByBookmark (pthis, hChapter, cRows, rgcbBookmarks, rgpBookmarks, rghRows, rgRowStatus) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetRowsByBoomark

 

FUNCTION IRowsetScroll_Hash ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL hChapter AS DWORD _

, BYVAL cBookmarks AS DWORD _

, BYVAL rgcbBookmarks AS DWORD _

, BYVAL rgpBookmarks AS DWORD _

, BYREF rgHashedValues AS DWORD _

, BYREF rgBookmarkStatus AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[11] USING IRowsetScroll_Hash (pthis, hChapter, cBookmarks, rgcbBookmarks, rgpBookmarks, rgHashedValues, rgBookmarkStatus) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetApproximatePosition

 

FUNCTION IRowsetScroll_GetApproximatePosition ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL hChapter AS DWORD _

, BYVAL cbBookmark AS DWORD _

, BYVAL pBookmark AS DWORD _

, BYREF pulPosition AS DWORD _

, BYREF pcRows AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[12] USING IRowsetScroll_GetApproximatePosition (pthis, hChapter, cbBookmark, pBookmark, pulPosition, pcRows) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetRowsAtRatio

 

FUNCTION IRowsetScroll_GetRowsAtRatio ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL hReserved1 AS DWORD _

, BYVAL hChapter AS DWORD _

, BYVAL ulNumerator AS DWORD _

, BYVAL ulDenominator AS DWORD _

, BYVAL cRows AS LONG _

, BYREF pcRowsObtained AS DWORD _

, BYREF prghRows AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[13] USING IRowsetScroll_GetRowsAtRatio (pthis, hReserved1, hChapter, ulNumerator, ulDenominator, cRows, pcRowsObtained, prghRows) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Wednesday, 15 February 2006 23:47:05 +0100