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.

70 lines
1.9 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 2000 **/
  4. /**********************************************************************/
  5. /*
  6. cred.h
  7. This file contains all of the prototypes for the
  8. credentials dialog used for DDNS.
  9. FILE HISTORY:
  10. */
  11. #if !defined(AFX_CRED_H__BDDD51D7_F6E6_4D9F_BBC2_102F1712538F__INCLUDED_)
  12. #define AFX_CRED_H__BDDD51D7_F6E6_4D9F_BBC2_102F1712538F__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CCredentials dialog
  18. class CCredentials : public CBaseDialog
  19. {
  20. // Construction
  21. public:
  22. CCredentials(CWnd* pParent = NULL); // standard constructor
  23. // Dialog Data
  24. //{{AFX_DATA(CCredentials)
  25. enum { IDD = IDD_CREDENTIALS };
  26. CButton m_buttonOk;
  27. CEdit m_editUsername;
  28. CEdit m_editPassword2;
  29. CEdit m_editPassword;
  30. CEdit m_editDomain;
  31. //}}AFX_DATA
  32. void SetServerIp(LPCTSTR pszServerIp);
  33. virtual DWORD * GetHelpMap() { return DhcpGetHelpMap(CCredentials::IDD); }
  34. // Overrides
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(CCredentials)
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  39. //}}AFX_VIRTUAL
  40. // Implementation
  41. protected:
  42. BOOL m_fNewUsernameOrDomain;
  43. CString m_strServerIp;
  44. // Generated message map functions
  45. //{{AFX_MSG(CCredentials)
  46. afx_msg void OnChangeEditCredUsername();
  47. afx_msg void OnChangeEditCredDomain();
  48. virtual BOOL OnInitDialog();
  49. virtual void OnOK();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. };
  53. //{{AFX_INSERT_LOCATION}}
  54. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  55. #endif // !defined(AFX_CRED_H__BDDD51D7_F6E6_4D9F_BBC2_102F1712538F__INCLUDED_)