Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

47 lines
990 B

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1997-1998
//
// File: ciodmerr.hxx
//
// Contents: ciodm error class
//
// History: 12-20-97 mohamedn stolen from ixserror.cxx
//
//----------------------------------------------------------------------------
#pragma once
#define ERROR_MESSAGE_SIZE 512
//+---------------------------------------------------------------------------
//
// Class: CiodmError
//
// Purpose: cidom error class
//
// History: 12-20-97 mohamedn stolen from ixserror.cxxcreated
//
//----------------------------------------------------------------------------
class CiodmError
{
public:
CiodmError( SCODE sc ) : _scError(sc)
{
_awcsErrorMessage[0] = L'';
}
WCHAR const * GetErrorMessage(void);
private:
CiodmError();
SCODE _scError;
WCHAR _awcsErrorMessage[ERROR_MESSAGE_SIZE];
};