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.

86 lines
2.3 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: scalert.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // SCStatus.h : main header file for the SCSTATUS application
  11. //
  12. #if !defined(AFX_SCSTATUS_H__2F127492_0854_11D1_BC85_00C04FC298B7__INCLUDED_)
  13. #define AFX_SCSTATUS_H__2F127492_0854_11D1_BC85_00C04FC298B7__INCLUDED_
  14. #if _MSC_VER >= 1000
  15. #pragma once
  16. #endif // _MSC_VER >= 1000
  17. #ifndef __AFXWIN_H__
  18. #error include 'stdafx.h' before including this file for PCH
  19. #endif
  20. #include <winscard.h>
  21. #include "resource.h" // main symbols
  22. #include "cmnstat.h" // Common headers/defines,etc.
  23. #include "notfywin.h"
  24. /////////////////////////////////////////////////////////////////////////////
  25. // CSCStatusApp:
  26. // See SCStatus.cpp for the implementation of this class
  27. //
  28. class CSCStatusApp : public CWinApp
  29. {
  30. public:
  31. // Construction
  32. CSCStatusApp();
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CSCStatusApp)
  36. public:
  37. virtual BOOL InitInstance();
  38. virtual int ExitInstance();
  39. //}}AFX_VIRTUAL
  40. // Implementation
  41. //{{AFX_MSG(CSCStatusApp)
  42. // NOTE - the ClassWizard will add and remove member functions here.
  43. // DO NOT EDIT what you see in these blocks of generated code !
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. // Members
  47. public:
  48. void SetRemovalOptions(void);
  49. private:
  50. void SetAlertOptions(bool fRead = true);
  51. SCARDCONTEXT m_hSCardContext; // Context with smartcard resource manager
  52. public:
  53. HICON m_hIconCard;
  54. HICON m_hIconRdrEmpty;
  55. HICON m_hIconCardInfo;
  56. HICON m_hIconCalaisDown; // Icons for Calais system state
  57. DWORD m_dwState;
  58. DWORD m_dwAlertOption;
  59. CString m_strLogonReader; // strings for handling ScRemovalOptions
  60. CString m_strRemovalText; // removal -> log off, removal -> lock wks.
  61. };
  62. /////////////////////////////////////////////////////////////////////////////
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  65. #endif // !defined(AFX_SCSTATUS_H__2F127492_0854_11D1_BC85_00C04FC298B7__INCLUDED_)