;/*++
;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;   THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
;   KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
;   IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
;   PURPOSE.
;
;Module Name:
;
;    PCI2312.INF
;
;Abstract:
;    INF file for a generic PCI device.
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=Sample
ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171}
Provider=%MSFT%
DriverVer=09/29/2015
CatalogFile=PCI2312.cat


[DestinationDirs]
DefaultDestDir = 12
PCI2312.Files.Driver=10,System32\Drivers
PCI2312.Files.Dll=10,System32


; ================= 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 =====================

[ControlFlags]
ExcludeFromSelect=PCI\VEN_10B5&DEV_2312

[Manufacturer]
%MSFT%=MSFT,NTx86, NTia64, NTamd64

; For Win2K
[MSFT]
; DisplayName            Section           DeviceId
; -----------       	 -------           --------
%PCI2312.DRVDESC%=PCI2312_Inst, PCI\VEN_10B5&DEV_2312

; For XP and later
[MSFT.NTx86]
; DisplayName            Section           DeviceId
; -----------       	 -------           --------
%PCI2312.DRVDESC%=PCI2312_Inst, PCI\VEN_10B5&DEV_2312
[MSFT.NTia64]
; DisplayName            Section           DeviceId
; -----------       	 -------           --------
%PCI2312.DRVDESC%=PCI2312_Inst, PCI\VEN_10B5&DEV_2312

[MSFT.NTamd64]
; DisplayName            Section           DeviceId
; -----------       	 -------           --------
%PCI2312.DRVDESC%=PCI2312_Inst, PCI\VEN_10B5&DEV_2312


[PCI2312_Inst.NT]
CopyFiles=PCI2312.Files.Driver,PCI2312.Files.Dll
AddReg=PCI2312.AddReg

[PCI2312.Files.Driver]
PCI2312.sys

[PCI2312.Files.Dll]
PCI2312_32.dll
PCI2312_64.dll


[SourceDisksFiles]
PCI2312.sys=1,,
PCI2312_32.dll=1,,
PCI2312_64.dll=1,,
PCI2312.inf=1,,

[SourceDisksFiles.NTamd64]
PCI2312.sys=1,,
[SourceDisksNames.x86]
1 = %DISK_NAME%,,,\i386

[SourceDisksNames.ia64]
1 = %DISK_NAME%,,,\ia64

[SourceDisksNames.amd64]
1 = %DISK_NAME%,,,\amd64


[PCI2312_Inst.NT.Services]
AddService=PCI2312,0x00000002,PCI2312_Service 

[PCI2312_Service]
DisplayName    = %PCI2312.SVCDESC%                            
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\PCI2312.sys                            

[Strings]
MSFT = "ART"
ClassName = "Art PCI Device"
PCI2312.SVCDESC = "Art PCI2312 16CHs Photoelectric Isolated DIO Card"
PCI2312.DRVDESC = "Art PCI2312 16CHs Photoelectric Isolated DIO Card"
DISK_NAME = "PCI2312   Disk"

