Home COM GDI+ WebBrowser Data Access

IViewRowset Interface

 

IID_IViewRowset

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

 

 

IViewRowset enables the consumer to create or apply view operations when opening a rowset.

 

Documentation: IViewRowset

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IViewRowset Methods

Description

GetSpecification

Returns the filter condition associated with a view.

OpenViewRowset

Returns the bindings used to describe the filter conditions associated with a view.

 

QueryInterface

 

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

END FUNCTION

 

 

AddRef

 

FUNCTION IViewRowset_AddRef ( _

  BYVAL pthis AS DWORD PTR _

) AS DWORD
 

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

END FUNCTION

 

 

Release

 

FUNCTION IViewRowset_Release ( _

  BYVAL pthis AS DWORD PTR _

) AS DWORD
 

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

END FUNCTION

 

 

GetSpecification

 

FUNCTION IViewRowset_GetSpecification ( _
  BYVAL pthis AS DWORD PTR _

, BYREF riid AS GUID _

, BYREF ppObject AS DWORD _

) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IViewRowset_GetSpecification (pthis, riid, ppObject) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

OpenViewRowset

 

FUNCTION IViewRowset_OpenViewRowset ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL pUnkOuter AS DWORD _

, BYREF riid AS GUID _

, BYREF ppRowset AS DWORD _

) AS LONG


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

END FUNCTION

 

 

Page last updated on Saturday, 07 January 2006 20:34:39 +0100