Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IEnumTASK interface

The IEnumTASK interface is introduced in MMC 1.1.

The IEnumTASK interface enables a snap-in component to enumerate the tasks to add to a taskpad.

When to implement

Implement this interface in your in-process server DLL to add one or more tasks to a taskpad. You must also implement the IExtendTaskPad interface. For more information, see Using Taskpads.

When to use

Only MMC calls this interface.

MMC calls the IExtendTaskPad::EnumTasks method to get a pointer to the IEnumTASK interface of an object that specifies the tasks your snap-in must add to the taskpad. If a taskpad extension snap-in has been added to your snap-in, MMC gets a pointer to the IExtendTaskPad interface on that snap-in and calls the IExtendTaskPad::EnumTasks method to get a pointer to the IEnumTASK interface for that snap-in.

Members

The IEnumTASK interface inherits from the IUnknown interface. IEnumTASK also has these types of members:

Methods

The IEnumTASK interface has these methods.

MethodDescription
Clone

Not used by MMC. Creates a new IEnumTASK object that has the same state as this IEnumTASK object.

Next

Enables MMC to retrieve the next task in the snap-in's list of tasks.

Reset

Enables MMC to reset the enumeration to the beginning of the list.

Skip

Not used by MMC. Skips the specified number of tasks.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Mmc.h

 

 

Show: