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.

20 lines
825 B

  1. /**
  2. ** File : pmerror.h
  3. ** Description: Macros for reporting error
  4. **/
  5. #ifndef _pmerror_h_
  6. #define _pmerror_h_
  7. #include <winerror.h>
  8. #define PM_E_FOPENERROR MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0200)
  9. #define PM_E_BADVALENCE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0201)
  10. #define PM_E_BADWEDGEDATA MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0202)
  11. #define PM_E_BADINTCODE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0203)
  12. #define PM_E_MATCNT_MISMATCH MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0204)
  13. #define PM_E_MATCREATEFAILED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0205)
  14. #define PM_E_PMESHNOTLOADED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0206)
  15. #define PM_E_BADMATERIALID MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0207)
  16. #endif //_pmerror_h_