MDAC 2.5 SDK - OLE DB Providers
OSP Toolkit


 

OLEDBSimpleProviderListener::aboutToInsertRows

Indicates that the specified rows are about to be inserted. aboutToInsertRows is an event handler method, implemented through OLEDBSimpleProvider::addOLEDBSimpleProviderListener. This notification is issued just prior to the rows being inserted, either through a call to OLEDBSimpleProvider::insertRows or internally by the provider.

HRESULT aboutToInsertRows (
   LONG   iRow,
   LONG   cRows);

Parameters

iRow

[in]
Starting position of the rows to be inserted.

cRows

[in]
Number of rows to be inserted.

Return Codes

S_OK

The method succeeded.

E_FAIL

A provider-specific error occurred.