SNAPIN.CPP


#include "stdafx.h"
#include "[!ProjectName].h"
#include "[!HeaderName]"

[!crlf]
/////////////////////////////////////////////////////////////////////////////
// [!ClassName]ComponentData

[!if(VC)]
static const GUID GUID_NODETYPE =
[!SnapInNodeType_GUIDFMT];
[!else]
#error Please expand the following and remove this line
// [!SnapInNodeType]
static const GUID GUID_NODETYPE =
{0xXXXXXXXX,0xXXXX,0xXXXX,{0xXX,0xXX,0xXX,0xXX,0xXX,0xXX,0xXX,0xXX}};
[!endif]

const GUID* [!ClassName]Data::m_NODETYPE = &GUID_NODETYPE;
const TCHAR* [!ClassName]Data::m_SZNODETYPE = _T("[!SnapInNodeType]");
const TCHAR* [!ClassName]Data::m_SZDISPLAY_NAME = _T("[!ClassName]");
const CLSID* [!ClassName]Data::m_SNAPIN_CLASSID = &CLSID_[!CoClassName];