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.

54 lines
2.2 KiB

  1. #ifndef __REGTRANSLATOR_H__
  2. #define __REGTRANSLATOR_H__
  3. /*---------------------------------------------------------------------------
  4. File: RegTranslator.h
  5. Comments: Functions to translate registry hives, specifically, user profiles
  6. (c) Copyright 1999, Mission Critical Software, Inc., All Rights Reserved
  7. Proprietary and confidential to Mission Critical Software, Inc.
  8. REVISION LOG ENTRY
  9. Revision By: Christy Boles
  10. Revised on 05/12/99 11:11:49
  11. ---------------------------------------------------------------------------
  12. */
  13. #include "STArgs.hpp"
  14. #include "SidCache.hpp"
  15. #include "SDStat.hpp"
  16. #import "DBMgr.tlb" no_namespace, named_guids
  17. DWORD
  18. TranslateLocalProfiles(
  19. SecurityTranslatorArgs * stArgs, // in - translation settings
  20. TSDRidCache * cache, // in - translation table
  21. TSDResolveStats * stat // in - stats on items modified
  22. );
  23. DWORD
  24. TranslateRemoteProfile(
  25. WCHAR const * sourceProfilePath, // in - source profile path
  26. WCHAR * targetProfilePath, // out- new profile path for target account
  27. WCHAR const * sourceName, // in - name of source account
  28. WCHAR const * targetName, // in - name of target account
  29. WCHAR const * srcDomain, // in - source domain
  30. WCHAR const * tgtDomain, // in - target domain
  31. IIManageDB * pDb, // in - pointer to DB object
  32. long lActionID, // in - action ID of this migration
  33. PSID sourceSid, // in - source sid from MoveObj2K
  34. BOOL bWriteChanges // in - No Change mode.
  35. );
  36. DWORD
  37. TranslateRegistry(
  38. WCHAR const * computer, // in - computername to translate registry on
  39. SecurityTranslatorArgs * stArgs, // in - translation settings
  40. TSDRidCache * cache, // in - translation table
  41. TSDResolveStats * stat // in - stats on items modified
  42. );
  43. HRESULT UpdateMappedDrives(WCHAR * sSourceSam, WCHAR * sSourceDomain, WCHAR * sRegistryKey);
  44. #endif //__REGTRANSLATOR_H__