| 
					阅读:1560回复:4
				 怎么编写一个最简单的wdm驱动程序 | |
| 沙发#发布于:2002-05-23 18:22 
					最简单的方法,当然是直接用现成的				 | |
| 
 | 
| 板凳#发布于:2002-05-23 11:27 
					2000ddk就有				 | |
| 地板#发布于:2002-05-23 10:50 
					//Init.cpp
 #ifdef __cplusplus extern \"C\" { #endif #include \"wdm.h\" #ifdef __cplusplus } #endif NTSTATUS NTSTATUS DriverEntry( IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath) { return STATUS_SUCCESS; } //Makefile # # DO NOT EDIT THIS FILE!!! Edit .\\sources. if you want to add a new source # file to this component. This file merely indirects to the real make file # that is shared by all the driver components of the Windows NT DDK # !INCLUDE $(NTMAKEENV)\\makefile.def //Source TARGETNAME=WDM1 DRIVERTYPE=WDM TARGETPATH=OBJ INCLUDES=$(BASEDIR)\\inc; SOURCES= init.cpp //inf .... | |
| 
 | 
| 地下室#发布于:2002-05-23 10:17 
					看书,看例程				 | |
| 
 | 
 
							
 
				 
				 
				
