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.

82 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. spptdump.h
  5. Abstract:
  6. Various dump routines for partition, disk and
  7. file system information
  8. Author:
  9. Vijay Jayaseelan (vijayj)
  10. Revision History:
  11. None
  12. --*/
  13. #ifndef _SPPTDUMP_H_
  14. #define _SPPTDUMP_H_
  15. #define SPPT_GET_PARTITION_STYLE_STR(_Style) \
  16. (((_Style) == PARTITION_STYLE_MBR) ? (L"MBR") : \
  17. (((_Style) == PARTITION_STYLE_GPT) ? (L"GPT") : (L"UNKNOWN")))
  18. PWSTR
  19. SpPtGuidToString(
  20. IN GUID* Guid,
  21. IN OUT PWSTR Buffer
  22. );
  23. VOID
  24. SpPtDumpDiskRegion(
  25. IN PDISK_REGION Region
  26. );
  27. VOID
  28. SpPtDumpDiskRegionInformation(
  29. IN ULONG DiskNumber,
  30. IN BOOLEAN ExtendedRegionAlso
  31. );
  32. VOID
  33. SpPtDumpDiskDriveInformation(
  34. IN BOOLEAN ExtenedRegionAlso
  35. );
  36. VOID
  37. SpPtDumpPartitionInformation(
  38. IN PPARTITION_INFORMATION_EX PartInfo
  39. );
  40. VOID
  41. SpPtDumpDriveLayoutInformation(
  42. IN PWSTR DevicePath,
  43. IN PDRIVE_LAYOUT_INFORMATION_EX DriveLayout
  44. );
  45. VOID
  46. SpPtDumpFSAttributes(
  47. IN PFILE_FS_ATTRIBUTE_INFORMATION FsAttrs
  48. );
  49. VOID
  50. SpPtDumpFSSizeInfo(
  51. IN PFILE_FS_SIZE_INFORMATION FsSize
  52. );
  53. VOID
  54. SpPtDumpFSVolumeInfo(
  55. IN PFILE_FS_VOLUME_INFORMATION FsVolInfo
  56. );
  57. #endif // for _SPPTDUMP_H_