mirror of https://github.com/tongzx/nt5src
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
69 lines
1.8 KiB
//+---------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1997-2001.
|
|
//
|
|
// File: locate.h
|
|
//
|
|
// Contents:
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
#if !defined(AFX_LOCATE_H__DE5E8115_A351_11D1_861B_00C04FB94F17__INCLUDED_)
|
|
#define AFX_LOCATE_H__DE5E8115_A351_11D1_861B_00C04FB94F17__INCLUDED_
|
|
|
|
#if _MSC_VER >= 1000
|
|
#pragma once
|
|
#endif // _MSC_VER >= 1000
|
|
// Locate.h : header file
|
|
//
|
|
#include "Wiz97PPg.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CAddEFSWizLocate dialog
|
|
|
|
class CAddEFSWizLocate : public CWizard97PropertyPage
|
|
{
|
|
DECLARE_DYNCREATE(CAddEFSWizLocate)
|
|
|
|
// Construction
|
|
public:
|
|
CAddEFSWizLocate();
|
|
~CAddEFSWizLocate();
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CAddEFSWizLocate)
|
|
enum { IDD = IDD_LOCATING };
|
|
CListCtrl m_UserAddList;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generate virtual function overrides
|
|
//{{AFX_VIRTUAL(CAddEFSWizLocate)
|
|
public:
|
|
virtual BOOL OnSetActive();
|
|
virtual LRESULT OnWizardBack();
|
|
virtual LRESULT OnWizardNext();
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CAddEFSWizLocate)
|
|
afx_msg void OnBrowseDir();
|
|
afx_msg void OnBrowseFile();
|
|
virtual BOOL OnInitDialog();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
private:
|
|
DWORD GetCertNameFromCertContext(PCCERT_CONTEXT CertContext, LPWSTR *UserCertName);
|
|
HRESULT FindUserFromDir();
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_LOCATE_H__DE5E8115_A351_11D1_861B_00C04FB94F17__INCLUDED_)
|