And this is the INF file:
---- start ----
[Version]
Signature=“$WINDOWS NT$”
Class=Aiio
ClassGuid={625772C1-5EC4-4447-AA01-42B65B49ACFF}
Provider=%AI%
DriverVer=12/18/2007,1.0.0.28
CatalogFile=KmdfAiio.cat
[DestinationDirs]
DefaultDestDir = 12
; ================= Class section =====================
[ClassInstall32]
Addreg=AiioClassReg
[AiioClassReg]
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.
;This one overrides the security set by the driver
; ================= Device install section =====================
[ControlFlags]
ExecludeFromSelect=*
[Manufacturer]
%AI%=AI,NTx86
[SourceDisksFiles]
aiio.sys = 1
[SourceDisksNames]
1 = %DISK_NAME%,
; For Win2K
[AI]
; DisplayName Section DeviceId
; ----------- ------- --------
%Aiio.DrvDesc% = Aiio_Inst, PCI\VEN_e159&DEV_0001
; For XP and later
[AI.NTx86]
; DisplayName Section DeviceId
; ----------- ------- --------
%Aiio.DrvDesc% = Aiio_Inst, PCI\VEN_e159&DEV_0001
[Aiio_Inst.NT]
Copyfiles=Aiio.CopyFiles
[Aiio.CopyFiles]
aiio.sys
[Aiio_Inst.NT.Services]
AddService=Aiio, 0x00000002,Aiio_Service
[Aiio_Service]
DisplayName = %Aiio.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\aiio.sys
; ------------------ Coinstaller installation
[DestinationDirs]
CoInstaller_CopyFiles = 11
[Aiio_Inst.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles
[CoInstaller_CopyFiles]
WdfCoInstaller01005.dll
[SourceDiskFiles]
WdfCoInstaller01005.dll = 1 ; make sure the number matches with SourceDisksNames
[CoInstaller_AddReg]
HKR,CoInstallers32,0x00010000, “WdfCoInstaller01005.dll,WdfCoInstalle”
[Aiio_Inst.NT.Wdf]
KmdfService = Aiio, Aiio_wdfsect
[Aiio_wdfsect]
KmdfLibraryVersion = 1.5
[Strings]
AI = “Aga Instrument”
ClassName = “Aga Instrument I/O”
Aiio.SvcDesc = “Service for the Aga Instrument simple I/O card”
Aiio.DrvDesc = “Aga Instrument simple I/O card”
DISK_NAME = “Aiio Install Disk”
---- end ----