阅读:1593回复:2
高手看过来:usb自开发设备 安装驱动时出现文件队列锁定错误 inf文件错误
请高手指点一下此inf文件错在哪里,谢谢!
;; Driver.inf ;--------- Version Section --------------------------------------------------- [Version] Signature=\"$Chicago$\" Provider=%Philips% ; 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=driver 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] Driver.sys = 1 hidusb.sys=1 usbd.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] DefaultDestDir = 10,System32\\Drivers ;--------- Manufacturer and Models Sections ---------------------------------- [Manufacturer] %MfgName%=Philips [Philips] %DeviceDesc%=Driver_DDI, USB\\VID_0471&PID_1234 ;---------- DDInstall Sections ----------------------------------------------- ; --------- Windows 9X ----------------- ; Experimentation has shown that DDInstall root names greater than 19 characters ; cause problems in Windows 98 [Driver_DDI] CopyFiles=DefaultDestDir AddReg=Driver_9X_AddReg [Driver_9X_AddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,Driver.sys HKR, \"Parameters\", \"BreakOnEntry\", 0x00010001, 0 ; --------- Windows NT ----------------- [Driver_DDI.NT] CopyFiles=DefaultDestDir AddReg=Driver_NT_AddReg [Driver_DDI.NT.Services] Addservice = Driver, 0x00000002, Driver_AddService [Driver_AddService] DisplayName = %SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %10%\\System32\\Drivers\\Driver.sys [Driver_NT_AddReg] HKLM, \"System\\CurrentControlSet\\Services\\Driver\\Parameters\",\\ \"BreakOnEntry\", 0x00010001, 0 ; --------- Files (common) ------------- [DefaultDestDir] Driver.sys Driver.inf ;--------- Strings Section --------------------------------------------------- [Strings] ProviderName=\"Your Company Name here\" MfgName=\"Name of HW Manufacturer here\" DeviceDesc=\"Description of Device here\" DeviceClassName=\"Description of Driver Device class here\" SvcDesc=\"Description of Driver NT service here\" |
|
沙发#
发布于:2003-04-24 08:15
没有,使一个新类
|
|
板凳#
发布于:2003-04-23 21:45
class = driver是你自己写的吧
有这个类吗? |
|