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.

78 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. ChkNtfs.hxx
  5. Abstract:
  6. This module contains the declaration for the CHKNTFS class, which
  7. is implements an NTFS volume maintenance utility.
  8. Author:
  9. Matthew Bradburn (mattbr) 19-Aug-1996
  10. Revision History:
  11. --*/
  12. #ifndef _CHKNTFS_HXX_
  13. #define _CHKNTFS_HXX_
  14. #include "object.hxx"
  15. #include "program.hxx"
  16. //
  17. // Forward references
  18. //
  19. DECLARE_CLASS(CHKNTFS);
  20. DECLARE_CLASS(ARGUMENT_LEXEMIZER);
  21. DECLARE_CLASS(STRING_ARRAY);
  22. DECLARE_CLASS(ITERATOR);
  23. class CHKNTFS : public PROGRAM {
  24. public:
  25. DECLARE_CONSTRUCTOR(CHKNTFS);
  26. NONVIRTUAL
  27. BOOLEAN
  28. Initialize(
  29. );
  30. NONVIRTUAL
  31. BOOLEAN
  32. CheckNtfs(
  33. );
  34. ULONG ExitStatus; // exit status
  35. private:
  36. //
  37. // Member data for command-line arguments and options.
  38. //
  39. BOOLEAN _restore_default; // restore default autochk behavior
  40. BOOLEAN _exclude; // exclude drives from autochk
  41. BOOLEAN _schedule_check; // schedule autochk
  42. BOOLEAN _enable_upgrade; // enable automatic volume upgrade
  43. BOOLEAN _count_down_time; // enable the display/set of autochk
  44. // count down time
  45. ULONG _display_count_down_time; // enable the display of the count down time
  46. LONG _set_count_down_time; // set the autochk count down time
  47. MULTIPLE_PATH_ARGUMENT
  48. _drive_arguments;
  49. };
  50. #endif /* _CHKNTFS_HXX */