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.6 KiB

  1. /*++
  2. Copyright (c) 1997-1999 Microsoft Corporation
  3. Revision History:
  4. --*/
  5. // EnumGuidDlg.h : header file
  6. //
  7. #if !defined(AFX_ENUMGUIDDLG_H__272A54ED_8D57_11D1_9904_006008C3A19A__INCLUDED_)
  8. #define AFX_ENUMGUIDDLG_H__272A54ED_8D57_11D1_9904_006008C3A19A__INCLUDED_
  9. #if _MSC_VER >= 1000
  10. #pragma once
  11. #endif // _MSC_VER >= 1000
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CEnumGuidDlg dialog
  14. class CEnumGuidDlg : public CDialog
  15. {
  16. // Construction
  17. public:
  18. CEnumGuidDlg(CWnd* pParent = NULL); // standard constructor
  19. virtual ~CEnumGuidDlg();
  20. // Dialog Data
  21. //{{AFX_DATA(CEnumGuidDlg)
  22. enum { IDD = IDD_ENUMGUID_DIALOG };
  23. CListBox guidList;
  24. //}}AFX_DATA
  25. // ClassWizard generated virtual function overrides
  26. //{{AFX_VIRTUAL(CEnumGuidDlg)
  27. protected:
  28. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  29. //}}AFX_VIRTUAL
  30. // Implementation
  31. protected:
  32. LPGUID GetSelectedGuid();
  33. void ListGuids();
  34. int EnumerateGuids();
  35. HICON m_hIcon;
  36. LPGUID guids;
  37. ULONG guidsCount;
  38. // Generated message map functions
  39. //{{AFX_MSG(CEnumGuidDlg)
  40. virtual BOOL OnInitDialog();
  41. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  42. afx_msg void OnPaint();
  43. afx_msg HCURSOR OnQueryDragIcon();
  44. afx_msg void OnQueryFull();
  45. afx_msg void OnQuerySingle();
  46. afx_msg void OnSetSingleInstance();
  47. afx_msg void OnSetSingleItem();
  48. afx_msg void OnReenumerateGuids();
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  54. #endif // !defined(AFX_ENUMGUIDDLG_H__272A54ED_8D57_11D1_9904_006008C3A19A__INCLUDED_)