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.

68 lines
962 B

  1. /*++
  2. Copyright (c) 1998-1999 Microsoft Corporation
  3. All rights reserved.
  4. Module Name:
  5. dbgloadl.hxx
  6. Abstract:
  7. Dynamic Library Loader
  8. Author:
  9. Steve Kiraly (SteveKi) 17-Nov-1995
  10. Revision History:
  11. --*/
  12. #ifndef _DBGLOADL_HXX_
  13. #define _DBGLOADL_HXX_
  14. /********************************************************************
  15. Helper class to load and release a DLL. Use the bValid for
  16. library load validation.
  17. ********************************************************************/
  18. class TDebugLibrary
  19. {
  20. public:
  21. TDebugLibrary::
  22. TDebugLibrary(
  23. IN LPCTSTR pszLibName
  24. );
  25. TDebugLibrary::
  26. ~TDebugLibrary(
  27. );
  28. BOOL
  29. TDebugLibrary::
  30. bValid(
  31. VOID
  32. );
  33. FARPROC
  34. TDebugLibrary::
  35. pfnGetProc(
  36. IN LPCSTR pszProc
  37. );
  38. FARPROC
  39. TDebugLibrary::
  40. pfnGetProc(
  41. IN UINT_PTR uOrdinal
  42. );
  43. private:
  44. HINSTANCE m_hInst;
  45. };
  46. #endif // End LLIB_HXX