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.

24 lines
451 B

  1. #ifndef __WDM_LOG__
  2. #define __WDM_LOG__
  3. #include "logger.h"
  4. #pragma PAGEDCODE
  5. class CWDMLogger : public CLogger
  6. {
  7. public:
  8. NTSTATUS m_Status;
  9. SAFE_DESTRUCTORS();
  10. virtual VOID dispose(VOID);
  11. private:
  12. PWSTR m_LoggerName;
  13. protected:
  14. CWDMLogger();
  15. public:
  16. CWDMLogger(PWSTR LoggerName);
  17. virtual ~CWDMLogger();
  18. static CLogger* create(VOID);
  19. virtual VOID logEvent(NTSTATUS ErrorCode, PDEVICE_OBJECT fdo);
  20. };
  21. #endif//LOGGER