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

Windows编程

开发平台:

Visual C++

  1. /* This header file machine-generated by mktyplib.exe */
  2. /* Interface to type library: SphereSquareLibrary */
  3. #ifndef _SphereSquareLibrary_H_
  4. #define _SphereSquareLibrary_H_
  5. DEFINE_GUID(LIBID_SphereSquareLibrary,0x00021169,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  6. DEFINE_GUID(IID_ISphereSquare,0x00021168,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  7. /* Definition of interface: ISphereSquare */
  8. DECLARE_INTERFACE_(ISphereSquare, IUnknown)
  9. {
  10. #ifndef NO_BASEINTERFACE_FUNCS
  11.     /* IUnknown methods */
  12.     STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  13.     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  14.     STDMETHOD_(ULONG, Release)(THIS) PURE;
  15. #endif
  16.     /* ISphereSquare methods */
  17.     STDMETHOD_(double, get_Radius)(THIS) PURE;
  18.     STDMETHOD_(void, put_Radius)(THIS_ double Radius) PURE;
  19.     STDMETHOD_(double, get_Theta)(THIS) PURE;
  20.     STDMETHOD_(void, put_Theta)(THIS_ double Theta) PURE;
  21.     STDMETHOD_(double, get_Declination)(THIS) PURE;
  22.     STDMETHOD_(void, put_Declination)(THIS_ double Declination) PURE;
  23.     STDMETHOD_(long, get_BackColor)(THIS) PURE;
  24.     STDMETHOD_(void, put_BackColor)(THIS_ long BackColor) PURE;
  25.     STDMETHOD_(long, get_LineColorPositive)(THIS) PURE;
  26.     STDMETHOD_(void, put_LineColorPositive)(THIS_ long LineColorPositive) PURE;
  27.     STDMETHOD_(long, get_LineColorNegative)(THIS) PURE;
  28.     STDMETHOD_(void, put_LineColorNegative)(THIS_ long LineColorNegative) PURE;
  29.     STDMETHOD_(void, Draw)(THIS) PURE;
  30.     STDMETHOD_(void, SetCenterPoint)(THIS_ int CenterX, int CenterY) PURE;
  31.     STDMETHOD_(void, ShowWindow)(THIS_ int ShowCommand) PURE;
  32.     STDMETHOD_(void, SetWindowPosition)(THIS_ int Left, int Top) PURE;
  33.     STDMETHOD_(void, SetWindowSize)(THIS_ int Width, int Height) PURE;
  34. };
  35. DEFINE_GUID(DIID_DISphereSquare,0x0002116A,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  36. /* Definition of dispatch interface: DISphereSquare */
  37. DECLARE_INTERFACE_(DISphereSquare, IDispatch)
  38. {
  39. #ifndef NO_BASEINTERFACE_FUNCS
  40.     /* IUnknown methods */
  41.     STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  42.     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  43.     STDMETHOD_(ULONG, Release)(THIS) PURE;
  44.     /* IDispatch methods */
  45.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  46.     STDMETHOD(GetTypeInfo)(
  47.       THIS_
  48.       UINT itinfo,
  49.       LCID lcid,
  50.       ITypeInfo FAR* FAR* pptinfo) PURE;
  51.     STDMETHOD(GetIDsOfNames)(
  52.       THIS_
  53.       REFIID riid,
  54.       OLECHAR FAR* FAR* rgszNames,
  55.       UINT cNames,
  56.       LCID lcid,
  57.       DISPID FAR* rgdispid) PURE;
  58.     STDMETHOD(Invoke)(
  59.       THIS_
  60.       DISPID dispidMember,
  61.       REFIID riid,
  62.       LCID lcid,
  63.       WORD wFlags,
  64.       DISPPARAMS FAR* pdispparams,
  65.       VARIANT FAR* pvarResult,
  66.       EXCEPINFO FAR* pexcepinfo,
  67.       UINT FAR* puArgErr) PURE;
  68. #endif
  69. /* Capable of dispatching all the methods of interface ISphereSquare */
  70. };
  71. DEFINE_GUID(CLSID_SphereSquare,0x00021167,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  72. class SphereSquare;
  73. #endif