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

Windows编程

开发平台:

Visual C++

  1. /* This header file machine-generated by mktyplib.exe */
  2. /* Interface to type library: PolylineTypeLibrary */
  3. #ifndef _PolylineTypeLibrary_H_
  4. #define _PolylineTypeLibrary_H_
  5. DEFINE_GUID(LIBID_PolylineTypeLibrary,0x00021173,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  6. DEFINE_GUID(IID_IPolylineControl,0x00021171,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  7. /* Definition of interface: IPolylineControl */
  8. DECLARE_INTERFACE_(IPolylineControl, 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.     /* IPolylineControl methods */
  17.     STDMETHOD_(void, put_BackColor)(THIS_ OLE_COLOR cr) PURE;
  18.     STDMETHOD_(OLE_COLOR, get_BackColor)(THIS) PURE;
  19.     STDMETHOD_(void, put_LineColor)(THIS_ OLE_COLOR cr) PURE;
  20.     STDMETHOD_(OLE_COLOR, get_LineColor)(THIS) PURE;
  21.     STDMETHOD_(void, put_LineStyle)(THIS_ short iStyle) PURE;
  22.     STDMETHOD_(short, get_LineStyle)(THIS) PURE;
  23.     STDMETHOD(Clear)(THIS) PURE;
  24.     STDMETHOD(RemoveLastPoint)(THIS) PURE;
  25. };
  26. DEFINE_GUID(DIID_DIPolylineControl,0x00021172,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  27. /* Definition of dispatch interface: DIPolylineControl */
  28. DECLARE_INTERFACE_(DIPolylineControl, IDispatch)
  29. {
  30. #ifndef NO_BASEINTERFACE_FUNCS
  31.     /* IUnknown methods */
  32.     STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  33.     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  34.     STDMETHOD_(ULONG, Release)(THIS) PURE;
  35.     /* IDispatch methods */
  36.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  37.     STDMETHOD(GetTypeInfo)(
  38.       THIS_
  39.       UINT itinfo,
  40.       LCID lcid,
  41.       ITypeInfo FAR* FAR* pptinfo) PURE;
  42.     STDMETHOD(GetIDsOfNames)(
  43.       THIS_
  44.       REFIID riid,
  45.       OLECHAR FAR* FAR* rgszNames,
  46.       UINT cNames,
  47.       LCID lcid,
  48.       DISPID FAR* rgdispid) PURE;
  49.     STDMETHOD(Invoke)(
  50.       THIS_
  51.       DISPID dispidMember,
  52.       REFIID riid,
  53.       LCID lcid,
  54.       WORD wFlags,
  55.       DISPPARAMS FAR* pdispparams,
  56.       VARIANT FAR* pvarResult,
  57.       EXCEPINFO FAR* pexcepinfo,
  58.       UINT FAR* puArgErr) PURE;
  59. #endif
  60. /* Capable of dispatching all the methods of interface IPolylineControl */
  61. };
  62. DEFINE_GUID(IID_IPolylineAdviseSink10,0x00021159,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  63. /* Definition of interface: IPolylineAdviseSink10 */
  64. DECLARE_INTERFACE_(IPolylineAdviseSink10, IUnknown)
  65. {
  66. #ifndef NO_BASEINTERFACE_FUNCS
  67.     /* IUnknown methods */
  68.     STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  69.     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  70.     STDMETHOD_(ULONG, Release)(THIS) PURE;
  71. #endif
  72.     /* IPolylineAdviseSink10 methods */
  73.     STDMETHOD_(void, OnPointChange)(THIS) PURE;
  74.     STDMETHOD_(void, OnSizeChange)(THIS) PURE;
  75.     STDMETHOD_(void, OnColorChange)(THIS) PURE;
  76.     STDMETHOD_(void, OnLineStyleChange)(THIS) PURE;
  77. };
  78. DEFINE_GUID(DIID_DIPolylineAdviseSink10,0x00021170,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  79. /* Definition of dispatch interface: DIPolylineAdviseSink10 */
  80. DECLARE_INTERFACE_(DIPolylineAdviseSink10, IDispatch)
  81. {
  82. #ifndef NO_BASEINTERFACE_FUNCS
  83.     /* IUnknown methods */
  84.     STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  85.     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  86.     STDMETHOD_(ULONG, Release)(THIS) PURE;
  87.     /* IDispatch methods */
  88.     STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  89.     STDMETHOD(GetTypeInfo)(
  90.       THIS_
  91.       UINT itinfo,
  92.       LCID lcid,
  93.       ITypeInfo FAR* FAR* pptinfo) PURE;
  94.     STDMETHOD(GetIDsOfNames)(
  95.       THIS_
  96.       REFIID riid,
  97.       OLECHAR FAR* FAR* rgszNames,
  98.       UINT cNames,
  99.       LCID lcid,
  100.       DISPID FAR* rgdispid) PURE;
  101.     STDMETHOD(Invoke)(
  102.       THIS_
  103.       DISPID dispidMember,
  104.       REFIID riid,
  105.       LCID lcid,
  106.       WORD wFlags,
  107.       DISPPARAMS FAR* pdispparams,
  108.       VARIANT FAR* pvarResult,
  109.       EXCEPINFO FAR* pexcepinfo,
  110.       UINT FAR* puArgErr) PURE;
  111. #endif
  112.     /* DIPolylineAdviseSink10 methods:
  113.     void OnPointChange(void);
  114.     void OnSizeChange(void);
  115.     void OnColorChange(void);
  116.     void OnLineStyleChange(void);
  117.     */
  118. };
  119. DEFINE_GUID(CLSID_Polyline19,0x0002116D,0x0000,0x0000,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
  120. class Polyline19;
  121. #endif