description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: IRowsetNotifyImpl Class |
IRowsetNotifyImpl Class |
11/04/2016 |
|
|
fbfd0cb2-38ff-4b42-899a-8de902f834b8 |
Implements and registers IRowsetNotify on the consumer (also known as the "sink") so that it can handle notifications.
class ATL_NO_VTABLE IRowsetNotifyImpl : public IRowsetNotify
Header: atldbcli.h
Name | Description |
---|---|
OnFieldChange | Notifies the consumer of any change to the value of a column. |
OnRowChange | Notifies the consumer of the first change to a row or of any change that affects the entire row. |
OnRowsetChange | Notifies the consumer of any change affecting the entire rowset. |
See Receiving Notifications about implementing the connection point interface on the consumer.
IRowsetNotifyImpl
provides a dummy implementation for IRowsetNotify
, with empty functions for the IRowsetNotify
methods OnFieldChange, OnRowChange, and OnRowsetChange. If you inherit from this class when you implement an IRowsetNotify
interface, you can implement only the methods you need. You also need to provide empty implementations for the other methods yourself.
Notifies the consumer of any change to the value of a column.
STDMETHOD(OnFieldChange)(
/* [in] */ IRowset* /* pRowset */,
/* [in] */ HROW /* hRow */,
/* [in] */ DBORDINAL /* cColumns */,
/* [size_is][in] */ DBORDINAL /* rgColumns */ [] ,
/* [in] */ DBREASON /* eReason */,
/* [in] */ DBEVENTPHASE /* ePhase */,
/* [in] */ BOOL /* fCantDeny */)
See IRowsetNotify::OnFieldChange for parameter descriptions.
See IRowsetNotify::OnFieldChange for return value descriptions.
This method wraps the IRowsetNotify::OnFieldChange method. See that method's description in the OLE DB Programmer's Reference for details.
Notifies the consumer of the first change to a row or of any change that affects the entire row.
STDMETHOD(OnRowChange)(
/* [in] */ IRowset* /* pRowset */,
/* [in] */ DBCOUNTITEM /* cRows */,
/* [size_is][in] */ const HROW /* rghRows*/ [] ,
/* [in] */ DBREASON /* eReason */,
/* [in] */ DBEVENTPHASE /* ePhase */,
/* [in] */ BOOL /* fCantDeny */)
See IRowsetNotify::OnRowChange for parameter descriptions.
See IRowsetNotify::OnRowChange for return value descriptions.
This method wraps the IRowsetNotify::OnRowChange method. See that method's description in the OLE DB Programmer's Reference for details.
Notifies the consumer of any change affecting the entire rowset.
STDMETHOD(OnRowsetChange)(
/* [in] */ IRowset* /* pRowset */,
/* [in] */ DBREASON /* eReason */,
/* [in] */ DBEVENTPHASE /* ePhase */,
/* [in] */ BOOL /* fCantDeny */)
See IRowsetNotify::OnRowsetChange for parameter descriptions.
See IRowsetNotify::OnRowsetChange for return value descriptions.
This method wraps the IRowsetNotify::OnRowsetChange method. See that method's description in the OLE DB Programmer's Reference for details.
OLE DB Consumer Templates
IRowsetNotify
IRowsetNotifyCP Class