Source code of Windows XP (NT5)
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.

69 lines
1.8 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997-2001.
  5. //
  6. // File: locate.h
  7. //
  8. // Contents:
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_LOCATE_H__DE5E8115_A351_11D1_861B_00C04FB94F17__INCLUDED_)
  12. #define AFX_LOCATE_H__DE5E8115_A351_11D1_861B_00C04FB94F17__INCLUDED_
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16. // Locate.h : header file
  17. //
  18. #include "Wiz97PPg.h"
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CAddEFSWizLocate dialog
  21. class CAddEFSWizLocate : public CWizard97PropertyPage
  22. {
  23. DECLARE_DYNCREATE(CAddEFSWizLocate)
  24. // Construction
  25. public:
  26. CAddEFSWizLocate();
  27. ~CAddEFSWizLocate();
  28. // Dialog Data
  29. //{{AFX_DATA(CAddEFSWizLocate)
  30. enum { IDD = IDD_LOCATING };
  31. CListCtrl m_UserAddList;
  32. //}}AFX_DATA
  33. // Overrides
  34. // ClassWizard generate virtual function overrides
  35. //{{AFX_VIRTUAL(CAddEFSWizLocate)
  36. public:
  37. virtual BOOL OnSetActive();
  38. virtual LRESULT OnWizardBack();
  39. virtual LRESULT OnWizardNext();
  40. protected:
  41. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  42. //}}AFX_VIRTUAL
  43. // Implementation
  44. protected:
  45. // Generated message map functions
  46. //{{AFX_MSG(CAddEFSWizLocate)
  47. afx_msg void OnBrowseDir();
  48. afx_msg void OnBrowseFile();
  49. virtual BOOL OnInitDialog();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. private:
  53. DWORD GetCertNameFromCertContext(PCCERT_CONTEXT CertContext, LPWSTR *UserCertName);
  54. HRESULT FindUserFromDir();
  55. };
  56. //{{AFX_INSERT_LOCATION}}
  57. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  58. #endif // !defined(AFX_LOCATE_H__DE5E8115_A351_11D1_861B_00C04FB94F17__INCLUDED_)