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.
 
 
 
 
 
 

67 lines
807 B

/*++
Copyright (C) Microsoft Corporation, 1998 - 1998
All rights reserved.
Module Name:
result.hxx
Abstract:
Result helper class
Author:
Steve Kiraly (SteveKi) 03-20-1998
Revision History:
--*/
#ifndef _RESULT_HXX
#define _RESULT_HXX
class TResult
{
public:
TResult(
IN DWORD dwLastError
);
~TResult(
VOID
);
BOOL
bValid(
VOID
);
TResult(
const TResult &rhs
);
const TResult &
operator =(
const TResult &rhs
);
operator DWORD(
VOID
);
BOOL
bGetErrorString(
IN TString &strLastError
) const;
private:
DWORD _dwLastError;
};
#endif // _RESULT_HXX