IConsole::UpdateAllViews

[This is preliminary documentation and subject to change.]

Updates all the views whenever this is a content change. This method can be called either by IComponent or IComponentData.

HRESULT UpdateAllViews(
  LPDATAOBJECT lpDataObject,  // Pointer to the data object
  long data,                  // Modified content
  long hint                   // Information about modifications
);
 

Parameter

lpDataObject
[in] Pointer to a user-supplied data object.
data
[in] User defined.
hint
[in] User defined.

Return Values

S_OK
The notification was successfully sent.
E_UNEXPECTED
An unexpected error occurred.

Remarks

This method sends an MMCN_VIEW_CHANGE notification to all instances of IComponent associated with the snap-in instance calling this method. The lpDataObject, data, and hint parameters will be passed as the lpDataObject, arg, and param for the IComponent::Notify method.

See Also

IConsole, IToolbar