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.

45 lines
3.9 KiB

  1. #ifndef __IMAPIERROR_H_
  2. #define __IMAPIERROR_H_
  3. #include <winerror.h>
  4. const HRESULT IMAPI_S_PROPERTIESIGNORED = MAKE_HRESULT( SEVERITY_SUCCESS, FACILITY_ITF, 0x200 + 0 );
  5. const HRESULT IMAPI_S_BUFFER_TO_SMALL = MAKE_HRESULT( SEVERITY_SUCCESS, FACILITY_ITF, 0x200 + 1 );
  6. const HRESULT IMAPI_E_NOTOPENED = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 11 );
  7. const HRESULT IMAPI_E_NOTINITIALIZED = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 12 );
  8. const HRESULT IMAPI_E_USERABORT = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 13 );
  9. const HRESULT IMAPI_E_GENERIC = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 14 );
  10. const HRESULT IMAPI_E_MEDIUM_NOTPRESENT = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 15 );
  11. const HRESULT IMAPI_E_MEDIUM_INVALIDTYPE = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 16 );
  12. const HRESULT IMAPI_E_DEVICE_NOPROPERTIES = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 17 );
  13. const HRESULT IMAPI_E_DEVICE_NOTACCESSIBLE = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 18 );
  14. const HRESULT IMAPI_E_DEVICE_NOTPRESENT = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 19 );
  15. const HRESULT IMAPI_E_DEVICE_INVALIDTYPE = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 20 );
  16. const HRESULT IMAPI_E_INITIALIZE_WRITE = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 21 );
  17. const HRESULT IMAPI_E_INITIALIZE_ENDWRITE = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 22 );
  18. const HRESULT IMAPI_E_FILESYSTEM = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 23 );
  19. const HRESULT IMAPI_E_FILEACCESS = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 24 );
  20. const HRESULT IMAPI_E_DISCINFO = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 25 );
  21. const HRESULT IMAPI_E_TRACKNOTOPEN = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 26 );
  22. const HRESULT IMAPI_E_TRACKOPEN = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 27 );
  23. const HRESULT IMAPI_E_DISCFULL = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 28 );
  24. const HRESULT IMAPI_E_BADJOLIETNAME = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 29 );
  25. const HRESULT IMAPI_E_INVALIDIMAGE = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 30 );
  26. const HRESULT IMAPI_E_NOACTIVEFORMAT = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 31 );
  27. const HRESULT IMAPI_E_NOACTIVERECORDER = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 32 );
  28. const HRESULT IMAPI_E_WRONGFORMAT = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 33 );
  29. const HRESULT IMAPI_E_ALREADYOPEN = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 34 );
  30. const HRESULT IMAPI_E_WRONGDISC = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 35 );
  31. const HRESULT IMAPI_E_FILEEXISTS = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 36 );
  32. const HRESULT IMAPI_E_STASHINUSE = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 37 );
  33. const HRESULT IMAPI_E_DEVICE_STILL_IN_USE = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 38 );
  34. const HRESULT IMAPI_E_LOSS_OF_STREAMING = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 39 );
  35. const HRESULT IMAPI_E_COMPRESSEDSTASH = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 40 );
  36. const HRESULT IMAPI_E_ENCRYPTEDSTASH = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 41 );
  37. const HRESULT IMAPI_E_NOTENOUGHDISKFORSTASH = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 42 );
  38. const HRESULT IMAPI_E_REMOVABLESTASH = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 43 );
  39. const HRESULT IMAPI_E_CANNOT_WRITE_TO_MEDIA = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 44 );
  40. const HRESULT IMAPI_E_TRACK_NOT_BIG_ENOUGH = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 45 );
  41. const HRESULT IMAPI_E_BOOTIMAGE_AND_NONBLANK_DISC = MAKE_HRESULT( SEVERITY_ERROR, FACILITY_ITF, 0x200 + 46 );
  42. #endif