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.

83 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. bootfile.hxx
  5. Abstract:
  6. This module contains the declarations for the NTFS_BOOT_FILE
  7. class, which models the boot file for an NTFS volume.
  8. Author:
  9. Bill McJohn (billmc) 18-June-91
  10. Environment:
  11. ULIB, User Mode
  12. --*/
  13. #if !defined( NTFS_BOOT_FILE_DEFN )
  14. #define NTFS_BOOT_FILE_DEFN
  15. #include "frs.hxx"
  16. class NTFS_BOOT_FILE : public NTFS_FILE_RECORD_SEGMENT {
  17. public:
  18. UNTFS_EXPORT
  19. DECLARE_CONSTRUCTOR( NTFS_BOOT_FILE );
  20. UNTFS_EXPORT
  21. VIRTUAL
  22. ~NTFS_BOOT_FILE(
  23. );
  24. UNTFS_EXPORT
  25. NONVIRTUAL
  26. BOOLEAN
  27. Initialize(
  28. IN OUT PNTFS_MASTER_FILE_TABLE Mft
  29. );
  30. NONVIRTUAL
  31. BOOLEAN
  32. Create(
  33. IN PCSTANDARD_INFORMATION StandardInformation
  34. );
  35. NONVIRTUAL
  36. BOOLEAN
  37. VerifyAndFix(
  38. IN OUT PNTFS_BITMAP VolumeBitmap,
  39. IN OUT PNTFS_INDEX_TREE RootIndex,
  40. OUT PBOOLEAN Changes,
  41. IN FIX_LEVEL FixLevel,
  42. IN OUT PMESSAGE Message
  43. );
  44. private:
  45. NONVIRTUAL
  46. BOOLEAN
  47. CreateDataAttribute(
  48. );
  49. NONVIRTUAL
  50. VOID
  51. Construct(
  52. );
  53. NONVIRTUAL
  54. VOID
  55. Destroy(
  56. );
  57. };
  58. #endif