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.

167 lines
5.0 KiB

  1. ;/*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. ;
  3. ;Copyright (C) Microsoft Corporation, 1991 - 1999
  4. ;
  5. ;Module Name:
  6. ;
  7. ; redbook.mc
  8. ;
  9. ;Abstract:
  10. ;
  11. ; Constant definitions for the I/O error code log values.
  12. ;
  13. ;Author:
  14. ;
  15. ; Henry Gabryjelski (henrygab) 1-Oct-1998
  16. ;
  17. ;Revision History:
  18. ;
  19. ;--*/
  20. ;
  21. ;#ifndef _REDBOOKLOG_
  22. ;#define _REDBOOKLOG_
  23. ;
  24. MessageIdTypedef=NTSTATUS
  25. SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
  26. Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
  27. Warning=0x2:STATUS_SEVERITY_WARNING
  28. Error=0x3:STATUS_SEVERITY_ERROR
  29. )
  30. FacilityNames=(System=0x0
  31. RpcRuntime=0x2:FACILITY_RPC_RUNTIME
  32. RpcStubs=0x3:FACILITY_RPC_STUBS
  33. Io=0x4:FACILITY_IO_ERROR_CODE
  34. Redbook=0xfff:FACILITY_REDBOOK_ERROR_CODE
  35. )
  36. ;
  37. ;//
  38. ;// there are this many error codes in this file
  39. ;// (max. code + 1)
  40. ;//
  41. ;
  42. ;#define REDBOOK_ERR_MAXIMUM 0x0000000b
  43. ;#define REDBOOK_ERR_MASK 0x0000ffff
  44. ;
  45. ;
  46. ;//
  47. ;// %1 is reserved by the IO Manager. If IoAllocateErrorLogEntry is
  48. ;// called with a device, the name of the device will be inserted into
  49. ;// the message at %1. Otherwise, the place of %1 will be left empty.
  50. ;// In either case, the insertion strings from the driver's error log
  51. ;// entry starts at %2. In other words, the first insertion string goes
  52. ;// to %2, the second to %3 and so on.
  53. ;//
  54. ;
  55. ;
  56. ;//
  57. ;// Severe Error Messages
  58. ;//
  59. ;
  60. MessageId=0x0000 Facility=Redbook Severity=Error
  61. SymbolicName=REDBOOK_ERR_TOO_MANY_READ_ERRORS
  62. Language=English
  63. Too many consecutive read errors, audio playback stopped.
  64. This may indicate your hardware cannot support raw audio reads or that the
  65. cdrom was ejected during playback.
  66. .
  67. MessageId=0x0001 Facility=Redbook Severity=Error
  68. SymbolicName=REDBOOK_ERR_TOO_MANY_STREAM_ERRORS
  69. Language=English
  70. Too many consecutive stream errors, audio playback stopped.
  71. The output audio device may have changed in an unsafe manner,
  72. been removed, or have other problems.
  73. .
  74. MessageId=0x0002 Facility=Redbook Severity=Error
  75. SymbolicName=REDBOOK_ERR_CANNOT_OPEN_SYSAUDIO_MIXER
  76. Language=English
  77. Redbook could not open the MIXER device. It may not exist,
  78. be in use, or there may be other audio problems. Redbook requires both a
  79. WDM audio driver and kernel streaming to be enabled. The audio device
  80. may have changed in an unsafe manner, been removed, or have other problems.
  81. .
  82. MessageId=0x0003 Facility=Redbook Severity=Error
  83. SymbolicName=REDBOOK_ERR_CANNOT_CREATE_VIRTUAL_SOURCE
  84. Language=English
  85. Redbook could not create a virtual source for the MIXER device.
  86. The MIXER may not exist, be in use, or there may be other audio
  87. problems. Redbook requires both a WDM audio driver and kernel streaming
  88. to be enabled.
  89. .
  90. MessageId=0x0004 Facility=Redbook Severity=Error
  91. SymbolicName=REDBOOK_ERR_CANNOT_OPEN_PREFERRED_WAVEOUT_DEVICE
  92. Language=English
  93. Redbook could not open the default playback device. It may not exist,
  94. be in use, or there may be other audio issues. Redbook requires both a
  95. WDM audio driver and kernel streaming to be enabled. The output audio
  96. may have changed in an unsafe manner, been removed, or have other problems.
  97. .
  98. MessageId=0x0005 Facility=Redbook Severity=Error
  99. SymbolicName=REDBOOK_ERR_CANNOT_GET_NUMBER_OF_PINS
  100. Language=English
  101. Redbook could not determine the number of pins (interfaces) for the
  102. default playback device. This is most likely an issue with the
  103. audio drivers. Redbook requires both a WDM audio driver and kernel
  104. streaming to be enabled.
  105. .
  106. MessageId=0x0006 Facility=Redbook Severity=Error
  107. SymbolicName=REDBOOK_ERR_CANNOT_CONNECT_TO_PLAYBACK_PINS
  108. Language=English
  109. Redbook could not connect to any valid playback pins. Redbook
  110. connects only to 44.1KHz 16-bit stereo pins. Redbook requires both a WDM
  111. audio driver and kernel streaming to be enabled. The output audio device
  112. may have changed in an unsafe manner, it may have been removed, or it may
  113. have other problems.
  114. .
  115. MessageId=0x0007 Facility=Redbook Severity=Error
  116. SymbolicName=REDBOOK_ERR_WMI_INIT_FAILED
  117. Language=English
  118. Redbook was unable to initialize its WMI routines, which may cause a cdrom
  119. to be inaccessible during this boot.
  120. .
  121. MessageId=0x0008 Facility=Redbook Severity=Error
  122. SymbolicName=REDBOOK_ERR_CANNOT_CREATE_THREAD
  123. Language=English
  124. Could not create thread. Playback will be disabled.
  125. .
  126. ;
  127. ;//
  128. ;// Warning Error Messages
  129. ;//
  130. MessageId=0x0009 Facility=Redbook Severity=Warning
  131. SymbolicName=REDBOOK_ERR_INSUFFICIENT_DATA_STREAM_PAUSED
  132. Language=English
  133. The stream has paused to prevent stuttering. If this message occurs often,
  134. the cdrom drive may not be capable of providing a real-time stream of audio
  135. data during normal computer use.
  136. .
  137. ;
  138. ;//
  139. ;// Informational Error Messages
  140. ;//
  141. ;
  142. MessageId=0x000a Facility=Redbook Severity=Informational
  143. SymbolicName=REDBOOK_ERR_UNSUPPORTED_DRIVE
  144. Language=English
  145. This drive has not been shown to support digital audio playback.
  146. .
  147. ;#endif /* _REDBOOKLOG_ */