IOpenRowsetImpl::OpenRowset
HRESULT OpenRowset( IUnknown *pUnkOuter**, DBID** *pTableID**, DBID** *pIndexID**, REFIID** riid**, ULONG** cPropertySets**, DBPROPSET** rgPropertySets**[], IUnknown** **ppRowset );
See in the OLE DB Programmer’s Reference.
Remarks
Opens and returns a rowset that includes all rows from a single base table or index. This method is not found in ATLDB.H. It is created by the ATL Object Wizard when you create a provider.