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.

36 lines
1.0 KiB

  1. // SAFChannelNotifyIncident.cpp : Implementation of CSAFChannelNotifyIncident
  2. #include "stdafx.h"
  3. #include "NotifyIncident.h"
  4. #include "SAFChannelNotifyIncident.h"
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CSAFChannelNotifyIncident
  7. STDMETHODIMP CSAFChannelNotifyIncident::onIncidentAdded(ISAFChannel *ch, ISAFIncidentItem *inc, long n)
  8. {
  9. MessageBox(NULL, "onIncidentAdded", "onIncidentAdded", MB_OK);
  10. return S_OK;
  11. }
  12. STDMETHODIMP CSAFChannelNotifyIncident::onIncidentRemoved(ISAFChannel *ch, ISAFIncidentItem *inc, long n)
  13. {
  14. MessageBox(NULL, "onIncidentRemoved", "onIncidentRemoved", MB_OK);
  15. return S_OK;
  16. }
  17. STDMETHODIMP CSAFChannelNotifyIncident::onIncidentUpdated(ISAFChannel *ch, ISAFIncidentItem *inc, long n)
  18. {
  19. MessageBox(NULL, "onIncidentUpdated", "onIncidentUpdated", MB_OK);
  20. return S_OK;
  21. }
  22. STDMETHODIMP CSAFChannelNotifyIncident::onChannelUpdated(ISAFChannel *ch, long dwCode, long n)
  23. {
  24. MessageBox(NULL, "onChannelUpdated", "onChannelUpdated", MB_OK);
  25. return S_OK;
  26. }