Partager via


deletedRows

An event handler method, implemented through OLEDBSimpleProvider::addOLEDBSimpleProviderListener. It indicates that cRows were deleted beginning at row iRow. The notification is issued when rows are deleted through OLEDBSimpleProvider::deleteRows or internally by a provider.

Important

This feature will be removed in a future version of Windows. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Instead, write a fully functional OLE DB provider using the native OLE DB interfaces.

Syntax

HRESULT deletedRows (
   DBROWCOUNT   iRow,
   DBROWCOUNT   cRows);

Parameters

  • iRow
    [in] The row position of the changed cell(s).

  • cRows
    [in] Number of rows to be deleted.

Return Codes

  • S_OK
    The method succeeded.

  • E_FAIL
    A provider-specific error occurred.

Comments

OLEDBSimpleProviderListener::deletedRows should be called after the rows are deleted.