Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

118 lines
3.1 KiB

  1. /* This header file machine-generated by mktyplib.exe */
  2. /* Interface to type library: ActiveXPlugin */
  3. #ifndef _ActiveXPlugin_H_
  4. #define _ActiveXPlugin_H_
  5. DEFINE_GUID(LIBID_ActiveXPlugin,0x06DD38D0L,0xD187,0x11CF,0xA8,0x0D,0x00,0xC0,0x4F,0xD7,0x4A,0xD8);
  6. #ifndef BEGIN_INTERFACE
  7. #define BEGIN_INTERFACE
  8. #endif
  9. DEFINE_GUID(IID_IActiveXPlugin,0x06DD38D1L,0xD187,0x11CF,0xA8,0x0D,0x00,0xC0,0x4F,0xD7,0x4A,0xD8);
  10. /* Definition of interface: IActiveXPlugin */
  11. #undef INTERFACE
  12. #define INTERFACE IActiveXPlugin
  13. DECLARE_INTERFACE_(IActiveXPlugin, IDispatch)
  14. {
  15. BEGIN_INTERFACE
  16. #ifndef NO_BASEINTERFACE_FUNCS
  17. /* IUnknown methods */
  18. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  19. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  20. STDMETHOD_(ULONG, Release)(THIS) PURE;
  21. /* IDispatch methods */
  22. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  23. STDMETHOD(GetTypeInfo)(
  24. THIS_
  25. UINT itinfo,
  26. LCID lcid,
  27. ITypeInfo FAR* FAR* pptinfo) PURE;
  28. STDMETHOD(GetIDsOfNames)(
  29. THIS_
  30. REFIID riid,
  31. OLECHAR FAR* FAR* rgszNames,
  32. UINT cNames,
  33. LCID lcid,
  34. DISPID FAR* rgdispid) PURE;
  35. STDMETHOD(Invoke)(
  36. THIS_
  37. DISPID dispidMember,
  38. REFIID riid,
  39. LCID lcid,
  40. WORD wFlags,
  41. DISPPARAMS FAR* pdispparams,
  42. VARIANT FAR* pvarResult,
  43. EXCEPINFO FAR* pexcepinfo,
  44. UINT FAR* puArgErr) PURE;
  45. #endif
  46. /* IActiveXPlugin methods */
  47. STDMETHOD_(void, Load)(THIS_ BSTR bstrUrl, int bDeleteRegistry) PURE;
  48. STDMETHOD_(void, AddParam)(THIS_ BSTR bstrName, BSTR bstrValue) PURE;
  49. STDMETHOD_(void, Show)(THIS) PURE;
  50. STDMETHOD_(void, Hide)(THIS) PURE;
  51. STDMETHOD_(void, Clear)(THIS) PURE;
  52. STDMETHOD(get_dispatch)(THIS_ IDispatch * FAR* retval) PURE;
  53. };
  54. DEFINE_GUID(DIID_DActiveXPluginEvents,0x06DD38D2L,0xD187,0x11CF,0xA8,0x0D,0x00,0xC0,0x4F,0xD7,0x4A,0xD8);
  55. /* Definition of dispatch interface: DActiveXPluginEvents */
  56. #undef INTERFACE
  57. #define INTERFACE DActiveXPluginEvents
  58. DECLARE_INTERFACE_(DActiveXPluginEvents, IDispatch)
  59. {
  60. BEGIN_INTERFACE
  61. #ifndef NO_BASEINTERFACE_FUNCS
  62. /* IUnknown methods */
  63. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  64. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  65. STDMETHOD_(ULONG, Release)(THIS) PURE;
  66. /* IDispatch methods */
  67. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  68. STDMETHOD(GetTypeInfo)(
  69. THIS_
  70. UINT itinfo,
  71. LCID lcid,
  72. ITypeInfo FAR* FAR* pptinfo) PURE;
  73. STDMETHOD(GetIDsOfNames)(
  74. THIS_
  75. REFIID riid,
  76. OLECHAR FAR* FAR* rgszNames,
  77. UINT cNames,
  78. LCID lcid,
  79. DISPID FAR* rgdispid) PURE;
  80. STDMETHOD(Invoke)(
  81. THIS_
  82. DISPID dispidMember,
  83. REFIID riid,
  84. LCID lcid,
  85. WORD wFlags,
  86. DISPPARAMS FAR* pdispparams,
  87. VARIANT FAR* pvarResult,
  88. EXCEPINFO FAR* pexcepinfo,
  89. UINT FAR* puArgErr) PURE;
  90. #endif
  91. };
  92. DEFINE_GUID(CLSID_ActiveXPlugin,0x06DD38D3L,0xD187,0x11CF,0xA8,0x0D,0x00,0xC0,0x4F,0xD7,0x4A,0xD8);
  93. #ifdef __cplusplus
  94. class ActiveXPlugin;
  95. #endif
  96. #endif