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.

48 lines
1.1 KiB

  1. // ServNameDlg.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "t3test.h"
  5. #include "servname.h"
  6. #ifdef _DEBUG
  7. #ifndef _WIN64 // mfc 4.2's heap debugging features generate warnings on win64
  8. #define new DEBUG_NEW
  9. #endif
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CServNameDlg dialog
  15. CServNameDlg::CServNameDlg(CWnd* pParent /*=NULL*/)
  16. : CDialog(CServNameDlg::IDD, pParent)
  17. {
  18. //{{AFX_DATA_INIT(CServNameDlg)
  19. m_pszServerName = _T("");
  20. //}}AFX_DATA_INIT
  21. }
  22. void CServNameDlg::DoDataExchange(CDataExchange* pDX)
  23. {
  24. CDialog::DoDataExchange(pDX);
  25. //{{AFX_DATA_MAP(CServNameDlg)
  26. DDX_Text(pDX, IDC_SERVERNAME, m_pszServerName);
  27. DDV_MaxChars(pDX, m_pszServerName, 256);
  28. //}}AFX_DATA_MAP
  29. }
  30. BEGIN_MESSAGE_MAP(CServNameDlg, CDialog)
  31. //{{AFX_MSG_MAP(CServNameDlg)
  32. // NOTE: the ClassWizard will add message map macros here
  33. //}}AFX_MSG_MAP
  34. END_MESSAGE_MAP()
  35. /////////////////////////////////////////////////////////////////////////////
  36. // CServNameDlg message handlers