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.

64 lines
1.9 KiB

  1. #if !defined(AFX_WIAEDITPROPLIST_H__7B348364_E122_4F5E_A7F1_D9205CDF5713__INCLUDED_)
  2. #define AFX_WIAEDITPROPLIST_H__7B348364_E122_4F5E_A7F1_D9205CDF5713__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Wiaeditproplist.h : header file
  7. //
  8. typedef struct _VALID_LIST_VALUES {
  9. VARTYPE vt;
  10. LONG lNumElements;
  11. BYTE *pList;
  12. }VALID_LIST_VALUES, *PVALID_LIST_VALUES;
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CWiaeditproplist dialog
  15. class CWiaeditproplist : public CDialog
  16. {
  17. // Construction
  18. public:
  19. void GUID2TSTR(GUID *pGUID, TCHAR *szValue);
  20. void SelectCurrentValue();
  21. void AddValidValuesToListBox();
  22. void SetPropertyName(TCHAR *szPropertyName);
  23. void SetPropertyValue(TCHAR *szPropertyValue);
  24. void SetPropertyValidValues(PVALID_LIST_VALUES pValidListValues);
  25. CWiaeditproplist(CWnd* pParent = NULL); // standard constructor
  26. // Dialog Data
  27. //{{AFX_DATA(CWiaeditproplist)
  28. enum { IDD = IDD_EDIT_WIAPROP_LIST_DIALOG };
  29. CListBox m_PropertyValidValuesListBox;
  30. CString m_szPropertyName;
  31. CString m_szPropertyValue;
  32. CString m_szNumListValues;
  33. //}}AFX_DATA
  34. // Overrides
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(CWiaeditproplist)
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  39. //}}AFX_VIRTUAL
  40. // Implementation
  41. protected:
  42. PVALID_LIST_VALUES m_pValidListValues;
  43. // Generated message map functions
  44. //{{AFX_MSG(CWiaeditproplist)
  45. virtual BOOL OnInitDialog();
  46. afx_msg void OnSelchangeListPropertyvalueListbox();
  47. afx_msg void OnDblclkListPropertyvalueListbox();
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_WIAEDITPROPLIST_H__7B348364_E122_4F5E_A7F1_D9205CDF5713__INCLUDED_)