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.

92 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1991-1996 Microsoft Corporation
  3. Module Name:
  4. tmackmsg.hxx
  5. Abstract:
  6. Header file for the TM_AUTOCHECK_MESSAGE subclass.
  7. Author:
  8. Daniel Chan (danielch) 11-11-96
  9. --*/
  10. #if !defined( _TM_AUTOCHECK_MESSAGE_DEFN_ )
  11. #define _TM_AUTOCHECK_MESSAGE_DEFN_
  12. #include "achkmsg.hxx"
  13. DECLARE_CLASS( TM_AUTOCHECK_MESSAGE );
  14. class TM_AUTOCHECK_MESSAGE : public AUTOCHECK_MESSAGE {
  15. public:
  16. DECLARE_CONSTRUCTOR( TM_AUTOCHECK_MESSAGE );
  17. VIRTUAL
  18. ~TM_AUTOCHECK_MESSAGE(
  19. );
  20. VIRTUAL
  21. BOOLEAN
  22. DisplayV(
  23. IN PCSTR Format,
  24. IN va_list VarPointer
  25. );
  26. VIRTUAL
  27. BOOLEAN
  28. IsYesResponse(
  29. IN BOOLEAN Default DEFAULT TRUE
  30. );
  31. VIRTUAL
  32. BOOLEAN
  33. IsInAutoChk(
  34. );
  35. VIRTUAL
  36. BOOLEAN
  37. IsInSetup(
  38. );
  39. VIRTUAL
  40. BOOLEAN
  41. IsKeyPressed(
  42. MSGID MsgId,
  43. ULONG TimeOutInSeconds
  44. );
  45. VIRTUAL
  46. BOOLEAN
  47. WaitForUserSignal(
  48. );
  49. private:
  50. NONVIRTUAL
  51. VOID
  52. Construct(
  53. );
  54. NONVIRTUAL
  55. VOID
  56. Destroy(
  57. );
  58. HANDLE _handle;
  59. ULONG _kilobytes_total_disk_space;
  60. ULONG _values_in_mb;
  61. USHORT _base_percent;
  62. USHORT _percent_divisor;
  63. };
  64. #endif // _TM_AUTOCHECK_MESSAGE_DEFN_