Informs a control that one or more of the container's ambient properties (available through the control site's IDispatch) has changed.
HRESULT OnAmbientPropertyChange(
DISPID dispID //Dispatch identifier of the ambient property
);
S_OK is returned in all cases even when the control does not support ambient properties or some other failure has occurred. The caller sending the notification cannot attempt to use an error code (such as E_NOTIMPL) to determine whether to send the notification in the future. Such semantics are not part of this interface.
Windows NT: Use version 4.0 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in ocidl.h.