1, INF 文件
WDM的驱动程序是可以使用INF文件来进行安装的
首先奉上一个关于INF格式的MSDN链接
从《驱动开发技术详解》管盘中找到的INF的例子, 封号(;)表示注释
HelloWDMChapter01.inf
;; The Win2K DDK documentation contains an excellent INF reference.
;--------- Version Section ---------------------------------------------------
[Version]
Signature="$CHICAGO$"
Provider=RenRen_Device
DriverVer=11/1/2007,3.0.0.3
; If device fits one of the standard classes, use the name and GUID here,
; otherwise create your own device class and GUID as this example shows.
Class=RenRenDevice
ClassGUID={B988F087-B147-4626-9CC7-D83B7EB9D53A} ; Generated by GUID tool.
;IMPLEMENT_OLECREATE(<<class>>, <<external_name>>,
;0xb988f087, 0xb147, 0x4626, 0x9c, 0xc7, 0xd8, 0x3b, 0x7e, 0xb9, 0xd5, 0x3a);
;{B988F087-B147-4626-9CC7-D83B7EB9D53A}
;--------- SourceDiskNames and SourceDiskFiles Section -----------------------
; These sections identify source disks and files for installation