Home COM GDI+ WebBrowser Data Access

IColumnsInfo Interface

 

IID_IColumnsRowset

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

 

 

This interface supplies complete information about columns in a rowset. The methods in it can be called from a rowset or a command.

 

Documentation: IColumnsRowset

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IColumnsRowset Methods

Description

GetAvailableColumns

Returns a list of optional metadata columns that can be supplied in a column's rowset.

GetColumnsRowset

Returns a rowset containing metadata about each column in the current rowset. The rowset is known as the column metadata rowset and is read-only.

 

GetAvailableColumns

 

FUNCTION IColumnsRowset_GetAvailableColumns ( _
  BYVAL pthis AS DWORD PTR _

, BYREF pcOptColumns AS DWORD _

, BYREF prgOptColumns AS DBID _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IColumnsRowset_GetAvailableColumns (pthis, pcOptCOlumns, prgOptCOlumns) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

GetColumnsRowset

 

FUNCTION IColumnsRowset_GetColumnsRowset ( _
  BYVAL pthis AS DWORD PTR _

, BYVAL pUnkOuter AS DWORD _

, BYVAL cOptColumns AS DWORD _

, BYVAL rgOptColumns AS DWORD _

, BYREF riid AS GUID _

, BYVAL cPropertySets AS DWORD _

, BYREF rgPropertySets AS DBPROPSET _

, BYREF ppColRowset AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IColumnsRowset_GetColumnsRowset (pthis, pUnkOuter, cOptColumns, rgOptColumns, riid, cPropertySets, rgPropertySets, ppColRowset) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Saturday, 11 November 2006 01:47:15 +0100