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.

41 lines
682 B

  1. INT
  2. _far
  3. MakePartitionAtStartOfDisk(
  4. IN HDISK DiskHandle,
  5. OUT FPVOID SectorBuffer,
  6. IN ULONG MinimumSectorCount,
  7. IN UINT PartitionClass,
  8. IN BYTE SystemId OPTIONAL
  9. );
  10. //
  11. // Values for PartitionClass.
  12. //
  13. // KEEP IN SYNC with iolib\disk.inc!
  14. //
  15. #define PARTCLASS_FAT 1
  16. #define PARTCLASS_FAT32 2
  17. #define PARTCLASS_NTFS 3
  18. #define PARTCLASS_OTHER 4
  19. INT
  20. _far
  21. MakePartitionAtEndOfEmptyDisk(
  22. IN HDISK DiskHandle,
  23. OUT FPVOID SectorBuffer,
  24. IN ULONG MinimumSectorCount,
  25. IN BOOL NewMasterBootCode
  26. );
  27. INT
  28. _far
  29. ReinitializePartitionTable(
  30. IN HDISK DiskHandle,
  31. OUT FPVOID SectorBuffer
  32. );