MMCN_ACTIVATE message

The MMCN_ACTIVATE notification message is sent to the snap-in's IComponent::Notify method when a window for which the snap-in owns the result view is being activated or deactivated.

Parameters

lpDataObject [in]

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

arg

TRUE if the window is activated; otherwise FALSE.

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.

Requirements

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

See also

IComponent::Notify