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.

80 lines
1005 B

  1. /*++
  2. Copyright (c) 1998-1999 Microsoft Corporation
  3. All rights reserved.
  4. Module Name:
  5. dbgreslt.hxx
  6. Abstract:
  7. Result helper class
  8. Author:
  9. Steve Kiraly (SteveKi) 03-20-1998
  10. Revision History:
  11. --*/
  12. #ifndef _DBGRESLT_HXX_
  13. #define _DBGRESLT_HXX_
  14. DEBUG_NS_BEGIN
  15. class TDebugResult
  16. {
  17. public:
  18. explicit
  19. TDebugResult::
  20. TDebugResult(
  21. IN DWORD dwError
  22. );
  23. TDebugResult::
  24. ~TDebugResult(
  25. VOID
  26. );
  27. BOOL
  28. TDebugResult::
  29. bValid(
  30. VOID
  31. ) const;
  32. operator DWORD(
  33. VOID
  34. );
  35. LPCTSTR
  36. TDebugResult::
  37. GetErrorString(
  38. VOID
  39. );
  40. private:
  41. //
  42. // Copying and assignment are not defined.
  43. //
  44. TDebugResult::
  45. TDebugResult(
  46. const TDebugResult &rhs
  47. );
  48. const TDebugResult &
  49. TDebugResult::
  50. operator=(
  51. const TDebugResult &rhs
  52. );
  53. DWORD m_dwError;
  54. LPCTSTR m_pszError;
  55. };
  56. DEBUG_NS_END
  57. #endif // _DBGRESULT_HXX_