Partager via


cellChanged

An event handler method implemented through OLEDBSimpleProvider::addOLEDBSimpleProviderListener. It indicates that the specified cells were changed. This notification is issued when values are modified through OLEDBSimpleProvider::setVariant or internally through 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 cellChanged (
   DBROWCOUNT     iRow,
   DB_LORDINAL    iColumn);

Parameters

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

  • iColumn
    [in] The column position of the changed cell(s).

Return Codes

  • S_OK
    The method succeeded.

  • E_FAIL
    A provider-specific error occurred.

Comments

This method should be invoked after the data values have changed. Subsequent calls to OLEDBSimpleProvider::getVariant should return the new values.

You can specify a value of -1 for iRow, iColumn, or for both.