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.

58 lines
1.5 KiB

  1. // EnumTestDlg.h : header file
  2. //
  3. #if !defined(AFX_ENUMTESTDLG_H__36AFC714_1921_11D3_8C7F_0090270D48D1__INCLUDED_)
  4. #define AFX_ENUMTESTDLG_H__36AFC714_1921_11D3_8C7F_0090270D48D1__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CEnumTestDlg dialog
  10. class CEnumTestDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CEnumTestDlg(CWnd* pParent = NULL); // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CEnumTestDlg)
  17. enum { IDD = IDD_ENUMTEST_DIALOG };
  18. CListCtrl m_listBox;
  19. CString m_strContainer;
  20. CString m_strDomain;
  21. CString m_strQuery;
  22. //}}AFX_DATA
  23. // ClassWizard generated virtual function overrides
  24. //{{AFX_VIRTUAL(CEnumTestDlg)
  25. protected:
  26. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  27. //}}AFX_VIRTUAL
  28. // Implementation
  29. protected:
  30. HICON m_hIcon;
  31. // Generated message map functions
  32. //{{AFX_MSG(CEnumTestDlg)
  33. virtual BOOL OnInitDialog();
  34. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  35. afx_msg void OnPaint();
  36. afx_msg HCURSOR OnQueryDragIcon();
  37. virtual void OnOK();
  38. afx_msg void OnDblclkListMembers(NMHDR* pNMHDR, LRESULT* pResult);
  39. afx_msg void OnBacktrack();
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. private:
  43. char * GetSidFromVar(_variant_t var);
  44. };
  45. //{{AFX_INSERT_LOCATION}}
  46. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  47. #endif // !defined(AFX_ENUMTESTDLG_H__36AFC714_1921_11D3_8C7F_0090270D48D1__INCLUDED_)