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.

145 lines
2.4 KiB

  1. /*++
  2. Copyright (c) 1993 Microsoft Corporation
  3. Module Name:
  4. spi386.h
  5. Abstract:
  6. x86-specific header file for text setup.
  7. Author:
  8. Ted Miller (tedm) 29-October-1993
  9. Revision History:
  10. 03-Oct-1996 jimschm Split Win95 and Win3.1 stuff
  11. 28-Feb-1997 marcw SpCopyWin9xFiles and SpDeleteWin9xFiles now declared in
  12. this header (was spcopy.h).
  13. Also, added SpAssignDriveLettersToMatchWin9x.
  14. 10-Aug-1999 marcw Added SpWin9xOverrideGuiModeCodePage
  15. --*/
  16. #pragma once
  17. #include "fci.h"
  18. #ifndef _SPi386_DEFN_
  19. #define _SPi386_DEFN_
  20. ENUMNONNTUPRADETYPE
  21. SpLocateWin95(
  22. OUT PDISK_REGION *InstallRegion,
  23. OUT PWSTR *InstallPath,
  24. OUT PDISK_REGION *SystemPartitionRegion
  25. );
  26. BOOLEAN
  27. SpLocateWin31(
  28. IN PVOID SifHandle,
  29. OUT PDISK_REGION *InstallRegion,
  30. OUT PWSTR *InstallPath,
  31. OUT PDISK_REGION *SystemPartitionRegion
  32. );
  33. BOOLEAN
  34. SpConfirmRemoveWin31(
  35. VOID
  36. );
  37. VOID
  38. SpRemoveWin31(
  39. IN PDISK_REGION NtPartitionRegion,
  40. IN LPCWSTR Sysroot
  41. );
  42. BOOLEAN
  43. SpIsWin31Dir(
  44. IN PDISK_REGION Region,
  45. IN PWSTR PathComponent,
  46. IN ULONG MinKB
  47. );
  48. BOOLEAN
  49. SpIsWin4Dir(
  50. IN PDISK_REGION Region,
  51. IN PWSTR PathComponent
  52. );
  53. BOOLEAN
  54. SpBackUpWin9xFiles (
  55. IN PVOID SifHandle,
  56. IN TCOMP CompressionType
  57. );
  58. VOID
  59. SpRemoveExtraBootIniEntry (
  60. VOID
  61. );
  62. BOOLEAN
  63. SpAddRollbackBootOption (
  64. BOOLEAN DefaultBootOption
  65. );
  66. VOID
  67. SpMoveWin9xFiles (
  68. IN PVOID SifHandle
  69. );
  70. VOID
  71. SpDeleteWin9xFiles (
  72. IN PVOID SifHandle
  73. );
  74. BOOLEAN
  75. SpExecuteWin9xRollback (
  76. IN PVOID SifHandle,
  77. IN PWSTR BootDeviceNtPath
  78. );
  79. NTSTATUS
  80. SpDiskRegistryAssignCdRomLetter(
  81. IN PWSTR CdromName,
  82. IN WCHAR DriveLetter
  83. );
  84. BOOLEAN
  85. SpDiskRegistryAssignDriveLetter(
  86. ULONG Signature,
  87. LARGE_INTEGER StartingOffset,
  88. LARGE_INTEGER Length,
  89. UCHAR DriveLetter
  90. );
  91. NTSTATUS
  92. SpMigrateDiskRegistry(
  93. IN HANDLE hDestSystemHive
  94. );
  95. NTSTATUS
  96. SpMigrateDiskRegistry (
  97. );
  98. VOID
  99. SpWin9xOverrideGuiModeCodePage (
  100. HKEY NlsRegKey
  101. );
  102. BOOLEAN
  103. SpIsWindowsUpgrade(
  104. IN PVOID SifFileHandle
  105. );
  106. #endif // ndef _SPi386_DEFN_