Leaked source code of windows server 2003
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.

146 lines
3.0 KiB

  1. /*++;
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. sti.mc, sti.h
  5. Abstract:
  6. This file contains the message definitions for the STI DLL
  7. Author:
  8. Vlad Sadovsky (VladS) 01-Oct-1997
  9. Revision History:
  10. Notes:
  11. --*/
  12. //
  13. // Values are 32 bit values layed out as follows:
  14. //
  15. // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  16. // 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  17. // +---+-+-+-----------------------+-------------------------------+
  18. // |Sev|C|R| Facility | Code |
  19. // +---+-+-+-----------------------+-------------------------------+
  20. //
  21. // where
  22. //
  23. // Sev - is the severity code
  24. //
  25. // 00 - Success
  26. // 01 - Informational
  27. // 10 - Warning
  28. // 11 - Error
  29. //
  30. // C - is the Customer code flag
  31. //
  32. // R - is a reserved bit
  33. //
  34. // Facility - is the facility code
  35. //
  36. // Code - is the facility's status code
  37. //
  38. //
  39. // Define the facility codes
  40. //
  41. //
  42. // Define the severity codes
  43. //
  44. #define STATUS_SEVERITY_WARNING 0x2
  45. #define STATUS_SEVERITY_SUCCESS 0x0
  46. #define STATUS_SEVERITY_INFORMATIONAL 0x1
  47. #define STATUS_SEVERITY_ERROR 0x3
  48. //
  49. // MessageId: MSG_FAILED_OPEN_DEVICE_KEY
  50. //
  51. // MessageText:
  52. //
  53. // Loading USD, cannot open device registry key.
  54. //
  55. #define MSG_FAILED_OPEN_DEVICE_KEY 0xC0002001L
  56. //
  57. // MessageId: MSG_FAILED_READ_DEVICE_NAME
  58. //
  59. // MessageText:
  60. //
  61. // Loading USD, cannot read device name from registry.
  62. //
  63. #define MSG_FAILED_READ_DEVICE_NAME 0xC0002002L
  64. //
  65. // MessageId: MSG_FAILED_CREATE_DCB
  66. //
  67. // MessageText:
  68. //
  69. // Loading USD, failed to create device control block. Error code (hex)=%1!x!.
  70. //
  71. #define MSG_FAILED_CREATE_DCB 0xC0002003L
  72. //
  73. // MessageId: MSG_LOADING_USD
  74. //
  75. // MessageText:
  76. //
  77. // Attempting to load user-mode driver (USD) for the device.
  78. //
  79. #define MSG_LOADING_USD 0x40002004L
  80. //
  81. // MessageId: MSG_LOADING_PASSTHROUGH_USD
  82. //
  83. // MessageText:
  84. //
  85. // Could not create instance for registered USD, possibly incorrect class ID or problems loading DLL. Trying to initialize pass-through USD.Error code (hex)=%1!x!.
  86. //
  87. #define MSG_LOADING_PASSTHROUGH_USD 0x40002005L
  88. //
  89. // MessageId: MSG_INITIALIZING_USD
  90. //
  91. // MessageText:
  92. //
  93. // Completed loading USD, calling initialization routine.
  94. //
  95. #define MSG_INITIALIZING_USD 0x40002006L
  96. //
  97. // MessageId: MSG_OLD_USD
  98. //
  99. // MessageText:
  100. //
  101. // Version of USD is either too old or too new , will not work with this version of sti dll.
  102. //
  103. #define MSG_OLD_USD 0xC0002008L
  104. //
  105. // MessageId: MSG_SUCCESS_USD
  106. //
  107. // MessageText:
  108. //
  109. // Successfully loaded user mode driver.
  110. //
  111. #define MSG_SUCCESS_USD 0x40002009L
  112. //
  113. // MessageId: MSG_FAILED_INIT_USD
  114. //
  115. // MessageText:
  116. //
  117. // USD failed Initialize method, returned error code (hex)=%1!x!.
  118. // .
  119. //
  120. //
  121. //
  122. #define MSG_FAILED_INIT_USD 0xC000200AL