Compartir a través de


IRowsetImpl::CreateRow

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

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

Reference

IRowsetImpl Class