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.

112 lines
2.1 KiB

  1. /*++
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. spntupg.h
  5. Abstract:
  6. initializing and maintaining list of nts to upgrade
  7. Author:
  8. Sunil Pai (sunilp) 26-Nov-1993
  9. Revision History:
  10. --*/
  11. //
  12. // Public functions
  13. //
  14. ENUMUPGRADETYPE
  15. SpFindNtToUpgrade(
  16. IN PVOID SifHandle,
  17. OUT PDISK_REGION *TargetRegion,
  18. OUT PWSTR *TargetPath,
  19. OUT PDISK_REGION *SystemPartitionRegion,
  20. OUT PWSTR *SystemPartitionDirectory
  21. );
  22. BOOLEAN
  23. SpDoBuildsMatch(
  24. IN PVOID SifHandle,
  25. ULONG TestBuildNum,
  26. NT_PRODUCT_TYPE TestBuildType,
  27. ULONG TestBuildSuiteMask,
  28. BOOLEAN CurrentProductIsServer,
  29. ULONG CurrentSuiteMask,
  30. IN LCID LangId
  31. );
  32. BOOL
  33. SpDetermineInstallationSource(
  34. IN PVOID SifHandle,
  35. OUT PWSTR *DevicePath,
  36. OUT PWSTR *DirectoryOnDevice,
  37. IN BOOLEAN bEscape
  38. );
  39. //
  40. // Private functions
  41. //
  42. BOOLEAN
  43. SppResumingFailedUpgrade(
  44. IN PDISK_REGION Region,
  45. IN LPCWSTR OsLoadFileName,
  46. IN LPCWSTR LoadIdentifier,
  47. IN BOOLEAN AllowCancel
  48. );
  49. VOID
  50. SppUpgradeDiskFull(
  51. IN PDISK_REGION OsRegion,
  52. IN LPCWSTR OsLoadFileName,
  53. IN LPCWSTR LoadIdentifier,
  54. IN PDISK_REGION SysPartRegion,
  55. IN ULONG MinOsFree,
  56. IN ULONG MinSysFree,
  57. IN BOOLEAN Fatal
  58. );
  59. ENUMUPGRADETYPE
  60. SppSelectNTToRepairByUpgrade(
  61. OUT PSP_BOOT_ENTRY *BootSetChosen
  62. );
  63. ENUMUPGRADETYPE
  64. SppNTMultiFailedUpgrade(
  65. PDISK_REGION OsPartRegion,
  66. PWSTR OsLoadFileName,
  67. PWSTR LoadIdentifier
  68. );
  69. VOID
  70. SppNTMultiUpgradeDiskFull(
  71. PDISK_REGION OsRegion,
  72. PWSTR OsLoadFileName,
  73. PWSTR LoadIdentifier,
  74. PDISK_REGION SysPartRegion,
  75. ULONG MinOsFree,
  76. ULONG MinSysFree
  77. );
  78. VOID
  79. SppBackupHives(
  80. PDISK_REGION TargetRegion,
  81. PWSTR SystemRoot
  82. );
  83. BOOLEAN
  84. SppWarnUpgradeWorkstationToServer(
  85. IN ULONG MsgId
  86. );
  87. NTSTATUS
  88. SpGetMediaDetails(
  89. IN PWSTR CdInfDirPath,
  90. OUT PCCMEDIA MediaObj
  91. );