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.

57 lines
1.8 KiB

  1. //---------------------------------------------------------------------------
  2. // Isz.h : String resource IDs for WOW32
  3. //
  4. // Copyright (c) Microsoft Corporation, 1990-1995
  5. //---------------------------------------------------------------------------
  6. #define CCH_MAX_STRING_RESOURCE 512
  7. //
  8. // String resource IDs must start at 0 and continue consecutively until
  9. // the the last critical string, so that they can be used to index
  10. // aszCriticalStrings in the most straightforward fashion.
  11. //
  12. #define iszApplicationError 0x0
  13. #define iszTheWin16Subsystem 0x1
  14. #define iszChooseClose 0x2
  15. #define iszChooseCancel 0x3
  16. #define iszChooseIgnore 0x4
  17. #define iszCausedException 0x5
  18. #define iszCausedAV 0x6
  19. #define iszCausedStackOverflow 0x7
  20. #define iszCausedAlignmentFault 0x8
  21. #define iszCausedIllegalInstr 0x9
  22. #define iszCausedInPageError 0xa
  23. #define iszCausedIntDivideZero 0xb
  24. #define iszCausedFloatException 0xc
  25. #define iszChooseIgnoreAlignment 0xd
  26. #define CRITICAL_STRING_COUNT 0xe
  27. #define iszWIN16InternalError 0x100
  28. #define iszSystemError 0x101
  29. #define iszCantEndTask 0x102
  30. #define iszUnableToEndSelTask 0x103
  31. #define iszNotResponding 0x104
  32. #define iszEventHook 0x105
  33. #define iszApplication 0x106
  34. #define iszStartupFailed 0x107
  35. #define iszOLEMemAllocFailedFatal 0x108
  36. #define iszOLEMemAllocFailed 0x109
  37. #define iszWowFaxLocalPort 0x10a
  38. #define iszMisMatchedBinary 0x10b
  39. #define iszMisMatchedBinaryTitle 0x10c
  40. #define iszExceedGDIHandleLimit 0x10d
  41. //
  42. // Macro to fetch critical string pointer based on name without preceeding isz
  43. //
  44. #define CRITSTR(name) (aszCriticalStrings[isz##name])
  45. #ifndef WOW32_C
  46. extern LPSTR aszCriticalStrings[];
  47. #endif