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.

25 lines
382 B

  1. #ifndef _NOTIFY_H
  2. #define _NOTIFY_H
  3. class CNotify
  4. {
  5. // Attributes
  6. public:
  7. private:
  8. LPTSTR m_lpszNotifyWho;
  9. LPTSTR m_lpszNotifyWhat;
  10. protected:
  11. // Methods
  12. public:
  13. CNotify(LPCTSTR lpszNotifyWho, LPCTSTR lpszNotifyWhat);
  14. ~CNotify();
  15. DWORD Notify();
  16. private:
  17. bool ShouldNetSend();
  18. protected:
  19. DWORD NetSend();
  20. HRESULT EMail();
  21. };
  22. #endif // _NOTIFY_H