Untitled

Run Settings
LanguageC
Language Version
Run Command
;/*++ ; ;Copyright (c) 1990-2000 Microsoft Corporation All rights Reserved ; ;Module Name: ; ; Portio.INF ; ;Abstract: ; INF file for installing sample portio driver ; ;--*/ [Version] Signature="$WINDOWS NT$" Class=Sample ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5172} Provider=%MSFT% DriverVer=05/24/2018,6.00.2072 CatalogFile = genport.cat CatalogFile.ntamd64 = genportX64.cat [DestinationDirs] DefaultDestDir = 12 ; ================= Class section ===================== [ClassInstall32] 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 ===================== [Manufacturer] %MSFT%=MSFT,NTAMD64 [SourceDisksFiles] genport.sys=1 [SourceDisksNames] 1=%DISK_NAME%, [MSFT] ; DisplayName Section DeviceId ; ----------- ------- -------- %PortIO.DRVDESC%=PortIO_Inst,root\portio [MSFT.NTamd64] ; DisplayName Section DeviceId ; ----------- ------- -------- %PortIO.DRVDESC%=PortIO_Inst.NTamd64,root\portio [PortIO_Inst.NT] CopyFiles=PortIO.CopyFiles LogConfig=PortIO.LC0, PortIO.LC1 [PortIO.CopyFiles] genport.sys [PortIO_Inst.NT.Services] AddService=portio,0x00000002,PortIO_Service ;Uncomment following lines if your device can only work with factory default settings ;[PortIO.NT.FactDef] ;ConfigPriority=HARDRECONFIG ;IOConfig=300-303(3ff::) ; 10 bit decode ranging from 300 - 303 [PortIO.LC0] ConfigPriority=DESIRED IOConfig=300-303(3ff::) ; 10 bit decode ranging from 300 - 303 [PortIO.LC1] ConfigPriority=NORMAL IOConfig=4@300-3ff(3ff::) ; 4 ports starting anywhere between 300 and 3fc [PortIO_Service] DisplayName = %PortIO.SVCDESC% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %12%\genport.sys [Strings] MSFT = "Microsoft" ClassName = "Sample Drivers" PortIO.SVCDESC = "Sample PortIO Service" PortIO.DRVDESC = "Sample PortIO Driver" DISK_NAME = "Portio Sample Install Disk"
Editor Settings
Theme
Key bindings
Full width
Lines