共用方式為


MMCN_VIEW_CHANGE message

The MMCN_VIEW_CHANGE notification message is sent to the snap-in's IComponent implementation so it can update the view when a change occurs.

Parameters

lpDataObject [in]

A pointer to the data object passed to IConsole::UpdateAllViews.

arg [in]

The data parameter passed to IConsole::UpdateAllViews.

param [in]

The hint parameter passed to IConsole::UpdateAllViews.

Return value

S_OK

The snap-in successfully handled the notification.

S_FALSE

The snap-in does not handle the notification. MMC then performs a default operation for the notification.

Remarks

This notification is generated when the snap-in ( IComponent or IComponentData) calls IConsole2::UpdateAllViews.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
Mmc.h

See also

IComponent::Notify

IConsole::UpdateAllViews