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

/*++
Copyright (c) 2001 Microsoft Corporation
All rights reserved.
Module Name:
kerberr.cxx
Abstract:
auto log
Author:
Larry Zhu (LZhu) December 6, 2001
Revision History:
--*/
#include "precomp.hxx"
#pragma hdrstop
#include "kerberr.hxx"
#ifdef DBG
/********************************************************************
TKerbErr members
********************************************************************/
TKerbErr::
TKerbErr(
IN KERBERR KerbErr
) : TStatusDerived<KERBERR>(KerbErr)
{
}
TKerbErr::
~TKerbErr(
VOID
)
{
}
BOOL
TKerbErr::
IsErrorSevereEnough(
VOID
) const
{
KERBERR KerbErr = GetTStatusBase();
return !KERB_SUCCESS(KerbErr);
}
PCTSTR
TKerbErr::
GetErrorServerityDescription(
VOID
) const
{
KERBERR KerbErr = GetTStatusBase();
return KERB_SUCCESS(KerbErr) ? TEXT("KERB_SUCCESS") : TEXT("KERB_ERROR");
}
#endif // DBG