www.pudn.com > HelloTutorial7_src.rar > HelloServ.tlh
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8447.0 (f4beb876). // // HelloServ.tlh // // C++ source equivalent of Win32 type library .\HelloServ.tlb // compiler-generated file created 12/18/03 at 10:28:16 - DO NOT EDIT! #pragma once #pragma pack(push, 8) #include// // Forward references and typedefs // struct __declspec(uuid("706a50d4-6c74-11d4-a359-00104b732442")) /* dispinterface */ DHelloWorldEvents; struct /* coclass */ HelloWorld; struct __declspec(uuid("706a50d1-6c74-11d4-a359-00104b732442")) /* interface */ IHelloWorld; // // Smart pointer typedef declarations // _COM_SMARTPTR_TYPEDEF(DHelloWorldEvents, __uuidof(IDispatch)); _COM_SMARTPTR_TYPEDEF(IHelloWorld, __uuidof(IHelloWorld)); // // Type library items // struct __declspec(uuid("706a50d4-6c74-11d4-a359-00104b732442")) DHelloWorldEvents : IDispatch {}; struct __declspec(uuid("706a50d3-6c74-11d4-a359-00104b732442")) HelloWorld; // [ default ] interface IHelloWorld // [ default, source ] dispinterface DHelloWorldEvents struct __declspec(uuid("706a50d1-6c74-11d4-a359-00104b732442")) IHelloWorld : IUnknown { // // Raw methods provided by interface // virtual HRESULT __stdcall SayHello ( ) = 0; }; // // Named GUID constants initializations // extern "C" const GUID __declspec(selectany) LIBID_HELLOSERVLib = {0x27613737,0x6a27,0x11d4,{0xa3,0x58,0x00,0x10,0x4b,0x73,0x24,0x42}}; extern "C" const GUID __declspec(selectany) DIID_DHelloWorldEvents = {0x706a50d4,0x6c74,0x11d4,{0xa3,0x59,0x00,0x10,0x4b,0x73,0x24,0x42}}; extern "C" const GUID __declspec(selectany) CLSID_HelloWorld = {0x706a50d3,0x6c74,0x11d4,{0xa3,0x59,0x00,0x10,0x4b,0x73,0x24,0x42}}; extern "C" const GUID __declspec(selectany) IID_IHelloWorld = {0x706a50d1,0x6c74,0x11d4,{0xa3,0x59,0x00,0x10,0x4b,0x73,0x24,0x42}}; #pragma pack(pop)