Partager via


IRowsetImpl : : CreateRow

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

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

Paramètres

  • 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.

Notes

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.

Configuration requise

Header: atldb.h

Voir aussi

Référence

classe d'IRowsetImpl