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.
|
|
//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 2000
//
// File: error.h
//
//--------------------------------------------------------------------------
#ifndef __CSCPIN_ERROR_H_
#define __CSCPIN_ERROR_H_
class CWinError { public: CWinError(DWORD dwError); CWinError(HRESULT hr); ~CWinError(void) { };
operator LPCWSTR () const { return m_szText; }
LPCWSTR Text(void) const { return m_szText; }
private: WCHAR m_szText[512];
void _Initialize(DWORD dwError, bool bHResult); };
#endif // __CSCPIN_ERROR_H_
|