TLB.H
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:2k
源码类别:

Windows编程

开发平台:

Visual C++

  1. /* This header file machine-generated by mktyplib.exe */
  2. /* Interface to type library: Hello */
  3. #ifndef _Hello_H_
  4. #define _Hello_H_
  5. DEFINE_GUID(LIBID_Hello,0xF37C8060L,0x4AD5,0x101B,0xB8,0x26,0x00,0xDD,0x01,0x10,0x3D,0xE1);
  6. DEFINE_GUID(IID_IHello,0xF37C8062L,0x4AD5,0x101B,0xB8,0x26,0x00,0xDD,0x01,0x10,0x3D,0xE1);
  7. /* Definition of interface: IHello */
  8. #undef INTERFACE
  9. #define INTERFACE IHello
  10. DECLARE_INTERFACE_(IHello, IDispatch)
  11. {
  12. #ifndef NO_BASEINTERFACE_FUNCS
  13.     /* IUnknown methods */
  14.     STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  15.     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  16.     STDMETHOD_(ULONG, Release)(THIS) PURE;
  17.     /* IDispatch methods */
  18.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  19.     STDMETHOD(GetTypeInfo)(
  20.       THIS_
  21.       UINT itinfo,
  22.       LCID lcid,
  23.       ITypeInfo FAR* FAR* pptinfo) PURE;
  24.     STDMETHOD(GetIDsOfNames)(
  25.       THIS_
  26.       REFIID riid,
  27.       OLECHAR FAR* FAR* rgszNames,
  28.       UINT cNames,
  29.       LCID lcid,
  30.       DISPID FAR* rgdispid) PURE;
  31.     STDMETHOD(Invoke)(
  32.       THIS_
  33.       DISPID dispidMember,
  34.       REFIID riid,
  35.       LCID lcid,
  36.       WORD wFlags,
  37.       DISPPARAMS FAR* pdispparams,
  38.       VARIANT FAR* pvarResult,
  39.       EXCEPINFO FAR* pexcepinfo,
  40.       UINT FAR* puArgErr) PURE;
  41. #endif
  42.     /* IHello methods */
  43.     STDMETHOD(get_Application)(THIS_ IHello FAR* FAR* retval) PURE;
  44.     STDMETHOD(get_FullName)(THIS_ BSTR FAR* retval) PURE;
  45.     STDMETHOD(get_Name)(THIS_ BSTR FAR* retval) PURE;
  46.     STDMETHOD(get_Parent)(THIS_ IHello FAR* FAR* retval) PURE;
  47.     STDMETHOD(put_Visible)(THIS_ VARIANT_BOOL VisibleFlag) PURE;
  48.     STDMETHOD(get_Visible)(THIS_ VARIANT_BOOL FAR* retval) PURE;
  49.     STDMETHOD(Quit)(THIS) PURE;
  50.     STDMETHOD(put_HelloMessage)(THIS_ BSTR Message) PURE;
  51.     STDMETHOD(get_HelloMessage)(THIS_ BSTR FAR* retval) PURE;
  52.     STDMETHOD(SayHello)(THIS) PURE;
  53. };
  54. DEFINE_GUID(CLSID_Hello,0xF37C8061L,0x4AD5,0x101B,0xB8,0x26,0x00,0xDD,0x01,0x10,0x3D,0xE1);
  55. #ifdef __cplusplus
  56. class Hello;
  57. #endif
  58. #endif