IS_SPECIAL_DATAOBJECT macro (mmc.h)

The IS_SPECIAL_DATAOBJECT macro determines whether an LPDATAOBJECT passed by MMC in a call to the snap-in's Notify method is a special type of data object instead of a pointer to an actual IDataObject object.

Syntax

void IS_SPECIAL_DATAOBJECT(
   d
);

Parameters

d

A value of type LPDATAOBJECT to be evaluated.

Return value

None

Remarks

MMC can pass DOBJ_CUSTOMOCX or DOBJ_CUSTOMWEB as the data object in the following methods with the following notifications:

If you have custom views (webpage, custom OCX, or taskpad), you can use this macro to verify that the notifications listed above pass a pointer to a data object or one of the special values, and then handle them appropriately.

Requirements

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