Home COM GDI+ WebBrowser Data Access

IRowsetCurrentIndex Interface

 

IID_IRowsetCurrentIndex

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

 

 

IRowsetCurrentIndex is the interface for determining and selecting a specific index for a rowset. This is limited to rowsets that expose IRowsetIndex. IRowsetCurrentIndex provides a mechanism for providers to reorder their rows without reopening the rowset. This interface can be effective for both integrated and nonintegrated indexes. For a complete description of indexes, see Chapter 10: Index Rowsets and Chapter 11: Integrated Indexes.

 

Documentation: IRowsetCurrentIndex

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IRowsetCurrentIndex Methods

Description

GetIndex

Gets the current index on the rowset.

SetIndex

Sets the current index on the rowset.

 

QueryInterface

 

FUNCTION IRowsetCurrentIndex_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 IRowsetCurrentIndex_QueryInterface (pthis, riid, ppvObj) TO HRESULT
  FUNCTION = HRESULT
 

END FUNCTION

 

 

AddRef

 

FUNCTION IRowsetCurrentIndex_AddRef ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

Release

 

FUNCTION IRowsetCurrentIndex_Release ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

GetIndex

 

FUNCTION IRowsetCurrentIndex_GetIndex ( _
  BYVAL pthis AS DWORD PTR _

, BYREF ppIndexID AS DWORD _

  ) AS LONG


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

END FUNCTION

 

 

SetIndex

 

FUNCTION IRowsetCurrentIndex_SetIndex ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL ppIndexID AS DWORD _

  ) AS LONG


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

END FUNCTION

 

 

Page last updated on Wednesday, 15 February 2006 23:42:27 +0100