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.

81 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. chkmsg.hxx
  5. Abstract:
  6. This class is an implementation of the MESSAGE class which uses
  7. an FMIFS callback function as its means of communicating results.
  8. This is used only for the CHKDSK functionality, and overrides the
  9. DisplayV method of the FMIFS_MESSAGE class.
  10. Author:
  11. Bruce Forstall (brucefo) 13-Jul-93
  12. --*/
  13. #if !defined( _FMIFS_CHKMSG_DEFN_ )
  14. #define _FMIFS_CHKMSG_DEFN_
  15. #define UNINITIALIZED_BOOLEAN 2
  16. #include "fmifsmsg.hxx"
  17. DECLARE_CLASS( FMIFS_CHKMSG );
  18. class FMIFS_CHKMSG : public FMIFS_MESSAGE {
  19. public:
  20. DECLARE_CONSTRUCTOR( FMIFS_CHKMSG );
  21. VIRTUAL
  22. ~FMIFS_CHKMSG(
  23. );
  24. VIRTUAL
  25. BOOLEAN
  26. Initialize(
  27. IN FMIFS_CALLBACK CallBack
  28. );
  29. VIRTUAL
  30. BOOLEAN
  31. DisplayV(
  32. IN PCSTR Format,
  33. IN va_list VarPointer
  34. );
  35. VIRTUAL
  36. BOOLEAN
  37. IsYesResponse(
  38. IN BOOLEAN Default
  39. );
  40. VIRTUAL
  41. PMESSAGE
  42. Dup(
  43. );
  44. private:
  45. NONVIRTUAL
  46. VOID
  47. Construct(
  48. );
  49. NONVIRTUAL
  50. VOID
  51. Destroy(
  52. );
  53. BOOL _lastyesnoquery;
  54. };
  55. #endif // _FMIFS_CHKMSG_DEFN_