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.

42 lines
1.1 KiB

  1. //
  2. // MODULE: RegWEventViewer.h
  3. //
  4. // PURPOSE: Fully implements class CRegisterWithEventViewer
  5. //
  6. // PROJECT: Generic Troubleshooter DLL for Microsoft AnswerPoint
  7. //
  8. // COMPANY: Saltmine Creative, Inc. (206)-284-7511 [email protected]
  9. //
  10. // AUTHOR: Roman Mach
  11. //
  12. // ORIGINAL DATE: 8-2-96
  13. //
  14. // NOTES:
  15. //
  16. // Version Date By Comments
  17. //--------------------------------------------------------------------
  18. // -- 11/21/97 JM This class abstracted from CDBLoadConfiguration
  19. // V3.0 9/16/98 JM This class pulled out of APGTSCFG.CPP
  20. #if !defined(AFX_REGWEVENTVIEWER_H__A3CFA77C_4D78_11D2_95F7_00C04FC22ADD__INCLUDED_)
  21. #define AFX_REGWEVENTVIEWER_H__A3CFA77C_4D78_11D2_95F7_00C04FC22ADD__INCLUDED_
  22. #if _MSC_VER >= 1000
  23. #pragma once
  24. #endif // _MSC_VER >= 1000
  25. #include <windows.h>
  26. class CRegisterWithEventViewer
  27. {
  28. public:
  29. CRegisterWithEventViewer(HMODULE hModule);
  30. ~CRegisterWithEventViewer();
  31. private:
  32. static VOID Register(HMODULE hModule);
  33. static VOID RegisterDllPath(HKEY hk, HMODULE hModule);
  34. static VOID RegisterEventTypes(HKEY hk);
  35. };
  36. #endif // !defined(AFX_REGWEVENTVIEWER_H__A3CFA77C_4D78_11D2_95F7_00C04FC22ADD__INCLUDED_)