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.

91 lines
2.0 KiB

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