Ochkarik, чет колупаюсь и не могу понять в какой секции завать иконку ветки и свою ветку в дереве устройств диспетчера!(((
Какпец, чувствую себя полным идиотом ... осилил драйвер, а инф-файл не дается!(((
(E22.1.1010) ClassName is expected to be "HDC". это тихий ужас... что она хотит, я не пойму?!
; MDMAI.Inf - install information file
; Created 22 feb 2012 by SVP
; Copyright (c) SVP 2012. All rights reserved.
[Version]
; (E22.1.1081) Directive: CatalogFile required (and must not be blank) in section [Version] for WHQL digital signature.
Signature="$WINDOWS NT$"
Provider=MDMAI_Device
DriverVer=01/01/2012, 1.00.0000
Class=MDMAIDevice
; (E22.1.1010) ClassName is expected to be "HDC".
ClassGuid={4d36e96a-e325-11ce-bfc1-08002be10318}
[DestinationDirs]
DefaultDestDir = 12
; ================= Class section =====================
[ClassInstall32]
; (W22.1.2077) System defined classes should usually not specify a class installer.
Addreg=SampleClassReg
[SampleClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5
HKR,,DeviceCharacteristics,0x10001,0x100 ;Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)" ;Allow generic all access to system and built-in Admin.
; ================= Device Install section =====================
[ControlFlags]
ExcludeFromSelect=*
[SourceDisksNames.x86]
1 = %DiskId1%,,,\i386
[SourceDisksNames.amd64]
1 = %DiskId1%,,,\amd64
[SourceDisksFiles.x86]
MDMAI.sys = 1,,
[SourceDisksFiles.amd64]
MDMAI.sys = 1,,
[Manufacturer]
%MfgName%=Standard, NTamd64
[Standard]
%MDMAI.DeviceDesc%=MDMAI_Device, PCI\VEN_2004&DEV_680C&SUBSYS_680C2004&REV_01
[Standard.NTamd64]
%MDMAI.DeviceDesc%=MDMAI_Device, PCI\VEN_2004&DEV_680C&SUBSYS_680C2004&REV_01
[MDMAI_Device.NT]
CopyFiles=Drivers_Dir
[Drivers_Dir]
MDMAI.sys
;------------- Service installation
[MDMAI_Device.NT.Services]
AddService = MDMAI, 0x00000002, dev_Service_Inst
; -------------- busenum driver install sections
[dev_Service_Inst]
DisplayName = %dev.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\MDMAI.sys
;LoadOrderGroup = Extended Base
[Strings]
ProviderName="P."
MfgName="P Soft"
ClassName = "Sample Drivers"
DiskId1 = "MDMAI Installation Disk #1"
MDMAI.DeviceDesc = "WDM PCI Driver for DAC/ADC Controller"
dev.SVCDESC = "WDM PCI Driver Service for DAC/ADC Controller"