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.

61 lines
1.8 KiB

  1. #if !defined(AFX_WIAEDITPROPRANGE_H__E1FDE159_C7B7_40B6_AF67_7D5CCE9E09DA__INCLUDED_)
  2. #define AFX_WIAEDITPROPRANGE_H__E1FDE159_C7B7_40B6_AF67_7D5CCE9E09DA__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Wiaeditproprange.h : header file
  7. //
  8. typedef struct _VALID_RANGE_VALUES {
  9. LONG lMin;
  10. LONG lMax;
  11. LONG lNom;
  12. LONG lInc;
  13. }VALID_RANGE_VALUES, *PVALID_RANGE_VALUES;
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CWiaeditproprange dialog
  16. class CWiaeditproprange : public CDialog
  17. {
  18. // Construction
  19. public:
  20. void SetPropertyName(TCHAR *szPropertyName);
  21. void SetPropertyValue(TCHAR *szPropertyValue);
  22. void SetPropertyValidValues(PVALID_RANGE_VALUES pValidRangeValues);
  23. CWiaeditproprange(CWnd* pParent = NULL); // standard constructor
  24. // Dialog Data
  25. //{{AFX_DATA(CWiaeditproprange)
  26. enum { IDD = IDD_EDIT_WIAPROP_RANGE_DIALOG };
  27. CString m_szPropertyName;
  28. CString m_szPropertyValue;
  29. CString m_szPropertyIncValue;
  30. CString m_szPropertyMaxValue;
  31. CString m_szPropertyMinValue;
  32. CString m_szPropertyNomValue;
  33. //}}AFX_DATA
  34. // Overrides
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(CWiaeditproprange)
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  39. //}}AFX_VIRTUAL
  40. // Implementation
  41. protected:
  42. // Generated message map functions
  43. //{{AFX_MSG(CWiaeditproprange)
  44. // NOTE: the ClassWizard will add member functions here
  45. //}}AFX_MSG
  46. DECLARE_MESSAGE_MAP()
  47. };
  48. //{{AFX_INSERT_LOCATION}}
  49. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  50. #endif // !defined(AFX_WIAEDITPROPRANGE_H__E1FDE159_C7B7_40B6_AF67_7D5CCE9E09DA__INCLUDED_)