Home COM GDI+ WebBrowser Data Access

IRowsetChange Interface

 

IID_IRowsetChange

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

 

 

The methods in IRowsetChange are used to update the values of columns in existing rows, delete existing rows, and insert new rows.

IRowsetChange requires IAccessor and IRowset.

 

Documentation: IRowsetChange

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IRowsetChange Methods

Description

DeleteRows

Deletes rows.

SetData

Sets data in one or more columns in a row.

InsertRow

Creates and initializes a new row.

 

QueryInterface

 

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

END FUNCTION

 

 

AddRef

 

FUNCTION IRowsetChange_AddRef ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

Release

 

FUNCTION IRowsetChange_Release ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

DeleteRows

 

FUNCTION IRowsetChange_DeleteRows ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL hChapter AS DWORD _

, BYVAL cRows AS DWORD _

, BYVAL rghRows AS DWORD _

, BYREF rgRowStatus AS DWORD _

  ) AS LONG


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

END FUNCTION

 

 

SetData

 

FUNCTION IRowsetChange_SetData ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL hRow AS DWORD _

, BYVAL hAccessor AS DWORD _

, BYVAL pData AS DWORD _

  ) AS LONG


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

END FUNCTION

 

 

InsertRow

 

FUNCTION IRowsetChange_InsertRow ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL hChapter AS DWORD _

, BYVAL hAccessor AS DWORD _

, BYVAL pData AS DWORD _

, BYREF phRow AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[5] USING IRowsetChange_InsertRow (pthis, hChapter, hAccessor, pData, phRow) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

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