windows-nt/Source/XPSP1/NT/inetsrv/iis/admin/appconfig/iisappconfig.h
2020-09-26 16:20:57 +08:00

51 lines
1.3 KiB
C++

// IISAppConfig.h : Declaration of the CIISAppConfig
#ifndef __IISAPPCONFIG_H_
#define __IISAPPCONFIG_H_
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CIISAppConfig
class ATL_NO_VTABLE CIISAppConfig :
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<CIISAppConfig, &CLSID_IISAppConfig>,
public IDispatchImpl<IIISAppConfig, &IID_IIISAppConfig, &LIBID_APPCONFIGLib>
{
public:
CIISAppConfig()
{
}
DECLARE_REGISTRY_RESOURCEID(IDR_IISAPPCONFIG)
DECLARE_PROTECT_FINAL_CONSTRUCT()
BEGIN_COM_MAP(CIISAppConfig)
COM_INTERFACE_ENTRY(IIISAppConfig)
COM_INTERFACE_ENTRY(IDispatch)
END_COM_MAP()
// IIISAppConfig
public:
STDMETHOD(put_UserPassword)(/*[in]*/ BSTR newVal);
STDMETHOD(put_UserName)(/*[in]*/ BSTR newVal);
STDMETHOD(put_ComputerName)(/*[in]*/ BSTR newVal);
STDMETHOD(put_MetaPath)(/*[in]*/ BSTR newVal);
STDMETHOD(put_HelpPath)(/*[in]*/ BSTR newVal);
STDMETHOD(put_ServiceVersion)(/*[in]*/ DWORD newVal);
STDMETHOD(put_ServiceCompatMode)(/*[in]*/ BOOL newVal);
STDMETHOD(Run)();
CComBSTR m_ComputerName;
CComBSTR m_UserName;
CComBSTR m_UserPassword;
CComBSTR m_MetaPath;
CComBSTR m_HelpPath;
BOOL m_ShowProcessPage;
DWORD m_Version;
BOOL m_CompatMode;
};
#endif //__IISAPPCONFIG_H_