Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 IOpenRowsetImpl::CreateRowset.
Creates a rowset object. Not called directly by user. See IOpenRowset::OpenRowset in the OLE DB Programmer's Reference.
Syntax
template <class
RowsetClass
>
HRESULT CreateRowset(
IUnknown* pUnkOuter,
DBID* pTableID,
DBID* pIndexID,
REFIID riid,
ULONG cPropertySets,
DBPROPSET rgPropertySets[],
IUnknown** ppRowset,
RowsetClass*& pRowsetObj
);
Parameters
RowsetClass
A template class member representing the user's rowset class. Usually generated by the wizard.
pRowsetObj
[out] A pointer to a rowset object. Typically this parameter is not used, but it can be used if you must perform more work on the rowset before passing it to a COM object. The lifetime of pRowsetObj is bound by ppRowset.
For other parameters, see IOpenRowset::OpenRowset in the OLE DB Programmer's Reference.
Requirements
Header: atldb.h