Skip to content

Latest commit

 

History

History
74 lines (66 loc) · 1.84 KB

File metadata and controls

74 lines (66 loc) · 1.84 KB
title IOpenRowsetImpl::CreateRowset | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
f1_keywords
IOpenRowsetImpl.CreateRowset
IOpenRowsetImpl::CreateRowset
CreateRowset
dev_langs
C++
helpviewer_keywords
CreateRowset method
ms.assetid 69041cf6-7a2f-4409-a26e-6e984c24986e
caps.latest.revision 8
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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

See Also

IOpenRowsetImpl Class