阅读:3027回复:0
我的INF文件为何装不成功,急啊,大家帮帮我
;; InformerWDM.inf
;--------- Version Section --------------------------------------------------- [Version] Signature=\"$Windows 95$\" Provider=%ProviderName% ; 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=Unknown ClassGUID={ff646f80-8def-11d2-9449-00105a075f6b} ;--------- SourceDiskNames and SourceDiskFiles Section ----------------------- ; These sections identify source disks and files for installation. They are ; shown here as an example, but commented out. ;[SourceDisksNames] ;1 = \"Install Disk\",Disk1,, ;[SourceDisksFiles] ;InformerWDM.sys = 1,, ;--------- ClassInstall/ClassInstall32 Section ------------------------------- ; Not necessary if using a standard class ; 9X Style [ClassInstall] Addreg=Class_AddReg ; NT Style [ClassInstall32] Addreg=Class_AddReg [Class_AddReg] HKR,,,,%DeviceClassName% HKR,,Icon,,\"-18\" ;--------- DestinationDirs Section ------------------------------------------- [DestinationDirs] InformerWDM_Files_Driver = 10,System32\\Drivers ;--------- Manufacturer and Models Sections ---------------------------------- [Manufacturer] %MfgName%=Mfg0 [Mfg0] %DeviceDesc%=InformerWDM_DDI,InformerWDM ;---------- DDInstall Sections ----------------------------------------------- ; --------- Windows 9X ----------------- ; Experimentation has shown that DDInstall root names greater than 19 characters ; cause problems in Windows 98 [InformerWDM_DDI] CopyFiles=InformerWDM_Files_Driver AddReg=InformerWDM_9X_AddReg LogConfig=InformerWDM_Config [InformerWDM_9X_AddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,InformerWDM.sys ; --------- Windows NT ----------------- [InformerWDM_DDI.NT] CopyFiles=InformerWDM_Files_Driver LogConfig=InformerWDM_Config [InformerWDM_DDI.NT.Services] Addservice = InformerWDM, 0x00000002, InformerWDM_AddService [InformerWDM_AddService] DisplayName = %SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\\System32\\Drivers\\InformerWDM.sys ; ------ Logical Config (common) ------- [InformerWDM_Config] ; This is the logical configuration for the device. If the device has no ; hardware resources, you can remove this section, and remove the reference ; to it in section [InformerWDM_Device] ; ConfigPriority=NORMAL ; The allowed values for ConfigPriority are: ; HARDWIRED Cannot be reset in any way ; DESIRED Soft Configurable most optimal ; NORMAL Soft Configured medium optimal ; SUBOPTIMAL Soft Configured least optimal ; DISABLED Hardware disabled ; RESTART Requires Windows restart to affect ; REBOOT Requires system reboot to affect ; POWEROFF Requires power cycle to affect ; HARDRECONFIG Requires Jumper setting ; IOConfig=1@190-1d0%fff8(3ff::) ; IoPortRange190; ;; TODO: You must replace START and END in the line above with the correct I/O addresses (hex). ;; If the device decodes only 10 bits of I/O, replace ffff with 3ff. IOConfig=1@338-358%fff8(3ff::) ; IoPortRange338; ;; TODO: You must replace START and END in the line above with the correct I/O addresses (hex). ;; If the device decodes only 10 bits of I/O, replace ffff with 3ff. IRQConfig=9,10,11 ;; TODO: You must replace IRQNUM in the line above with the correct IRQ for your device 我感觉好象是逻辑设置有点问题,但看了DDK帮助后也没看出有什么不对的,大家能帮我看看到底是哪儿不对吗?是个ISA设备,没有使用PNP |
|