I. CONTENTS OF THE CD
The Windows 2000 Device Driver Book CD contains the following components:
- Sample drivers presented at the end of 12 chapters in the book
- Tools to facilitate development and installation of some drivers
II. SYSTEM REQUIREMENTS
- Windows 2000 Professional or Server
- Visual C++ 6.0 Professional or Enterprise
- Windows 2000 DDK
- Windows 2000 Platform SDK
- Parallel Port Loopback connector (CheckIt(R) compliant)
The Windows 2000 DDK is available for free download from:
http://www.microsoft.com/DDK/
The Windows 2000 Platform SDK is available for free download from:
http://msdn.microsoft.com/downloads/sdks/platform/
Of course, all necessary software to develop Windows 2000 device
drivers are available from Microsoft as part of MSDN Subscription service.
It is also recommended that two tools:
- WinObj.exe
- DbgView.exe
be obtained by download from the site:
http://www.sysinternals.com
The Parallel Port loopback connector is required for several sample
drivers used in the book and is explained in Chapter 8 of the book.
The DB-25 connector can be constructed according to directions within
this chapter, or can be purchased commercially.
III. INSTALLATION
III-1.
It is important that Visual C++ (Visual Studio) be installed BEFORE
installing the Platform SDK or the DDK. Also, be sure to check the
innocent box "Register Environment Variables" (by default it is left
unchecked) near the end of the Visual C++ installation. This selection
sets up numerous environment (including path) variables necessary for
successful installation of the Platform SDK and DDK.
III-2.
Once the Microsoft products are successfully installed, copy the file:
DDAppWiz.awx
from the Tools directory of this CD to the system's directory:
...\Microsoft Visual Studio\Common\MsDev98\Template
Typically, this directory is located under the system's "Program Files"
directory.
Once copied, a new App Wizard (for creating projects for Windows 2000
device drivers) is available from the Visual C++ IDE (File...New...Project).
III-3.
Copy the directories "ChapNN" from this CD to the Windows 2000 system,
to the directory of your choice. Also, copy the Tools directory.
IV. TESTING THE INSTALLATION
Each ChapNN directory contains one (or more) sub-directories for the
sample driver explained within the chapter. For example, Chap6 contains
Visual Studio workspace, project, and source files for a "Minimal"
Windows 2000 device driver.
IV-1.
By navigating to Chap6\Minimal, the file:
Minimal.dsw
can be opened within Visual Studio as a workspace.
Once opened, select Project...Settings...C/C++...Category: Preprocessor
and ensure that the path to the "Additional Include Directories" is
appropriate for your installation of the DDK. The workspaces contained
on this CD were generated assuming that the DDK was installed on:
D:\NTDDK
Be sure to modify the two include directories to reflect the actual
installation location for your system.
Similarly, select Project...Settings...Link...Category: Input
and ensure that the path to the "Additional Library Path" is appropriate.
Then build the project (Build...Build Minimal.SYS).
Assuming no errors, the .SYS file is copied to the "system32\Drivers\"
directory. (The copy procedure occurs because of a "Post Build" step
within the Project Settings.)
IV-2.
From the Windows Explorer (a.k.a. File Manager), locate and double click on the file:
Chap6\Minimal\Minimal.reg
This action will install appropriate registry entries for the Minimal driver.
IV-3.
Reboot the system.
IV-4.
From the Tools directory (copied from this CD), launch the program:
Tools\DriverControl.exe
Type "Minimal" for the name of the driver.
Click "Start"
The driver should start.
IV-5.
Use WinObj.exe (from the Platform SDK or from "www.sysinternals.com") to
validate that the driver has started.
A similar procedure applies to all driver samples throughout the book.
V. SUPPORT
Be sure to visit the book's web site:
http://www.W2KDriverBook.com/
for updates or troubleshooting suggestions.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
windows2000设备驱动程序设计指南(配套光盘) (252个子文件)
Msg.aps 1KB
DDAppWiz.awx 108KB
MSG00001.bin 1KB
MSG00001.bin 988B
MSG00001.bin 732B
MSG00001.bin 732B
mofresou.bin 0B
WMIEx.bmf 628B
DriverControl.clw 1KB
Driver.cpp 24KB
Driver.cpp 23KB
Driver.cpp 22KB
Driver.cpp 21KB
Driver.cpp 21KB
Driver.cpp 19KB
Driver.cpp 19KB
Driver.cpp 16KB
Driver.cpp 15KB
Driver.cpp 10KB
DriverControlDlg.cpp 8KB
Dbg.cpp 7KB
Eventlog.cpp 6KB
EventLog.cpp 6KB
EventLog.cpp 6KB
EventLog.cpp 6KB
Transfer.cpp 6KB
Driver.cpp 5KB
Driver.cpp 5KB
DDKTestEnv.cpp 4KB
Unicode.cpp 4KB
Unicode.cpp 4KB
Unicode.cpp 4KB
Unicode.cpp 4KB
Unicode.cpp 4KB
Unicode.cpp 4KB
Unicode.cpp 4KB
Unicode.cpp 4KB
Unicode.cpp 4KB
Unicode.cpp 4KB
Unicode.cpp 4KB
Unicode.cpp 4KB
Testor.cpp 3KB
Unicode.cpp 3KB
Testor.cpp 3KB
Testor.cpp 2KB
Testor.cpp 2KB
Testor.cpp 2KB
Testor.cpp 2KB
Thread.cpp 2KB
DriverControl.cpp 2KB
Testor.cpp 2KB
UnicodeTest.cpp 2KB
StdAfx.cpp 294B
StdAfx.cpp 215B
Dbg.DEF 107B
Dbg.dll 136KB
ThreadDMA.dsp 6KB
LODriver.dsp 6KB
HiFilter.dsp 6KB
EventLogEx.dsp 5KB
WMIEx.dsp 5KB
Unicode.dsp 5KB
Loopback.dsp 4KB
Minimal.dsp 4KB
Crasher.dsp 4KB
PPort.dsp 4KB
MinPnP.dsp 4KB
TimerPP.dsp 4KB
DriverControl.dsp 4KB
Testor.dsp 4KB
Testor.dsp 4KB
Testor.dsp 4KB
Testor.dsp 4KB
Testor.dsp 4KB
Testor.dsp 4KB
Testor.dsp 4KB
DMASlave.dsp 4KB
Dbg.dsp 4KB
HiFilter.dsw 935B
EventLogEx.dsw 745B
Loopback.dsw 734B
TimerPP.dsw 732B
MinPnP.dsw 730B
WMIEx.dsw 728B
PPort.dsw 728B
DriverControl.dsw 549B
ThreadDMA.dsw 541B
DMASlave.dsw 539B
Minimal.dsw 537B
Unicode.dsw 537B
Crasher.dsw 537B
Testor.dsw 535B
Testor.dsw 535B
Testor.dsw 535B
Testor.dsw 535B
Testor.dsw 535B
Testor.dsw 535B
Testor.dsw 535B
Dbg.dsw 529B
Unicode.exe 176KB
共 252 条
- 1
- 2
- 3
资源评论
- Intel00112017-12-01good resource, thx
ytfrdfiw
- 粉丝: 266
- 资源: 790
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功