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.

78 lines
1.4 KiB

  1. #ifndef _CCONFIGDLG_H
  2. #define _CCONFIGDLG_H
  3. #include "inetxcv.h"
  4. #include "xcvdlg.h"
  5. class TConfigDlg: public TXcvDlg {
  6. public:
  7. TConfigDlg (
  8. LPCTSTR pServerName,
  9. HWND hWnd,
  10. LPCTSTR pszPortName);
  11. virtual ~TConfigDlg (void);
  12. virtual BOOL
  13. PromptDialog (
  14. HINSTANCE hInst);
  15. private:
  16. enum {
  17. DLG_OK, DLG_CANCEL, DLG_ERROR
  18. } DLGRTCODE;
  19. static INT_PTR CALLBACK
  20. DialogProc (
  21. HWND hDlg, // handle to dialog box
  22. UINT message, // message
  23. WPARAM wParam, // first message parameter
  24. LPARAM lParam); // second message parameter
  25. VOID
  26. DialogOnInit (
  27. HWND hDlg);
  28. VOID
  29. DialogOnOK (
  30. HWND hDlg);
  31. static INT_PTR CALLBACK
  32. AuthDialogProc (
  33. HWND hDlg, // handle to dialog box
  34. UINT message, // message
  35. WPARAM wParam, // first message parameter
  36. LPARAM lParam); // second message parameter
  37. VOID
  38. AuthDialogOnInit (
  39. HWND hDlg);
  40. VOID
  41. AuthDialogOnOK (
  42. HWND hDlg);
  43. VOID
  44. AuthDialogOnCancel (
  45. HWND hDlg);
  46. BOOL
  47. SetConfiguration (VOID);
  48. BOOL
  49. GetConfiguration (VOID);
  50. static void
  51. EnableUserNamePassword (
  52. HWND hDLg,
  53. BOOL bEnable);
  54. INET_XCV_CONFIGURATION m_ConfigurationData;
  55. };
  56. #endif