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.

47 lines
1.0 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997-1998
  5. //
  6. // File: ciodmerr.hxx
  7. //
  8. // Contents: ciodm error class
  9. //
  10. // History: 12-20-97 mohamedn stolen from ixserror.cxx
  11. //
  12. //----------------------------------------------------------------------------
  13. #pragma once
  14. #define ERROR_MESSAGE_SIZE 512
  15. //+---------------------------------------------------------------------------
  16. //
  17. // Class: CiodmError
  18. //
  19. // Purpose: cidom error class
  20. //
  21. // History: 12-20-97 mohamedn stolen from ixserror.cxxcreated
  22. //
  23. //----------------------------------------------------------------------------
  24. class CiodmError
  25. {
  26. public:
  27. CiodmError( SCODE sc ) : _scError(sc)
  28. {
  29. _awcsErrorMessage[0] = L'';
  30. }
  31. WCHAR const * GetErrorMessage(void);
  32. private:
  33. CiodmError();
  34. SCODE _scError;
  35. WCHAR _awcsErrorMessage[ERROR_MESSAGE_SIZE];
  36. };