Share via


MMCTask.CommandID property

The CommandID property returns the command ID returned to the snap-in when the user clicks the task. This property is used only if ActionType is 0.

This property is read-only.

Syntax

MMCTask.CommandID

Property value

The returned property is the long integer specified in the nCommandID member of the MMC_TASK structure returned in the IEnumTASK::Next method.

Remarks

When the user clicks the task, the taskpad calls the TaskNotify method of the MMCCtrl control with pvArg set to the value in the CommandID property of the task object.

Requirements

Redistributable
MMC 1.1 or later
DLL
Cic.dll