次の方法で共有


MMCN_REFRESH message

The MMCN_REFRESH notification message is sent to a snap-in's IComponent implementation when the refresh verb is selected. Refresh can be invoked through the context menu, through the toolbar, or by pressing F5.

Parameters

lpDataObject [in]

A pointer to the data object of the currently selected scope item.

arg

Not used.

param

Not used.

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

A snap-in should respond to a refresh notification by updating its scope and result items if they display information that is not always kept current.

Requirements

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