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.

75 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. fxocUpgrade.h
  5. Abstract:
  6. Header file for Upgrade process
  7. Author:
  8. Iv Garber (IvG) Mar, 2001
  9. Revision History:
  10. --*/
  11. #ifndef _FXOCUPGRADE_H_
  12. #define _FXOCUPGRADE_H_
  13. //
  14. // MSI DLL is used for checking the SBS 5.0 Client presence on the system
  15. //
  16. #include "faxSetup.h"
  17. /**
  18. Following functions are used at OS Upgrade, where Windows XP Fax should replace other
  19. installed Fax applications.
  20. The process is as following :
  21. fxocUpg_Init() will check which Fax applications are installed.
  22. fxocUpg_SaveSettings() will save different settings of these old Fax applications.
  23. fxocUpg_MoveFiles() will move files of these old Fax applications to new places.
  24. fxocUpg_RestoreSettings() will restore back the settings that were stored at the SaveSettings().
  25. fxocUpg_MoveRegistry() will migrate existing registry to the fax service
  26. **/
  27. DWORD fxocUpg_Init(void);
  28. DWORD fxocUpg_MoveFiles(void);
  29. DWORD fxocUpg_SaveSettings(void);
  30. DWORD fxocUpg_RestoreSettings(void);
  31. DWORD fxocUpg_WhichFaxWasUninstalled(DWORD dwFaxAppList);
  32. DWORD fxocUpg_GetUpgradeApp(void);
  33. DWORD fxocUpg_MoveRegistry(void);
  34. #define UNINSTALL_TIMEOUT 5 * 60 * 1000 // 5 minutes in milliseconds
  35. #define MAX_SETUP_STRING_LEN 256
  36. #define CP_PREFIX_W2K _T("Win2K")
  37. #define CP_PREFIX_SBS _T("SBS")
  38. #define FAXOCM_NAME _T("FAXOCM.DLL")
  39. #define CPDIR_RESOURCE_ID 627
  40. #define REGKEY_PFW_ROUTING _T("Routing")
  41. #define REGKEY_SBS50SERVER _T("Software\\Microsoft\\SharedFax")
  42. #define REGVAL_PFW_OUTBOXDIR _T("ArchiveDirectory")
  43. #define REGVAL_PFW_INBOXDIR _T("Store Directory")
  44. #endif // _FXOCUPGRADE_H_