home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / icm20 / icmview / cderr.h < prev    next >
Text File  |  1997-09-07  |  2KB  |  65 lines

  1. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  2. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  3. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  4. // PARTICULAR PURPOSE.
  5. //
  6. // Copyright  1994-1997  Microsoft Corporation.  All Rights Reserved.
  7. //
  8. //  FILE:
  9. //    CDERR.H
  10. //
  11. //  PURPOSE:
  12. //    Common dialogs error include file
  13. //
  14. //  PLATFORMS:
  15. //    Windows 95, Windows NT
  16. //
  17. //  SPECIAL INSTRUCTIONS: N/A
  18. //
  19.  
  20. // General pre-processor macros
  21. #define CDERR_DIALOGFAILURE   0xFFFF
  22.  
  23. #define CDERR_GENERALCODES     0x0000
  24. #define CDERR_STRUCTSIZE       0x0001
  25. #define CDERR_INITIALIZATION   0x0002
  26. #define CDERR_NOTEMPLATE       0x0003
  27. #define CDERR_NOHINSTANCE      0x0004
  28. #define CDERR_LOADSTRFAILURE   0x0005
  29. #define CDERR_FINDRESFAILURE   0x0006
  30. #define CDERR_LOADRESFAILURE   0x0007
  31. #define CDERR_LOCKRESFAILURE   0x0008
  32. #define CDERR_MEMALLOCFAILURE  0x0009
  33. #define CDERR_MEMLOCKFAILURE   0x000A
  34. #define CDERR_NOHOOK           0x000B
  35.  
  36. #define PDERR_PRINTERCODES     0x1000
  37. #define PDERR_SETUPFAILURE     0x1001
  38. #define PDERR_PARSEFAILURE     0x1002
  39. #define PDERR_RETDEFFAILURE    0x1003
  40. #define PDERR_LOADDRVFAILURE   0x1004
  41. #define PDERR_GETDEVMODEFAIL   0x1005
  42. #define PDERR_INITFAILURE      0x1006
  43. #define PDERR_NODEVICES        0x1007
  44. #define PDERR_NODEFAULTPRN     0x1008
  45. #define PDERR_DNDMMISMATCH     0x1009
  46. #define PDERR_CREATEICFAILURE  0x100A
  47. #define PDERR_PRINTERNOTFOUND  0x100B
  48.  
  49. #define CFERR_CHOOSEFONTCODES  0x2000
  50. #define CFERR_NOFONTS          0x2001
  51.  
  52. #define FNERR_FILENAMECODES    0x3000
  53. #define FNERR_SUBCLASSFAILURE  0x3001
  54. #define FNERR_INVALIDFILENAME  0x3002
  55. #define FNERR_BUFFERTOOSMALL   0x3003
  56.  
  57. #define FRERR_FINDREPLACECODES 0x4000
  58. #define CCERR_CHOOSECOLORCODES 0x5000
  59.  
  60. // General STRUCTS && TYPEDEFS
  61.  
  62. // Function prototypes
  63.  
  64.  
  65.