IOpenRowsetImpl::CreateRowset

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.

Remarks

See IOpenRowset::OpenRowset in the OLE DB Programmer’s Reference.

IOpenRowsetImpl OverviewClass Members