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.

50 lines
1.6 KiB

  1. // P3Config.h : Declaration of the CP3Config
  2. #ifndef __P3CONFIG_H_
  3. #define __P3CONFIG_H_
  4. #include "resource.h" // main symbols
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CP3Config
  7. class ATL_NO_VTABLE CP3Config :
  8. public CComObjectRootEx<CComSingleThreadModel>,
  9. public CComCoClass<CP3Config, &CLSID_P3Config>,
  10. public IDispatchImpl<IP3Config, &IID_IP3Config, &LIBID_P3ADMINLib>
  11. {
  12. public:
  13. CP3Config()
  14. {
  15. }
  16. DECLARE_REGISTRY_RESOURCEID(IDR_P3CONFIG)
  17. DECLARE_PROTECT_FINAL_CONSTRUCT()
  18. BEGIN_COM_MAP(CP3Config)
  19. COM_INTERFACE_ENTRY(IP3Config)
  20. COM_INTERFACE_ENTRY(IDispatch)
  21. END_COM_MAP()
  22. // IP3Config
  23. public:
  24. STDMETHOD(get_ConfirmAddUser)(/*[out, retval]*/ BOOL *pVal);
  25. STDMETHOD(put_ConfirmAddUser)(/*[in]*/ BOOL newVal);
  26. STDMETHOD(get_MachineName)(/*[out, retval]*/ BSTR *pVal);
  27. STDMETHOD(put_MachineName)(/*[in]*/ BSTR newVal);
  28. STDMETHOD(get_MailRoot)(/*[out, retval]*/ BSTR *pVal);
  29. STDMETHOD(put_MailRoot)(/*[in]*/ BSTR newVal);
  30. STDMETHOD(get_LoggingLevel)(/*[out, retval]*/ long *pVal);
  31. STDMETHOD(put_LoggingLevel)(/*[in]*/ long newVal);
  32. STDMETHOD(GetFormattedMessage)(/*[in]*/ long lError, /*[out]*/ VARIANT *pVal);
  33. STDMETHOD(get_Domains)(/*[out, retval]*/ IP3Domains* *ppIDomains);
  34. STDMETHOD(get_Service)(/*[out, retval]*/ IP3Service* *ppIService);
  35. STDMETHOD(IISConfig)(/*[in]*/ BOOL bRegister );
  36. STDMETHOD(get_Authentication)(/*[out, retval]*/ IAuthMethods* *ppIAuthMethods);
  37. private:
  38. CP3AdminWorker m_AdminX; // This is the object that actually does all the work.
  39. };
  40. #endif //__P3CONFIG_H_