Home COM GDI+ WebBrowser Data Access

IRowPosition Interface

 

IID_IRowPosition

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

 

 

IRowPosition allows multiple components to share the concept of a current row over a rowset.

 

Documentation: IRowPosition

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IRowPosition Methods

Description

ClearRowPosition

Clears the row position.

GetRowPosition

Retrieves the current row position.

GetRowset

Returns the current underlying Rowset.

Initialize

Sets the Rowset to be used by the row position object.

SetRowPosition

Sets the current row position.

 

QueryInterface

 

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

END FUNCTION

 

 

AddRef

 

FUNCTION IRowPosition_AddRef ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

Release

 

FUNCTION IRowPosition_Release ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

ClearRowPosition

 

FUNCTION IRowPosition_ClearRowPosition ( _
  BYVAL pthis AS DWORD PTR _

  ) AS LONG


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

END FUNCTION

 

 

GetRowPosition

 

FUNCTION IRowPosition_GetRowPosition ( _
  BYVAL pthis AS DWORD PTR _

, BYREF hChapter AS DWORD _

, BYREF phRow AS DWORD _

, BYREF pdwPositionFlags AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IRowPosition_GetRowPosition (pthis, hChapter, phRow, pdwPositionFlags) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetRowset

 

FUNCTION IRowPosition_GetRowset ( _
  BYVAL pthis AS DWORD PTR _

, BYREF riid AS GUID _

, BYREF ppRowset AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[5] USING IRowPosition_GetRowset (pthis, riid, ppRowset) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Initialize

 

FUNCTION IRowPosition_Initialize ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL pRowset AS DWORD _

  ) AS LONG


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

END FUNCTION

 

 

SetRowPosition

 

FUNCTION IRowPosition_SetRowPosition ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL hChapter AS DWORD _

, BYVAL hRow AS DWORD _

, BYVAL dwPositionFlags AS DWORD _

  ) AS LONG


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

END FUNCTION

 

 

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