Appendix A Utilities and Tools

This appendix lists and briefly describes some of the tools provided with the Microsoft Windows Device Driver Kit (DDK). These tools are necessary to prepare and build the sample device drivers and virtual devices.

File Description

ADDHDR.EXE Special Add Header utility for 386 virtual devices. This file modifies the headers of virtual devices. It takes only one parameter, the name of the virtual device file, and should be run as a standard part of every build procedure.
CVTHPPFM.EXE Tool for converting from 3.1 PFM format to 3.0 PFM format.
IMPLIB.EXE Tool for creating import libraries. For those developers who are still using the Microsoft C Compiler version 5.1, you should install the IMPLIB program provided with the compiler. But, because IMPLIB is not installed automatically, you need to do this manually.
LINK386.EXE Link386 for 386 virtual devices. A version of the Microsoft Segmented-Executable Linker that builds virtual devices. This version has been modified to understand 32-bit offsets.
LINK4.EXE A special version of the C Linker that creates font-resource files. The DDK includes this program to support the creation of font resources only. For other executable files, we recommend you use the linker provided with your compiler or assembler, or LINK386.EXE.
MAPSYM32.EXE Special MAPSYM for 386 virtual devices. A 32-bit version of the standard MAPSYM utility that converts map files produced by the linker into symbol files used by some debuggers. This version has been modified to understand 32-bit offsets.
MASM.EXE MASM 5.10A for building device drivers.
MASM5.EXE MASM 5.10B (flat model) for 386 virtual devices. A version of the Microsoft Macro Assembler, version 5.10B, that supports the 32-bit address space required for virtual devices. It has been named MASM5.EXE so it will not conflict with the standard MASM executables.
MKPRN.EXE PostScript resource tool.
PFMEDIT.EXE PFM Editor for PFM and PCM fonts.
SLIBCEW.LIB The Windows version of the C version 6.0 runtime libraries.
TREEEX2.BAT Used with TREEEXP.BAT to decompress DDK source files.
TREEEX3.BAT Used with TREEEXP.BAT to decompress DDK source files.
TREEEXP.BAT Used to decompress DDK source files.
WALK.EXE Used by TREEXP.BAT to search for and decompress source files in directories.