home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / urterror.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-23  |  1.3 KB  |  48 lines

  1. //====================================================================
  2. //
  3. // Purpose: Lists the HResults used by the Universal Runtime (URT).
  4. // 
  5. // Date: This file created on September 2, 1999.
  6. //
  7. // Copyright (C) 1999 Microsoft Corporation
  8. //
  9. //====================================================================
  10. #ifndef __UNIVERSAL_RUNTIME_HRESULTS__
  11. #define __UNIVERSAL_RUNTIME_HRESULTS__
  12.  
  13. /*********************************************************************
  14.  
  15.   The scheme for URT HResults was arbitrarily decided to follow this
  16.   scheme:
  17.  
  18.   0x0000 Reserved for Windows error codes.
  19.   0x1000 for the COM+ Runtime
  20.   0x2000 for XSP
  21.   0x3000 for Web Objects/messaging
  22.   0x4000 for wit
  23.  
  24.   Due to logistical issues with our multiple source trees, this file
  25.   only includes the HResults files for other portions of the URT.
  26.  
  27. *********************************************************************/
  28.  
  29. #ifndef FACILITY_URT
  30. #define FACILITY_URT            0x13
  31. #endif
  32.  
  33. #ifndef EMAKEHR
  34. #define SMAKEHR(val)            MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_URT, val)
  35. #define EMAKEHR(val)            MAKE_HRESULT(SEVERITY_ERROR, FACILITY_URT, val)
  36. #endif
  37.  
  38.  
  39. // ******************
  40. // FACILITY_UTF
  41. // ******************
  42.  
  43. #include <CorError.h>
  44.  
  45.  
  46.  
  47. #endif // __UNIVERSAL_RUNTIME_HRESULTS__
  48.