Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
ATL
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP 

Marks the beginning of the snap-in extension data class map.


BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP( classname )

Parameters

classname

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

Start your snap-in extension 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.

class CMyExtSnapinExtData : public CSnapInItemImpl<CMyExtSnapinExtData>
{
...
};

...

class CMyExtSnapin : 
   public CSnapInObjectRoot<1, CMyExtSnapin>,
   public IComponentDataImpl<CMyExtSnapin, CMyExtSnapinComponent>,
   ...
{
...
BEGIN_EXTENSION_SNAPIN_NODEINFO_MAP(CMyExtSnapin)
   EXTENSION_SNAPIN_NODEINFO_ENTRY(CMyExtSnapinExtData)
END_EXTENSION_SNAPIN_NODEINFO_MAP()
...
};

Community Additions

ADD
Show:
© 2015 Microsoft