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.4 KiB

  1. /****************************************************************************************
  2. * NAME: LocWarnDlg.h
  3. *
  4. * CLASS: CLocationWarningDialog
  5. *
  6. * OVERVIEW
  7. *
  8. * Internet Authentication Server: NAP Location dialog
  9. * This dialog box is used to change the Network Access Policy Location
  10. *
  11. * Copyright (C) Microsoft Corporation, 1998 - 1999 . All Rights Reserved.
  12. *
  13. * History:
  14. * 4/12/98 Created by Byao
  15. *
  16. *****************************************************************************************/
  17. #ifndef _LOCWARNDLG_H_
  18. #define _LOCWARNDLG_H_
  19. #include "dialog.h"
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CLocationWarningDlg
  22. class CLocationWarningDialog: public CIASDialog<CLocationWarningDialog>
  23. {
  24. public:
  25. CLocationWarningDialog();
  26. ~CLocationWarningDialog();
  27. enum { IDD = IDD_DIALOG_POLICY_WARNING };
  28. BEGIN_MSG_MAP(CLocationWarningDialog)
  29. MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
  30. COMMAND_ID_HANDLER(IDOK, OnOK)
  31. COMMAND_ID_HANDLER(IDCANCEL, OnCancel)
  32. CHAIN_MSG_MAP(CIASDialog<CLocationWarningDialog>)
  33. END_MSG_MAP()
  34. LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
  35. LRESULT OnOK(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
  36. LRESULT OnCancel(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
  37. public:
  38. };
  39. #endif //_LOCWARNDLG_H_