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.

153 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. VOID
  80. SpMashemSmashem(
  81. IN HANDLE FileHandle, OPTIONAL
  82. IN PWSTR Name1, OPTIONAL
  83. IN PWSTR Name2, OPTIONAL
  84. IN PWSTR Name3 OPTIONAL
  85. );
  86. NTSTATUS
  87. SpDiskRegistryAssignCdRomLetter(
  88. IN PWSTR CdromName,
  89. IN WCHAR DriveLetter
  90. );
  91. BOOLEAN
  92. SpDiskRegistryAssignDriveLetter(
  93. ULONG Signature,
  94. LARGE_INTEGER StartingOffset,
  95. LARGE_INTEGER Length,
  96. UCHAR DriveLetter
  97. );
  98. NTSTATUS
  99. SpMigrateDiskRegistry(
  100. IN HANDLE hDestSystemHive
  101. );
  102. NTSTATUS
  103. SpMigrateDiskRegistry (
  104. );
  105. VOID
  106. SpWin9xOverrideGuiModeCodePage (
  107. HKEY NlsRegKey
  108. );
  109. BOOLEAN
  110. SpIsWindowsUpgrade(
  111. IN PVOID SifFileHandle
  112. );
  113. #endif // ndef _SPi386_DEFN_