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.

65 lines
1.7 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1997
  6. //
  7. // File: simcert.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // SimCert.h - SIM Certificate Dialog
  11. /////////////////////////////////////////////////////////////////////////////
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CSimCertificateDlg dialog
  14. class CSimCertificateDlg : public CDialogEx
  15. {
  16. friend CSimX509PropPage;
  17. public:
  18. CSimCertificateDlg(CWnd* pParent = NULL); // standard constructor
  19. //{{AFX_DATA(CSimCertificateDlg)
  20. enum { IDD = IDD_SIM_CERTIFICATE_PROPERTIES };
  21. BOOL m_fCheckIssuer;
  22. BOOL m_fCheckSubject;
  23. //}}AFX_DATA
  24. UINT m_uStringIdCaption; // String Id for the caption
  25. // Overrides
  26. // ClassWizard generated virtual function overrides
  27. //{{AFX_VIRTUAL(CSimCertificateDlg)
  28. protected:
  29. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. protected:
  33. // Generated message map functions
  34. //{{AFX_MSG(CSimCertificateDlg)
  35. virtual BOOL OnInitDialog();
  36. virtual void OnOK();
  37. afx_msg void OnCheckIssuer();
  38. afx_msg void OnCheckSubject();
  39. //}}AFX_MSG
  40. DECLARE_MESSAGE_MAP()
  41. HWND m_hwndListview; // Handle of the listview control
  42. CString m_strData; // Long string to store the whole certificate information
  43. void UpdateUI();
  44. void RefreshUI();
  45. void PopulateListview();
  46. bool AddListviewItems(UINT uStringId, LPCTSTR rgzpsz[]);
  47. virtual void DoContextHelp (HWND hWndControl);
  48. BOOL OnHelp(WPARAM wParam, LPARAM lParam);
  49. private:
  50. bool m_fCheckSubjectChanged;
  51. }; // CSimCertificateDlg