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.

35 lines
1.4 KiB

  1. #ifndef __METAEXP_MBASE__
  2. #define __METAEXP_MBASE__
  3. #include <atlbase.h>
  4. #include <initguid.h>
  5. #include <comdef.h>
  6. #include <iadmw.h> // COM Interface header file.
  7. #include "common.h"
  8. void TraceProperty( PMETADATA_RECORD pmRec, WCHAR* pwszMDPath );
  9. HRESULT EnumProperties(IMSAdminBase* pIMetaSource, METADATA_HANDLE hKeySource, wchar_t* SourceMDPath,
  10. IMSAdminBase* pIMetaTarget, METADATA_HANDLE hKeyTarget, wchar_t* TargetMDPath );
  11. HRESULT CreateAndCopyKey(
  12. IMSAdminBase* pIMetaSource,
  13. METADATA_HANDLE hMDSourceHandle, //metabase handle to the source key.
  14. wchar_t* pszMDSourcePath, //path of the source relative to hMDSourceHandle.
  15. IMSAdminBase* pIMetaTarget,
  16. METADATA_HANDLE hMDDestHandle, //metabase handle to the destination.
  17. wchar_t* pszMDDestPath, //path of the destination, relative to hMDDestHandle.
  18. BOOL bMDCopySubKeys //whether to copy all subkey data
  19. );
  20. HRESULT CopyIISConfig(COSERVERINFO *pCoServerInfoSource,COSERVERINFO *pCoServerInfoTarget, WCHAR *pwszSourceKey,
  21. _bstr_t &bstrTargetKey );
  22. HRESULT AppPoolFixUp(COSERVERINFO *pCoServerInfo, WCHAR * pwszKey, WCHAR * pwszAppPoolID );
  23. HRESULT CreateAppPool(IMSAdminBase* pIMeta,METADATA_HANDLE hKey,WCHAR *pAppPoolID);
  24. HRESULT ApplyMBFixUp(COSERVERINFO *pCoServerInfo, WCHAR * pwszKey, WCHAR * pwszAppPoolID,
  25. PXCOPYTASKITEM pXCOPYList, WCHAR * pwszServerBinding, BOOL bApplyFPSE);
  26. #endif