Home COM GDI+ WebBrowser Data Access

IRow Interface

 

IID_IRow

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

 

 

The IRow interface allows a consumer to read column data from a row object or to obtain the source rowset of the row object.

 

Documentation: IRow

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IRow Methods

Description

GetColumns

Gets multiple columns from the row.

GetSourceRowset

Returns an interface pointer on the rowset object containing the row from which the row object was created.

Open

Opens an object-valued column.

 

QueryInterface

 

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

END FUNCTION

 

 

AddRef

 

FUNCTION IRow_AddRef ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

Release

 

FUNCTION IRow_Release ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

GetColumns

 

FUNCTION IRow_GetColumns ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL cColumns AS DWORD _

, BYVAL rgColumns AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IRow_GetColumns (pthis, cColumns, rgColumns) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetSourceRowset

 

FUNCTION IRow_GetSourceRowset ( _
  BYVAL pthis AS DWORD PTR _

, BYREF riid AS GUID _

, BYREF ppRowset AS DWORD _

, BYREF phRow AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IRow_GetSourceRowset (pthis, riid, ppRowset, phRow) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Open

 

FUNCTION IRow_Open ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL pUnkOuter AS DWORD _

, BYREF pColumnID AS DBID _

, BYREF rguidColumnType AS GUID _

, BYVAL dwBindFlags AS DWORD _

, BYREF riid AS GUID _

, BYREF ppUnk AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[5] USING IRow_Open (pthis, pUnkOuter, pColumnID, rguidColumnType, dwBindFlags, riid, ppUnk) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

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