template <class T, BOOL bIsExtension = FALSE>
class ATL_NO_VTABLE CSnapInItemImpl : public CSnapInItem
Parameters
T
Your class, derived from CSnapInItemImpl.
bIsExtension
TRUE if the object is a snap-in extension; otherwise FALSE.
CSnapInItemImpl provides a basic implementation for a snap-in node object, such as adding menu items and toolbars, and forwarding commands for the snap-in node to the appropriate handler function. These features are implemented using several different interfaces and map types. The default implementation handles notifications sent to the node object by determining the correct instance of the derived class and then forwarding the message to the correct instance.
You would derive from this class for each different node type in your snap-in object and implement specific notification and command handlers using predefined maps. To add custom functionality, see the MMC Snap-In FAQ.
#include <atlsnap.h>