IPropertyNotifySink::OnChanged  1OAC.W

Notifies a sink that the [bindable] property specified by dispID has changed. If dispID is DISPID_UNKNOWN, then multiple properties have changed together. The client (owner of the sink) should then retrieve the current value of each property of interest from the object that generated the notification.

HRESULT OnChanged(

    DISPID dispID

//Dispatch identifier of the property that changed

   );

 

 

Parameters

dispID

[in] Dispatch identifier of the property that changed, or DISPID_UNKNOWN if multiple properties have changed.

 

Return Values

S_OK

This return value is returned in all cases.

 

Remarks

S_OK is returned in all cases even when the sink does not need [bindable] properties or when some other failure has occurred. In short, the calling object simply sends the notification and cannot attempt to use an error code (such as E_NOTIMPL) to determine whether to not send the notification in the future. Such semantics are not part of this interface.

See Also

IPropertyNotifySink::OnRequestEdit