CPropNotifySink

CPropNotifySink(
IPropertyNotifySink *pPropNotify, 
DISPID dispidPropNotifier, 
BOOL fAddRefNotify = TRUE, 
BOOL fAddRefNotifier = TRUE);

Parameters

*pPropNotify

The caller must supply an implementation of IPropertyNotifySink, which is pointed to by this parameter.

dispidPropNotifier

The DISPID used to identify the notifying object.

fAddRefNotify

 TRUE to keep a reference count on pPropNotify during an advise connection.

fAddRefNotifier

 TRUE to keep a reference count on the notifier object while connection is active.

Comments

CPropNotifySink is a COM object, and therefore provides implementation for the following IUnknown methods:

CPropNotifySink also implements the IPropertyNotifySink interface, which has the following methods:

The above methods process notifications from the notifier and pass the notifications to the IPropertyNotifySink interface, which is passed in through the pPropNotify parameter of the constructor.