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.

110 lines
3.7 KiB

  1. //
  2. // MODULE: ERRORENUMS.H
  3. //
  4. // PURPOSE: Defines error messages that are returned by GetExtendedError.
  5. //
  6. // PROJECT: Generic Troubleshooter DLL for Microsoft AnswerPoint
  7. //
  8. // COMPANY: Saltmine Creative, Inc. (206)-633-4743 [email protected]
  9. //
  10. // AUTHOR: Richard Meadows
  11. //
  12. // ORIGINAL DATE: 6/4/96
  13. //
  14. // NOTES:
  15. // 1. Based on Print Troubleshooter DLL.
  16. //
  17. // Version Date By Comments
  18. //--------------------------------------------------------------------
  19. // V0.1 - RM Original
  20. // V0.3 3/24/98 JM Local Version for NT5
  21. //
  22. // Error numbers for the ocx.
  23. #ifndef __ERRORENUMS_H_RWM
  24. #define __ERRORENUMS_H_RWM
  25. // All of the error values in this file need to be unique.
  26. // The original error messages from the server version.
  27. #include "apgtsevt.h"
  28. // Errors for the down load portion.
  29. // These are hresults.
  30. // GetExtendedError returns the lower 16 bits.
  31. enum DLSTATTYPES {
  32. // normal
  33. LTSC_OK = 0,
  34. LTSC_STARTBIND, //1
  35. LTSC_RCVDATA, //2
  36. LTSC_DATADONE, //3
  37. LTSC_STOPBIND, //4
  38. LTSC_NOMOREITEMS, //5
  39. LTSC_START = 10,
  40. LTSC_STOP = 10,
  41. LTSC_FIRST = 20,
  42. // error
  43. LTSCERR_NOPATH = 1000,
  44. LTSCERR_NOMEM, //1001
  45. LTSCERR_DNLD, //1002
  46. LTSCERR_STOPBINDINT, //1003
  47. LTSCERR_STOPBINDPROC, //1004
  48. LTSCERR_UNSUPP, //1005
  49. LTSCERR_NOITEMS, //1006
  50. LTSCERR_UNKNATYPE, //1007
  51. LTSCERR_DNLDNOTDONE, //1008
  52. LTSCERR_FILEUPDATE, //1009
  53. LTSCERR_BASEKQ, //1010
  54. LTSCERR_NOBASEPATH, //1011
  55. // extended error for debugging
  56. LTSCERR_PARAMMISS = 2000,
  57. LTSCERR_PARAMSLASH, //2001
  58. LTSCERR_PARAMNODOT, //2002
  59. LTSCERR_KEYOPEN, //2003
  60. LTSCERR_KEYOPEN2, //2004
  61. LTSCERR_KEYQUERY, //2005
  62. LTSCERR_KEYCREATE, //2006
  63. LTSCERR_KEYUNSUPP, //2007
  64. LTSCERR_FILEWRITE, //2008
  65. LTSCERR_KEYSET1, //2009
  66. LTSCERR_KEYSET2, //2010
  67. LTSCERR_KEYSET3, //2011
  68. LTSCERR_BADTYPE, //2012
  69. LTSCERR_CABWRITE, //2013
  70. // Trouble Shooter Codes
  71. TSERR_SCRIPT = ((DWORD)0xC0000800L), // Parameters from VB not decoded.
  72. TSERR_ENGINE = ((DWORD)0xC0000801L), // DSC file could not be loaded.
  73. TSERR_ENGINE_BNTS = ((DWORD)0xC0001801L), // DSC file could not be loaded. BNTS library did not understand it.
  74. TSERR_ENGINE_BNTS_REC = ((DWORD)0xC0002801L), // DSC file could not be loaded. BNTS library did not understand it.
  75. TSERR_ENGINE_BNTS_READ = ((DWORD)0xC0003801L), // DSC file could not be loaded. BNTS library did not understand it.
  76. TSERR_ENGINE_BNTS_READ_CAB = ((DWORD)0xC0004801L), // DSC file could not be loaded. BNTS library did not understand it.
  77. TSERR_ENGINE_BNTS_READ_CACH = ((DWORD)0xC0005801L), // DSC file could not be loaded. BNTS library did not understand it.
  78. TSERR_ENGINE_BNTS_READ_NCAB = ((DWORD)0xC0006801L), // DSC file could not be loaded. BNTS library did not understand it.
  79. TSERR_ENGINE_BNTS_CHECK = ((DWORD)0xC0007801L), // DSC file could not be loaded. BNTS library did not understand it.
  80. TSERR_ENGINE_BNTS_READ_GEN = ((DWORD)0xC0008801L), // DSC file could not be loaded. BNTS library did not understand it.
  81. TSERR_ENGINE_EXTRACT = ((DWORD)0xC0009801L), // DSC file could not be loaded. Cab file not extracted properly.
  82. TSERR_ENGINE_CACHE_LOW = ((DWORD)0xC0009802L), // Had a tsc cache miss while converting symoblic node names to numbers.
  83. TSERR_RESOURCE = ((DWORD)0xC0000802L), // HTI file or other resource not loaded.
  84. TSERR_RES_MISSING = ((DWORD)0xC0000803L), // An include file is missing.
  85. TSERR_AT_START = ((DWORD)0xC0000804L), // Can not backup from the problem page.
  86. TSERR_NOT_STARTED = ((DWORD)0xC0000805L), // Can not use the ProblemPage to start the trouble shooter.
  87. TSERR_LIB_STATE_INFO = ((DWORD)0xC0000806L), // Could not get an interface to the state info class.
  88. };
  89. // Throws a CBasicException.
  90. void ReportError(DLSTATTYPES Error);
  91. #endif