CAccessorRowset::GetColumnInfo
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at CAccessorRowset::GetColumnInfo.
Gets column information from the opened rowset.
Syntax
HRESULT GetColumnInfo(
DBORDINAL* pulColumns,
DBCOLUMNINFO** ppColumnInfo,
LPOLESTR* ppStrings
) const;
HRESULT GetColumnInfo(
DBORDINAL* pColumns,
DBCOLUMNINFO** ppColumnInfo
);
Parameters
See IColumnsInfo::GetColumnInfo in the OLE DB Programmer's Reference.
Return Value
A standard HRESULT
.
Remarks
The user must free the returned column information and string buffer. Use the second version of this method when you use CDynamicAccessor and need to override the bindings.
For more information, see IColumnsInfo::GetColumnInfo in the OLE DB Programmer's Reference.
Requirements
Header: atldbcli.h