Source code of Windows XP (NT5)
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.3 KiB

  1. // IISAppConfig.h : Declaration of the CIISAppConfig
  2. #ifndef __IISAPPCONFIG_H_
  3. #define __IISAPPCONFIG_H_
  4. #include "resource.h" // main symbols
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CIISAppConfig
  7. class ATL_NO_VTABLE CIISAppConfig :
  8. public CComObjectRootEx<CComSingleThreadModel>,
  9. public CComCoClass<CIISAppConfig, &CLSID_IISAppConfig>,
  10. public IDispatchImpl<IIISAppConfig, &IID_IIISAppConfig, &LIBID_APPCONFIGLib>
  11. {
  12. public:
  13. CIISAppConfig()
  14. {
  15. }
  16. DECLARE_REGISTRY_RESOURCEID(IDR_IISAPPCONFIG)
  17. DECLARE_PROTECT_FINAL_CONSTRUCT()
  18. BEGIN_COM_MAP(CIISAppConfig)
  19. COM_INTERFACE_ENTRY(IIISAppConfig)
  20. COM_INTERFACE_ENTRY(IDispatch)
  21. END_COM_MAP()
  22. // IIISAppConfig
  23. public:
  24. STDMETHOD(put_UserPassword)(/*[in]*/ BSTR newVal);
  25. STDMETHOD(put_UserName)(/*[in]*/ BSTR newVal);
  26. STDMETHOD(put_ComputerName)(/*[in]*/ BSTR newVal);
  27. STDMETHOD(put_MetaPath)(/*[in]*/ BSTR newVal);
  28. STDMETHOD(put_HelpPath)(/*[in]*/ BSTR newVal);
  29. STDMETHOD(put_ServiceVersion)(/*[in]*/ DWORD newVal);
  30. STDMETHOD(put_ServiceCompatMode)(/*[in]*/ BOOL newVal);
  31. STDMETHOD(Run)();
  32. CComBSTR m_ComputerName;
  33. CComBSTR m_UserName;
  34. CComBSTR m_UserPassword;
  35. CComBSTR m_MetaPath;
  36. CComBSTR m_HelpPath;
  37. BOOL m_ShowProcessPage;
  38. DWORD m_Version;
  39. BOOL m_CompatMode;
  40. };
  41. #endif //__IISAPPCONFIG_H_