MMC_ACTION_TYPE enumeration (mmc.h)

The MMC_ACTION_TYPE enumeration is introduced in MMC 1.1.

The MMC_ACTION_TYPE enumeration defines the types of action that can be triggered when a user clicks a task on a taskpad. These values are used in the eActionType member of the MMC_TASK structure, which is filled in by the IEnumTASK::Next method.

Syntax

typedef enum _MMC_ACTION_TYPE {
  MMC_ACTION_UNINITIALIZED = -1,
  MMC_ACTION_ID,
  MMC_ACTION_LINK,
  MMC_ACTION_SCRIPT
} MMC_ACTION_TYPE;

Constants

 
MMC_ACTION_UNINITIALIZED
Value: -1
No actions specified.
MMC_ACTION_ID
When the user clicks the task, MMC calls
IExtendTaskPad::TaskNotify and returns the command ID specified in the nCommandID member of the
MMC_TASK structure that was filled in when MMC called IEnumTASK::Next to add the task to the taskpad.
MMC_ACTION_LINK
When the user clicks the task, MMC activates the link specified by the szActionURL member of the
MMC_TASK structure.
MMC_ACTION_SCRIPT
When the user clicks the task, MMC executes the script contained in the szScript member of
MMC_TASK using the window.execScript method on the taskpad DHTML page.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header mmc.h