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.

35 lines
866 B

  1. // PlugInInfo.h : Declaration of the CPlugInInfo
  2. #ifndef __PLUGININFO_H_
  3. #define __PLUGININFO_H_
  4. #include "resource.h" // main symbols
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CPlugInInfo
  7. class ATL_NO_VTABLE CPlugInInfo :
  8. public CComObjectRootEx<CComSingleThreadModel>,
  9. public CComCoClass<CPlugInInfo, &CLSID_PlugInInfo>,
  10. public IDispatchImpl<IPlugInInfo, &IID_IPlugInInfo, &LIBID_MCSDCTWORKEROBJECTSLib>
  11. {
  12. public:
  13. CPlugInInfo()
  14. {
  15. }
  16. DECLARE_REGISTRY_RESOURCEID(IDR_PLUGININFO)
  17. DECLARE_NOT_AGGREGATABLE(CPlugInInfo)
  18. DECLARE_PROTECT_FINAL_CONSTRUCT()
  19. BEGIN_COM_MAP(CPlugInInfo)
  20. COM_INTERFACE_ENTRY(IPlugInInfo)
  21. COM_INTERFACE_ENTRY(IDispatch)
  22. END_COM_MAP()
  23. // IPlugInInfo
  24. public:
  25. STDMETHOD(EnumeratePlugIns)(/*[out]*/ SAFEARRAY ** pPlugIns);
  26. };
  27. #endif //__PLUGININFO_H_