www.pudn.com > Excel_example.rar > MSADDNDR.tlh
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (a31408a0). // // MSADDNDR.tlh // // C++ source equivalent of Win32 type library D:\Program Files\Common Files\Designer\MSADDNDR.DLL // compiler-generated file created 04/10/03 at 01:08:22 - DO NOT EDIT! #pragma once #pragma pack(push, 8) #include// // Forward references and typedefs // struct __declspec(uuid("ac0714f3-3d04-11d1-ae7d-00a0c90f26f4")) /* dual interface */ IAddinDesigner; struct __declspec(uuid("ac0714f4-3d04-11d1-ae7d-00a0c90f26f4")) /* dual interface */ IAddinInstance; struct __declspec(uuid("b65ad801-abaf-11d0-bb8b-00a0c90f2744")) /* dual interface */ _IDTExtensibility2; typedef struct _IDTExtensibility2 IDTExtensibility2; struct /* coclass */ AddinDesigner; struct /* coclass */ AddinInstance; // // Smart pointer typedef declarations // _COM_SMARTPTR_TYPEDEF(IAddinDesigner, __uuidof(IAddinDesigner)); _COM_SMARTPTR_TYPEDEF(IAddinInstance, __uuidof(IAddinInstance)); _COM_SMARTPTR_TYPEDEF(_IDTExtensibility2, __uuidof(_IDTExtensibility2)); // // Type library items // enum ext_ConnectMode { ext_cm_AfterStartup = 0, ext_cm_Startup = 1, ext_cm_External = 2, ext_cm_CommandLine = 3 }; enum ext_DisconnectMode { ext_dm_HostShutdown = 0, ext_dm_UserClosed = 1 }; struct __declspec(uuid("ac0714f3-3d04-11d1-ae7d-00a0c90f26f4")) IAddinDesigner : IDispatch {}; struct __declspec(uuid("ac0714f4-3d04-11d1-ae7d-00a0c90f26f4")) IAddinInstance : IDispatch {}; struct __declspec(uuid("b65ad801-abaf-11d0-bb8b-00a0c90f2744")) _IDTExtensibility2 : IDispatch { // // Raw methods provided by interface // virtual HRESULT __stdcall OnConnection ( IDispatch * Application, enum ext_ConnectMode ConnectMode, IDispatch * AddInInst, SAFEARRAY * * custom ) = 0; virtual HRESULT __stdcall OnDisconnection ( enum ext_DisconnectMode RemoveMode, SAFEARRAY * * custom ) = 0; virtual HRESULT __stdcall OnAddInsUpdate ( SAFEARRAY * * custom ) = 0; virtual HRESULT __stdcall OnStartupComplete ( SAFEARRAY * * custom ) = 0; virtual HRESULT __stdcall OnBeginShutdown ( SAFEARRAY * * custom ) = 0; }; struct __declspec(uuid("ac0714f6-3d04-11d1-ae7d-00a0c90f26f4")) AddinDesigner; // [ default ] interface IAddinDesigner // [ default, source ] interface _IDTExtensibility2 struct __declspec(uuid("ac0714f7-3d04-11d1-ae7d-00a0c90f26f4")) AddinInstance; // [ default ] interface IAddinInstance // [ default, source ] interface _IDTExtensibility2 // // Named GUID constants initializations // extern "C" const GUID __declspec(selectany) LIBID_AddInDesignerObjects = {0xac0714f2,0x3d04,0x11d1,{0xae,0x7d,0x00,0xa0,0xc9,0x0f,0x26,0xf4}}; extern "C" const GUID __declspec(selectany) IID_IAddinDesigner = {0xac0714f3,0x3d04,0x11d1,{0xae,0x7d,0x00,0xa0,0xc9,0x0f,0x26,0xf4}}; extern "C" const GUID __declspec(selectany) IID_IAddinInstance = {0xac0714f4,0x3d04,0x11d1,{0xae,0x7d,0x00,0xa0,0xc9,0x0f,0x26,0xf4}}; extern "C" const GUID __declspec(selectany) IID__IDTExtensibility2 = {0xb65ad801,0xabaf,0x11d0,{0xbb,0x8b,0x00,0xa0,0xc9,0x0f,0x27,0x44}}; extern "C" const GUID __declspec(selectany) CLSID_AddinDesigner = {0xac0714f6,0x3d04,0x11d1,{0xae,0x7d,0x00,0xa0,0xc9,0x0f,0x26,0xf4}}; extern "C" const GUID __declspec(selectany) CLSID_AddinInstance = {0xac0714f7,0x3d04,0x11d1,{0xae,0x7d,0x00,0xa0,0xc9,0x0f,0x26,0xf4}}; #pragma pack(pop)