EXTENSION_SNAPIN_DATACLASS

EXTENSION_SNAPIN_DATACLASS( dataClass )

Parameters

dataClass

[in] The data class of the snap-in extension.

Remarks

Adds a data member to the snap-in extension data class for an ISnapInItemImpl-derived class. This class should also be entered into a snap-in extension data class map. Start your snap-in extension data class map with the BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP macro, add entries for each of your snap-in extension data types with the EXTENSION_SNAPIN_NODEINFO_ENTRY macro, and complete the map with the END_EXTENSION_SNAPIN_NODEINFO_MAP macro.

For example:

EXTENSION_SNAPIN_DATACLASS(CMySnapInExtData)
…
BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(CMySnapInExtData)
    EXTENSION_SNAPIN_NODEINFO_ENTRY(CMySnapInExtData)
END_EXTENSION_SNAPIN_NODEINFO_MAP()

For more information about developing a snap-in extension using ATL, see the article MMC Snap-In Wizard.

ATL Macros and Global Functions

See Also

BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP, EXTENSION_SNAPIN_NODEINFO_ENTRY, END_EXTENSION_SNAPIN_NODEINFO_MAP