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.

31 lines
984 B

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // PEerr.h
  4. //
  5. // Created by JOEM 08-2000
  6. // Copyright (C) 2000 Microsoft Corporation
  7. // All Rights Reserved
  8. //
  9. //////////////////////////////////////////////////////////// JOEM 08-2000 //
  10. #ifndef _PEERR_H_
  11. #define _PEERR_H_
  12. #define FACILITY_PE FACILITY_ITF
  13. #define PE_ERROR_BASE 0x5100
  14. #define MAKE_PE_HRESULT(sev, err) MAKE_HRESULT(sev, FACILITY_PE, err)
  15. #define MAKE_PE_ERROR(err) MAKE_PE_HRESULT(SEVERITY_ERROR, err + PE_ERROR_BASE)
  16. #define MAKE_PE_SCODE(scode) MAKE_PE_HRESULT(SEVERITY_SUCCESS, scode + PE_ERROR_BASE)
  17. #define PEERR_DB_BAD_FORMAT MAKE_PE_ERROR(0x01)
  18. #define PEERR_DB_DUPLICATE_ID MAKE_PE_ERROR(0x02)
  19. #define PEERR_DB_ID_NOT_FOUND MAKE_PE_ERROR(0x03)
  20. #define PEERR_DB_NOT_FOUND MAKE_PE_ERROR(0x04)
  21. #define PEERR_NO_TTS_VOICE MAKE_PE_ERROR(0x05)
  22. #define PEERR_FILE_NOT_FOUND MAKE_PE_ERROR(0x06)
  23. #endif