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.

59 lines
1.5 KiB

  1. //============================================================================
  2. // Copyright (C) Microsoft Corporation, 1996 - 1999
  3. //
  4. // File: CnctDlg.h
  5. //
  6. // History:
  7. // 05/24/96 Michael Clark Created.
  8. //
  9. // Implements the Router Connection dialog
  10. // Implements the Router Connect As dialog
  11. //============================================================================
  12. //
  13. #ifndef _DIALOG_H
  14. #include "dialog.h"
  15. #endif
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CConnectAs dialog
  18. class CConnectAsDlg : public CBaseDialog
  19. {
  20. // Construction
  21. public:
  22. CConnectAsDlg(CWnd* pParent = NULL); // standard constructor
  23. // Dialog Data
  24. //{{AFX_DATA(CConnectDlg)
  25. enum { IDD = IDD_CONNECT_AS };
  26. CString m_sUserName;
  27. CString m_sPassword;
  28. CString m_stTempPassword;
  29. CString m_sRouterName;
  30. //}}AFX_DATA
  31. UCHAR m_ucSeed;
  32. // Overrides
  33. // ClassWizard generated virtual function overrides
  34. //{{AFX_VIRTUAL(CConnectAsDlg)
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. static DWORD m_dwHelpMap[];
  41. // Generated message map functions
  42. //{{AFX_MSG(CConnectAsDlg)
  43. // NOTE: the ClassWizard will add member functions here
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. BOOL OnInitDialog();
  47. };
  48. // This is used as the seed value for the RtlRunEncodeUnicodeString
  49. // and RtlRunDecodeUnicodeString functions.
  50. #define CONNECTAS_ENCRYPT_SEED (0xB7)