6 #include <VSShellInterfaces.h>
8 #define _MIDL_USE_GUIDDEF_ // Necessary to build without compilation errors
9 #include "%ProjectName%.c"
11 // There is no library that defines the GUIDs for the interfaces defined inside
12 // TOM.h, so we have to define here the GUIDs that are used inside our code.
13 // You can find these GUIDs looking at the definition of the interfaces in TOM.h.
14 DEFINE_GUID(IID_ITextDocument
,
15 0x8CC497C0, 0xA1DF, 0x11ce, 0x80, 0x98, 0x00, 0xAA, 0x00, 0x47, 0xBE, 0x5D);