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.

87 lines
2.0 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. upfile.hxx
  5. Abstract:
  6. This module contains the declarations for the NTFS_UPCASE_FILE
  7. class, which models the upcase-table file for an NTFS volume.
  8. This class' main purpose in life is to encapsulate the creation
  9. of this file.
  10. Author:
  11. Bill McJohn (billmc) 04-March-1992
  12. Environment:
  13. ULIB, User Mode
  14. --*/
  15. #if !defined( NTFS_UPCASE_FILE_DEFN )
  16. #define NTFS_UPCASE_FILE_DEFN
  17. #include "frs.hxx"
  18. DECLARE_CLASS( NTFS_BITMAP );
  19. DECLARE_CLASS( NTFS_UPCASE_TABLE );
  20. class NTFS_UPCASE_FILE : public NTFS_FILE_RECORD_SEGMENT {
  21. public:
  22. UNTFS_EXPORT
  23. DECLARE_CONSTRUCTOR( NTFS_UPCASE_FILE );
  24. VIRTUAL
  25. UNTFS_EXPORT
  26. ~NTFS_UPCASE_FILE(
  27. );
  28. NONVIRTUAL
  29. UNTFS_EXPORT
  30. BOOLEAN
  31. Initialize(
  32. IN OUT PNTFS_MASTER_FILE_TABLE Mft
  33. );
  34. NONVIRTUAL
  35. BOOLEAN
  36. Create(
  37. IN PCSTANDARD_INFORMATION StandardInformation,
  38. IN PNTFS_UPCASE_TABLE UpcaseTable,
  39. IN OUT PNTFS_BITMAP VolumeBitmap
  40. );
  41. NONVIRTUAL
  42. BOOLEAN
  43. VerifyAndFix(
  44. IN OUT PNTFS_UPCASE_TABLE UpcaseTable,
  45. IN OUT PNTFS_BITMAP VolumeBitmap,
  46. IN OUT PNUMBER_SET BadClusters,
  47. IN OUT PNTFS_INDEX_TREE RootIndex,
  48. OUT PBOOLEAN Changes,
  49. IN FIX_LEVEL FixLevel,
  50. IN OUT PMESSAGE Message
  51. );
  52. private:
  53. NONVIRTUAL
  54. VOID
  55. Construct(
  56. );
  57. NONVIRTUAL
  58. VOID
  59. Destroy(
  60. );
  61. };
  62. #endif