Home COM GDI+ WebBrowser Data Access

IOpenRowset Interface

 

IID_IOpenRowset

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

 

 

IOpenRowset is a required interface on the session. It can be supported by providers that do not support creating rowsets through commands.

 

The IOpenRowset model enables consumers to open and work directly with individual tables or indexes in a data store by using IOpenRowset::OpenRowset, which generates a rowset of all rows in the table or index.

 

Documentation: IOpenRowset

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IOpenRowset Methods

Description

OpenRowset

Opens and returns a rowset that includes all rows from a single base table or index.

 

QueryInterface

 

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

END FUNCTION

 

 

AddRef

 

FUNCTION IOpenRowset_AddRef ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

Release

 

FUNCTION IOpenRowset_Release ( _

  BYVAL pthis AS DWORD PTR _

  ) AS DWORD
 

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

END FUNCTION

 

 

OpenRowset

 

FUNCTION IOpenRowset_OpenRowset ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL pUnkOuter AS DWORD _

, BYVAL pTableID AS DWORD _

, BYVAL pIndexID AS DWORD _

, BYREF riid AS GUID _

, BYVAL cPropertySets AS DWORD _

, BYREF rgPropertySets AS DWORD _

, BYREF ppRowset AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IOpenRowset_OpenRowset (pthis, pUnkOuter, pTableID, pIndexID, riid, cPropertySets, rgPropertySets, ppRowset) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

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