mirror of https://github.com/tongzx/nt5src
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
50 lines
1.3 KiB
// 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_
|