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.

61 lines
2.2 KiB

  1. //=======================================================================
  2. // Microsoft state migration helper tool
  3. //
  4. // Copyright Microsoft (c) 2000 Microsoft Corporation.
  5. //
  6. // File: loadstate.hxx
  7. //
  8. //=======================================================================
  9. #ifndef LOADSTATE_HXX
  10. #define LOADSTATE_HXX
  11. #include <common.hxx>
  12. //---------------------------------------------------------------
  13. // Globals.
  14. extern DWORD SourceVersion;
  15. extern TCHAR szLogFile[];
  16. //---------------------------------------------------------------
  17. // Prototypes.
  18. void CleanupUser ( void );
  19. void CloseFiles ( void );
  20. DWORD ComputeTemp ( void );
  21. DWORD CreateUserProfileFromName( TCHAR *ptsDomainName,
  22. TCHAR *ptsUsername,
  23. TCHAR *ptsHiveName );
  24. void EraseTemp ( void );
  25. DWORD LoadFiles ( void );
  26. DWORD LoadSystem ( int argc, char *argv[] );
  27. DWORD LoadUser ( TCHAR **pptsDomainName,
  28. TCHAR **pptsUsername,
  29. TCHAR **pptsHiveName );
  30. DWORD FixSpecial ( void );
  31. DWORD ProcessExtensions ( void );
  32. DWORD ProcessExecExtensions ( void );
  33. DWORD WhereIsThisFile ( const TCHAR *ptsFileName,
  34. TCHAR **pptsNewFile );
  35. DWORD CopyInf ( const TCHAR *ptsSettings );
  36. DWORD InitializeHash ( void );
  37. DWORD ExpandEnvStringForUser (TCHAR *ptsString,
  38. TCHAR *ptsTemp,
  39. TCHAR **pptsFinal);
  40. DWORD LogFormatError (DWORD dwErr);
  41. // Filter Functions
  42. DWORD ConvertRecentDocsMRU (DWORD *ptype, BYTE **pdata, DWORD *pdata_len);
  43. DWORD ConvertAppearanceScheme (DWORD *ptype, BYTE **pdata, DWORD *pdata_len);
  44. DWORD ConvertLogFont (DWORD *ptype, BYTE **pdata, DWORD *pdata_len);
  45. DWORD ConvertToDword (DWORD *ptype, BYTE **pdata, DWORD *pdata_len);
  46. DWORD ConvertToString (DWORD *ptype, BYTE **pdata, DWORD *pdata_len);
  47. DWORD AntiAlias (DWORD *ptype, BYTE **pdata, DWORD *pdata_len);
  48. DWORD FixActiveDesktop (DWORD *ptype, BYTE **pdata, DWORD *pdata_len);
  49. #endif