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.

54 lines
1.3 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: dbghelpfunctions.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // DBGHelpFunctions.h: interface for the CDBGHelpFunctions class.
  11. //
  12. //////////////////////////////////////////////////////////////////////
  13. #if !defined(AFX_DBGHELPFUNCTIONS_H__FF495236_E9FD_11D2_849F_000000000000__INCLUDED_)
  14. #define AFX_DBGHELPFUNCTIONS_H__FF495236_E9FD_11D2_849F_000000000000__INCLUDED_
  15. #if _MSC_VER > 1000
  16. #pragma once
  17. #endif // _MSC_VER > 1000
  18. #ifndef NO_STRICT
  19. #ifndef STRICT
  20. #define STRICT 1
  21. #endif
  22. #endif /* NO_STRICT */
  23. #include <WINDOWS.H>
  24. #include <TCHAR.H>
  25. class CDBGHelpFunctions
  26. {
  27. public:
  28. CDBGHelpFunctions();
  29. virtual ~CDBGHelpFunctions();
  30. // Initialization...
  31. bool Initialize();
  32. // DBGHELP Functions (Publicly accessible for ease of use)
  33. BOOL MakeSureDirectoryPathExists(LPTSTR DirPath);
  34. private:
  35. HINSTANCE m_hDBGHELP;
  36. // DBGHELP functions TypeDef'ed for simplicity
  37. typedef BOOL (WINAPI *PfnMakeSureDirectoryPathExists)(PCSTR DirPath);
  38. // DBGHELP Function Pointers
  39. BOOL (WINAPI *m_lpfMakeSureDirectoryPathExists)(PCSTR DirPath);
  40. };
  41. #endif // !defined(AFX_DBGHELPFUNCTIONS_H__FF495236_E9FD_11D2_849F_000000000000__INCLUDED_)