| 
			 
					阅读:890回复:3
				 
				关于DS生成的ISA驱动问题
					我用DS生成了一个ISA驱动, 开始有这样一句:extern KTrace t;还有	t << \"Entering 驱动Device::驱动Device (constructor)\\n\";我看了它的帮助文档,可水平太凹,不知道什么意思,它到底完成什么功能??谁能告诉我??				 
							 | 
	|
					
						
						
						
						
  | 
	
| 
			 沙发# 
								发布于:2002-12-27 08:17				
			
					谁能回答啊!!!				 
							 | 
	|
					
						
  | 
	
| 
			 板凳# 
								发布于:2002-12-27 09:14				
			
					打印信息,类似于cout<<语句
 
							 | 
	|
| 
			 地板# 
								发布于:2002-12-27 09:26				
			
					这是从DRIVERWORKS的帮助文档COPY下来的,其实你一搜索\"KTrace\"关键字就能知道了。
 
							Class KTrace provides a means to send debugging output to a debugger and/or to the Driver::Monitor utility program. The class supports printf style formatted output of integers, ASCII strings, and Unicode strings. It also supports stream style C++ output by overloading the left shift operator for certain data types. Output data is buffered (by driver DBGMSG) until it is read and displayed by Driver::Monitor. 你也可以在SOFTICE中看到这些调试信息。  | 
	|
					
						
  |