MDAC 2.5 SDK - OLE DB Providers
OSP Toolkit


 

OLEDBSimpleProvider::insertRows

Inserts a specified number of rows, beginning at iRow, into the data set.

HRESULT insertRows (
   LONG     iRow,
   LONG     cRows,
   LONG *   pcRowsInserted);

Parameters

iRow

[in]
Position of the first row of the data set at which the insertion begins.

cRows

[in]
Number of rows to be inserted.

*pcRowsInserted

[out]
Actual number of rows that were successfully inserted into the data set.

Return Codes

S_OK

The method succeeded.

E_FAIL

A provider-specific error occurred.

Comments

insertRows requires the following notifications: