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.

99 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. achkmsg.hxx
  5. Abstract:
  6. Author:
  7. Norbert P. Kusters (norbertk) 3-Jun-91
  8. --*/
  9. #if !defined( _AUTOCHECK_MESSAGE_DEFN_ )
  10. #define _AUTOCHECK_MESSAGE_DEFN_
  11. #include "message.hxx"
  12. DECLARE_CLASS( AUTOCHECK_MESSAGE );
  13. class AUTOCHECK_MESSAGE : public MESSAGE {
  14. public:
  15. DECLARE_CONSTRUCTOR( AUTOCHECK_MESSAGE );
  16. VIRTUAL
  17. ~AUTOCHECK_MESSAGE(
  18. );
  19. NONVIRTUAL
  20. BOOLEAN
  21. Initialize(
  22. IN BOOLEAN DotsOnly DEFAULT FALSE
  23. );
  24. VIRTUAL
  25. BOOLEAN
  26. DisplayV(
  27. IN PCSTR Format,
  28. IN va_list VarPointer
  29. );
  30. VIRTUAL
  31. BOOLEAN
  32. IsYesResponse(
  33. IN BOOLEAN Default DEFAULT TRUE
  34. );
  35. VIRTUAL
  36. PMESSAGE
  37. Dup(
  38. );
  39. VIRTUAL
  40. BOOLEAN
  41. SetDotsOnly(
  42. IN BOOLEAN DotsState
  43. );
  44. VIRTUAL
  45. BOOLEAN
  46. IsInAutoChk(
  47. );
  48. VIRTUAL
  49. BOOLEAN
  50. IsKeyPressed(
  51. MSGID MsgId,
  52. ULONG TimeOutInSeconds
  53. );
  54. VIRTUAL
  55. BOOLEAN
  56. WaitForUserSignal(
  57. );
  58. private:
  59. NONVIRTUAL
  60. VOID
  61. Construct(
  62. );
  63. NONVIRTUAL
  64. VOID
  65. Destroy(
  66. );
  67. BOOLEAN _dots_only;
  68. };
  69. #endif // _AUTOCHECK_MESSAGE_DEFN_