IRowsetImpl::CreateRow

 

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 IRowsetImpl::CreateRow.

A helper method called by GetNextRows to allocate a new HROW.

Syntax

  
      HRESULT CreateRow(  
   DBROWOFFSET lRowsOffset,  
   DBCOUNTITEM& cRowsObtained,  
   HROW* rgRows   
);  

Parameters

lRowsOffset
Cursor position of the row being created.

cRowsObtained
A reference passed back to the user indicating the number of rows created.

rgRows
An array of HROWs returned to the caller with the newly created row handles.

Remarks

If the row exists, this method calls AddRefRows and returns. Otherwise, it allocates a new instance of the RowClass template variable and adds it to m_rgRowHandles.

Requirements

Header: atldb.h

See Also

IRowsetImpl Class