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.

62 lines
2.1 KiB

  1. /*****************************************************************************\
  2. * *
  3. * cderr.h - Common dialog error return codes *
  4. * *
  5. * Version 1.0 *
  6. * *
  7. * Copyright (c) 1992-1999, Microsoft Corp. All rights reserved. *
  8. * *
  9. \*****************************************************************************/
  10. #ifndef _INC_CDERR
  11. #define _INC_CDERR
  12. #if _MSC_VER > 1000
  13. #pragma once
  14. #endif
  15. #define CDERR_DIALOGFAILURE 0xFFFF
  16. #define CDERR_GENERALCODES 0x0000
  17. #define CDERR_STRUCTSIZE 0x0001
  18. #define CDERR_INITIALIZATION 0x0002
  19. #define CDERR_NOTEMPLATE 0x0003
  20. #define CDERR_NOHINSTANCE 0x0004
  21. #define CDERR_LOADSTRFAILURE 0x0005
  22. #define CDERR_FINDRESFAILURE 0x0006
  23. #define CDERR_LOADRESFAILURE 0x0007
  24. #define CDERR_LOCKRESFAILURE 0x0008
  25. #define CDERR_MEMALLOCFAILURE 0x0009
  26. #define CDERR_MEMLOCKFAILURE 0x000A
  27. #define CDERR_NOHOOK 0x000B
  28. #define CDERR_REGISTERMSGFAIL 0x000C
  29. #define PDERR_PRINTERCODES 0x1000
  30. #define PDERR_SETUPFAILURE 0x1001
  31. #define PDERR_PARSEFAILURE 0x1002
  32. #define PDERR_RETDEFFAILURE 0x1003
  33. #define PDERR_LOADDRVFAILURE 0x1004
  34. #define PDERR_GETDEVMODEFAIL 0x1005
  35. #define PDERR_INITFAILURE 0x1006
  36. #define PDERR_NODEVICES 0x1007
  37. #define PDERR_NODEFAULTPRN 0x1008
  38. #define PDERR_DNDMMISMATCH 0x1009
  39. #define PDERR_CREATEICFAILURE 0x100A
  40. #define PDERR_PRINTERNOTFOUND 0x100B
  41. #define PDERR_DEFAULTDIFFERENT 0x100C
  42. #define CFERR_CHOOSEFONTCODES 0x2000
  43. #define CFERR_NOFONTS 0x2001
  44. #define CFERR_MAXLESSTHANMIN 0x2002
  45. #define FNERR_FILENAMECODES 0x3000
  46. #define FNERR_SUBCLASSFAILURE 0x3001
  47. #define FNERR_INVALIDFILENAME 0x3002
  48. #define FNERR_BUFFERTOOSMALL 0x3003
  49. #define FRERR_FINDREPLACECODES 0x4000
  50. #define FRERR_BUFFERLENGTHZERO 0x4001
  51. #define CCERR_CHOOSECOLORCODES 0x5000
  52. #endif /* !_INC_CDERR */