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.

50 lines
994 B

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