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.

70 lines
1005 B

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. All rights reserved.
  4. Module Name:
  5. kerberr.cxx
  6. Abstract:
  7. auto log
  8. Author:
  9. Larry Zhu (LZhu) December 6, 2001
  10. Revision History:
  11. --*/
  12. #include "precomp.hxx"
  13. #pragma hdrstop
  14. #include "kerberr.hxx"
  15. #ifdef DBG
  16. /********************************************************************
  17. TKerbErr members
  18. ********************************************************************/
  19. TKerbErr::
  20. TKerbErr(
  21. IN KERBERR KerbErr
  22. ) : TStatusDerived<KERBERR>(KerbErr)
  23. {
  24. }
  25. TKerbErr::
  26. ~TKerbErr(
  27. VOID
  28. )
  29. {
  30. }
  31. BOOL
  32. TKerbErr::
  33. IsErrorSevereEnough(
  34. VOID
  35. ) const
  36. {
  37. KERBERR KerbErr = GetTStatusBase();
  38. return !KERB_SUCCESS(KerbErr);
  39. }
  40. PCTSTR
  41. TKerbErr::
  42. GetErrorServerityDescription(
  43. VOID
  44. ) const
  45. {
  46. KERBERR KerbErr = GetTStatusBase();
  47. return KERB_SUCCESS(KerbErr) ? TEXT("KERB_SUCCESS") : TEXT("KERB_ERROR");
  48. }
  49. #endif // DBG