Home COM GDI+ WebBrowser Data Access

IColumnsInfo Interface

 

IID_IColumnsInfo

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

 

 

IColumnsInfo is the simpler of two interfaces that can be used to expose information about columns of a rowset or prepared command. It provides a limited set of information in an array.

 

Documentation: IColumnsInfo

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IColumnsInfo Methods

Description

GetColumnInfo

Returns the column metadata needed by most consumers.

MapColumnIDs

Returns an array of ordinals of the columns in a rowset that are identified by the specified column IDs.

 

GetColumnInfo

 

FUNCTION IColumnsInfo_GetColumnInfo (_
  BYVAL pthis AS DWORD PTR _

, BYREF pcColumns AS DWORD _

, BYREF prgInfo AS DBCOLUMNINFO _

, BYREF ppStringsBuffer AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[3] USING IColumnsInfo_GetColumnInfo (pthis, pcColumns, prgInfo, ppStringsBuffer) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

MapColumnIDs

 

FUNCTION IColumnsInfo_MapColumnIDs (_
  BYVAL pthis AS DWORD PTR _

, BYVAL cColumnIDs AS DWORD _

, BYVAL rgColumnIDs AS DBID _

, BYREF rgColumns AS DWORD _

  ) AS LONG


  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IColumnsInfo_MapColumnIDs (pthis, cColumnIDs, rgColumnIDs, rgColumns) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Saturday, 11 November 2006 01:33:55 +0100