Export (0) Print
Expand All

IPropertyNotifySink::OnChanged method

Notifies a sink that a bindable property has changed.

Syntax


HRESULT OnChanged(
  [in]  DISPID dispID
);

Parameters

dispID [in]

The dispatch identifier of the property that changed, or DISPID_UNKNOWN if multiple properties have changed. The client (owner of the sink) should retrieve the current value of each property of interest from the object that generated the notification.

Return value

This method returns S_OK 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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IPropertyNotifySink is defined as 9BFBBC02-EFF1-101A-84ED-00AA00341D07

See also

IPropertyNotifySink

 

 

Community Additions

ADD
Show:
© 2014 Microsoft