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.

30 lines
961 B

  1. #pragma once
  2. #include "nsbase.h" // must be first to include atl
  3. #include "ncatlps.h"
  4. HRESULT HrCreateHomenetUnavailablePage(HRESULT hErrorResult, CPropSheetPage*& pspAdvanced);
  5. class CLanHomenetUnavailable: public CPropSheetPage
  6. {
  7. public:
  8. BEGIN_MSG_MAP(CLanHomenetUnavailable)
  9. MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
  10. MESSAGE_HANDLER(WM_CONTEXTMENU, OnContextMenu);
  11. MESSAGE_HANDLER(WM_HELP, OnHelp);
  12. NOTIFY_CODE_HANDLER(NM_CLICK, OnClick)
  13. END_MSG_MAP()
  14. CLanHomenetUnavailable(HRESULT hErrorResult);
  15. ~CLanHomenetUnavailable();
  16. LRESULT OnInitDialog(UINT uMsg, WPARAM wParam,
  17. LPARAM lParam, BOOL& bHandled);
  18. LRESULT OnContextMenu(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
  19. LRESULT OnHelp(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
  20. LRESULT OnClick(int idCtrl, LPNMHDR pnmh, BOOL& fHandled);
  21. private:
  22. HRESULT m_hErrorResult;
  23. };