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.

72 lines
1.7 KiB

  1. #if !defined(AFX_VCHK_H__759990C4_C5B1_44C5_8CAE_C55BAE0E2D81__INCLUDED_)
  2. #define AFX_VCHK_H__759990C4_C5B1_44C5_8CAE_C55BAE0E2D81__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // #include "driverlist.h"
  7. #define ACC_DISABLED (5)
  8. class CommandLine : public CCommandLineInfo {
  9. public:
  10. CommandLine() :
  11. m_last_flag (""),
  12. m_parse_error (FALSE),
  13. m_error_msg (""),
  14. m_help(FALSE),
  15. m_acc_level(ACC_DISABLED),
  16. m_first_param(FALSE),
  17. CCommandLineInfo(),
  18. m_monitor(0)
  19. {
  20. }
  21. virtual void ParseParam( LPCTSTR lpszParam, BOOL bFlag, BOOL bLast );
  22. BOOL m_parse_error;
  23. BOOL m_help;
  24. CString m_error_msg;
  25. CString m_log_fname;
  26. int m_monitor;
  27. DWORD m_acc_level;
  28. private:
  29. CString m_last_flag;
  30. BOOL m_first_param;
  31. };
  32. /////////////////////////////////////////////////////////////////////////////
  33. // CDrvchkApp:
  34. // See drvchk.cpp for the implementation of this class
  35. //
  36. class CDrvchkApp : public CWinApp
  37. {
  38. public:
  39. CDrvchkApp();
  40. // Overrides
  41. // ClassWizard generated virtual function overrides
  42. //{{AFX_VIRTUAL(CDrvchkApp)
  43. public:
  44. virtual BOOL InitInstance();
  45. //}}AFX_VIRTUAL
  46. protected:
  47. void PrintOut (LPCSTR str);
  48. void PrintOut (unsigned num);
  49. private:
  50. FILE* m_logf;
  51. CommandLine m_cmd_line;
  52. OSVERSIONINFO m_os_ver_info;
  53. CString m_drv_name;
  54. // CDriverList m_drv_list;
  55. };
  56. /////////////////////////////////////////////////////////////////////////////
  57. #endif // !defined(AFX_VCHK_H__759990C4_C5B1_44C5_8CAE_C55BAE0E2D81__INCLUDED_)