IS_SPECIAL_COOKIE macro (mmc.h)

The IS_SPECIAL_COOKIE macro determines whether an MMC_COOKIE value passed by MMC in a call to the snap-in's IComponent::QueryDataObject method is a special type of cookie.

Syntax

void IS_SPECIAL_COOKIE(
   c
);

Parameters

c

A value of type MMC_COOKIE that you want to evaluate.

Return value

None

Remarks

You can use this macro to verify that the cookie passed by MMC in its call to IComponent::QueryDataObject is one of the special values, and then handle the data object appropriately based on the specific value of the cookie (MMC_MULTI_SELECT_COOKIE or MMC_WINDOW_COOKIE).

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmc.h