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.

54 lines
1.7 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. // FILE : GeneralNotifyWnd.h //
  3. // //
  4. // DESCRIPTION : Header file of fax Device notification window. //
  5. // //
  6. // AUTHOR : yossg //
  7. // //
  8. // HISTORY : //
  9. // Aug 3 2000 yossg Create //
  10. // //
  11. // Copyright (C) 2000 Microsoft Corporation All Rights Reserved //
  12. /////////////////////////////////////////////////////////////////////////////
  13. #ifndef _H_FAX_DEVICE_NOTIFY_WND_H_
  14. #define _H_FAX_DEVICE_NOTIFY_WND_H_
  15. #include <atlwin.h>
  16. const int WM_GENERAL_EVENT_NOTIFICATION = WM_USER + 3;
  17. class CFaxDevicesNode;
  18. class CFaxServer;
  19. class CFaxGeneralNotifyWnd : public CWindowImpl<CFaxGeneralNotifyWnd>
  20. {
  21. public:
  22. //
  23. // Constructor
  24. //
  25. CFaxGeneralNotifyWnd(CFaxServer * pParent)
  26. {
  27. m_pFaxServer = pParent;
  28. }
  29. //
  30. // Destructor
  31. //
  32. ~CFaxGeneralNotifyWnd()
  33. {
  34. }
  35. BEGIN_MSG_MAP(CFaxGeneralNotifyWnd)
  36. MESSAGE_HANDLER(WM_GENERAL_EVENT_NOTIFICATION,OnServerEvent)
  37. END_MSG_MAP()
  38. LRESULT OnServerEvent( UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& fHandled);
  39. private:
  40. CFaxServer * m_pFaxServer;
  41. };
  42. #endif // _H_FAX_DEVICE_NOTIFY_WND_H_