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.

79 lines
2.0 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1999 - 1999 **/
  4. /**********************************************************************/
  5. /*
  6. dnsprop.h
  7. The dynamic dns properties page
  8. FILE HISTORY:
  9. */
  10. #if !defined _DNSPROP_H
  11. #define _DNSPROP_H
  12. #if _MSC_VER >= 1000
  13. #pragma once
  14. #endif // _MSC_VER >= 1000
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CDnsPropRegistration dialog
  17. class CDnsPropRegistration : public CPropertyPageBase
  18. {
  19. DECLARE_DYNCREATE(CDnsPropRegistration)
  20. // Construction
  21. public:
  22. CDnsPropRegistration();
  23. ~CDnsPropRegistration();
  24. // Dialog Data
  25. //{{AFX_DATA(CDnsPropRegistration)
  26. enum { IDD = IDP_DNS_INFORMATION };
  27. BOOL m_fEnableDynDns;
  28. BOOL m_fGarbageCollect;
  29. BOOL m_fUpdateDownlevel;
  30. int m_nRegistrationType;
  31. //}}AFX_DATA
  32. DHCP_OPTION_SCOPE_TYPE m_dhcpOptionType;
  33. // Context Help Support
  34. virtual DWORD * GetHelpMap() { return DhcpGetHelpMap(CDnsPropRegistration::IDD); }
  35. // Overrides
  36. // ClassWizard generate virtual function overrides
  37. //{{AFX_VIRTUAL(CDnsPropRegistration)
  38. public:
  39. virtual BOOL OnApply();
  40. protected:
  41. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  42. //}}AFX_VIRTUAL
  43. virtual BOOL OnPropertyChange(BOOL bScope, LONG_PTR *ChangeMask);
  44. void UpdateControls();
  45. // Implementation
  46. protected:
  47. // Generated message map functions
  48. //{{AFX_MSG(CDnsPropRegistration)
  49. afx_msg void OnRadioAlways();
  50. afx_msg void OnRadioClient();
  51. virtual BOOL OnInitDialog();
  52. afx_msg void OnCheckEnableDynDns();
  53. afx_msg void OnCheckGarbageCollect();
  54. afx_msg void OnCheckUpdateDownlevel();
  55. //}}AFX_MSG
  56. DECLARE_MESSAGE_MAP()
  57. public:
  58. DWORD m_dwFlags;
  59. };
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  62. #endif // !defined _DNSPROP_H