MMC_TASK_DISPLAY_TYPE enumeration (mmc.h)

The MMC_TASK_DISPLAY_TYPE enumeration is introduced in MMC 1.1.

The MMC_TASK_DISPLAY_TYPE enumeration defines the types of image that can be displayed for a task or the background on a taskpad. These values are used in the eDisplayType member of the MMC_TASK_DISPLAY_OBJECT structure.

For that which displays the task image, the MMC_TASK_DISPLAY_OBJECT structure is the sDisplayObject member of the MMC_TASK structure, which is filled in by the IEnumTASK::Next method.

For that which displays the background image, the MMC_TASK_DISPLAY_OBJECT structure is filled in by the IExtendTaskPad::GetBackground method.

Syntax

typedef enum _MMC_TASK_DISPLAY_TYPE {
  MMC_TASK_DISPLAY_UNINITIALIZED = 0,
  MMC_TASK_DISPLAY_TYPE_SYMBOL,
  MMC_TASK_DISPLAY_TYPE_VANILLA_GIF,
  MMC_TASK_DISPLAY_TYPE_CHOCOLATE_GIF,
  MMC_TASK_DISPLAY_TYPE_BITMAP
} MMC_TASK_DISPLAY_TYPE;

Constants

 
MMC_TASK_DISPLAY_UNINITIALIZED
Value: 0
No images specified.
MMC_TASK_DISPLAY_TYPE_SYMBOL
The image displayed for the task or background is the symbol specified by an
MMC_TASK_DISPLAY_SYMBOL structure.
MMC_TASK_DISPLAY_TYPE_VANILLA_GIF
The image displayed for the task or background is a transparent GIF image.

The GIF image is specified by an
MMC_TASK_DISPLAY_BITMAP structure.

Note  There is no difference between MMC_TASK_DISPLAY_TYPE_VANILLA_GIF and MMC_TASK_DISPLAY_TYPE_CHOCOLATE_GIF.

 
MMC_TASK_DISPLAY_TYPE_CHOCOLATE_GIF
The image displayed for the task or background is a transparent GIF image.

The GIF image is specified by an
MMC_TASK_DISPLAY_BITMAP structure.

Note  There is no difference between MMC_TASK_DISPLAY_TYPE_VANILLA_GIF and MMC_TASK_DISPLAY_TYPE_CHOCOLATE_GIF.

 
MMC_TASK_DISPLAY_TYPE_BITMAP
The image displayed for the task or background is a nontransparent bitmap image.

The bitmap image is specified by an
MMC_TASK_DISPLAY_BITMAP structure.

Requirements

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