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.
 
 
 
 
 
 

65 lines
948 B

/*++
Copyright (c) 2001 Microsoft Corporation
All rights reserved.
Module Name:
ntstatus.hxx
Abstract:
auto log
Author:
Larry Zhu (LZhu) December 8, 2001
Revision History:
--*/
#ifndef _NTSTATUS_HXX_
#define _NTSTATUS_HXX_
#include "dbgstate.hxx"
#ifdef DBG
class TNtStatus : public TStatusDerived<NTSTATUS> {
public:
TNtStatus(
IN NTSTATUS Status = kUnInitializedValue
);
~TNtStatus(
VOID
);
virtual bool
IsErrorSevereEnough(
VOID
) const;
virtual PCTSTR
GetErrorServerityDescription(
VOID
) const;
private:
TNtStatus(const TNtStatus& rhs);
NTSTATUS
operator=(
IN NTSTATUS Status
);
};
#else
#define TNtStatus NTSTATUS // NTSTATUS in free build
#endif // DBG
#endif // _NTSTATUS_HXX