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.

52 lines
1.5 KiB

  1. // CSvcInf.h : Declaration of the CCSvcAcctInfo
  2. #ifndef __CSVCACCTINFO_H_
  3. #define __CSVCACCTINFO_H_
  4. #include "resource.h" // main symbols
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CCSvcAcctInfo
  7. class ATL_NO_VTABLE CCSvcAcctInfo :
  8. public CComObjectRootEx<CComMultiThreadModel>,
  9. public CComCoClass<CCSvcAcctInfo, &CLSID_CSvcAcctInfo>,
  10. public IDispatchImpl<IMcsDomPlugIn, &IID_IMcsDomPlugIn, &LIBID_MCSPISAGLib>,
  11. public ISecPlugIn
  12. {
  13. public:
  14. CCSvcAcctInfo()
  15. {
  16. }
  17. DECLARE_REGISTRY_RESOURCEID(IDR_CSVCACCTINFO)
  18. DECLARE_PROTECT_FINAL_CONSTRUCT()
  19. BEGIN_COM_MAP(CCSvcAcctInfo)
  20. COM_INTERFACE_ENTRY(IMcsDomPlugIn)
  21. COM_INTERFACE_ENTRY(ISecPlugIn)
  22. END_COM_MAP()
  23. // IMcsDomPlugIn
  24. public:
  25. STDMETHOD(GetRequiredFiles)(/* [out] */SAFEARRAY ** pArray);
  26. STDMETHOD(GetRegisterableFiles)(/* [out] */SAFEARRAY ** pArray);
  27. STDMETHOD(GetDescription)(/* [out] */ BSTR * description);
  28. STDMETHOD(PreMigrationTask)(/* [in] */IUnknown * pVarSet);
  29. STDMETHOD(PostMigrationTask)(/* [in] */IUnknown * pVarSet);
  30. STDMETHOD(GetName)(/* [out] */BSTR * name);
  31. STDMETHOD(GetResultString)(/* [in] */IUnknown * pVarSet,/* [out] */ BSTR * text);
  32. STDMETHOD(StoreResults)(/* [in] */IUnknown * pVarSet);
  33. STDMETHOD(ConfigureSettings)(/*[in]*/IUnknown * pVarSet);
  34. // ISecPlugIn
  35. public:
  36. STDMETHOD(Verify)(/*[in,out]*/ULONG * data,/*[in]*/ULONG cbData);
  37. protected:
  38. // Helper functions
  39. void ProcessServices(IVarSet * pVarSet);
  40. };
  41. #endif //__CSVCACCTINFO_H_