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
1015 B

  1. /*++
  2. Copyright (C) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. smalrtsv.h
  5. Abstract:
  6. This object is used to represent the alert query components of the
  7. sysmon log service
  8. --*/
  9. #ifndef _CLASS_SMALERTSERVICE_
  10. #define _CLASS_SMALERTSERVICE_
  11. #include "smlogs.h"
  12. class CSmAlertService : public CSmLogService
  13. {
  14. // constructor/destructor
  15. public:
  16. CSmAlertService();
  17. virtual ~CSmAlertService();
  18. // public methods
  19. public:
  20. virtual DWORD Open ( const CString& rstrMachineName );
  21. virtual DWORD Close ( void );
  22. virtual DWORD SyncWithRegistry ( PSLQUERY* ppActiveQuery = NULL );
  23. virtual PSLQUERY CreateQuery ( const CString& rstrName );
  24. virtual DWORD DeleteQuery ( PSLQUERY plQuery );
  25. virtual CSmAlertService* CastToAlertService( void ) { return this; };
  26. protected:
  27. virtual DWORD LoadQueries( void );
  28. };
  29. #endif //_CLASS_SMALERTSERVICE_