;
;Module Name:
;
;   FuncDrv_EUART.inf
;
;Abstract:
;   this is a parallel driver.
;
;   A prototype inf created by GenINF.
;   this is a inx file modified from a inf file.
;
;Copyright (c) OEM Corporation.  All rights reserved.
 
[Version] 
Signature = "$Windows NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%OEM%
CatalogFile=RDC_Parallel.cat
DriverVer=11/11/2016,6.1.7600.16385
Marker=RDC
Revision=0.01

; ===== Class Sections for installing a new class ==============
;[ClassInstall32]
;AddReg=LINClassReg
;
;[LINClassReg]
;HKR,,,,%ClassName%
;HKR,,Icon,,"-9"
;HKR,,DeviceType,0x10001,4                       ; FILE_DEVICE_CONTROLLER
;HKR,,DeviceCharacteristics,0x10001,0x100        ; Use same security checks on relative opens
;HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"    ; Allow generic-all access to Built-in administrators and Local system 
; HKR,,Exclusive,0x10001,1                        ; an exclusive device
;
;===============================================================

;A ControlFlags section identifies devices for which Setup should take certain unique actions during installation.
[ControlFlags]
;Removes all from certain user interface displays, from which a user is expected to select a particular device for installation.
ExcludeFromSelect=*

[DestinationDirs] 

[SourceDisksNames]

[SourceDisksFiles]

; ========== Driver installation Sections ============

[Manufacturer] 
%OEM%=OEM,NTx86

[OEM.NTx86]
%DrvDesc0%=FuncDrv_EUART_Inst,RDCPARALLEL\00
;%DrvDesc1%=FuncDrv_EUART_Inst,*PNP0400

[FuncDrv_EUART_Inst] 
AddReg = FuncDrv_EUART_Inst.AddReg

[FuncDrv_EUART_Inst.AddReg]
; Let Ports class know this is a parallel port (SPP or ECP)
HKR,,PortSubClass,1,00
HKR,,ECPDevice,1,01
HKR,,EnumPropPages32,,"MsPorts.dll,ParallelPortPropPageProvider"

; ========== Driver installation HW Sections ============

[FuncDrv_EUART_Inst.HW]
AddReg=FuncDrv_EUART_HW_Inst.AddReg

[FuncDrv_EUART_HW_Inst.AddReg]
; specify the UpperFilters driver.

HKR,,RequestEppTest,0x00010001,01

; ========== Driver installation Services Sections ============

[FuncDrv_EUART_Inst.Services]
AddService = Parport, 0x00000002, FuncDrv_EUART_Service_Inst, FuncDrv_EUART_EventLog_Inst

[FuncDrv_EUART_Service_Inst]
DisplayName    = %ServiceDisplayName%
ServiceType = %SERVICE_KERNEL_DRIVER% 
StartType = %SERVICE_DEMAND_START% 
ErrorControl = %SERVICE_ERROR_NORMAL% 
ServiceBinary = %12%\parport.sys 
LoadOrderGroup = Parallel arbitrator

[FuncDrv_EUART_EventLog_Inst] 
AddReg = FuncDrv_EUART_EventLog_Inst.AddReg 
 
[FuncDrv_EUART_EventLog_Inst.AddReg] 
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\parport.sys" 
HKR,,TypesSupported,%REG_DWORD%,7


[Strings] 

;  *******Localizable Strings******* 
OEM= "RDC Semiconductor Co., Ltd."
DiskDesc= "Driver Directory(or Disc)"
DrvDesc0= "PCI(E) to Multi Mode Parallel Port"

;ClassName= "EUART Controller"
ServiceDisplayName= "Parallel Driver For EUART"

;  *******Non Localizable Strings******* 

SERVICE_BOOT_START = 0x0 
SERVICE_SYSTEM_START = 0x1 
SERVICE_AUTO_START = 0x2 
SERVICE_DEMAND_START = 0x3 
SERVICE_DISABLED = 0x4 

SERVICE_KERNEL_DRIVER = 0x1 
SERVICE_ERROR_IGNORE = 0x0 
SERVICE_ERROR_NORMAL = 0x1 
SERVICE_ERROR_SEVERE = 0x2 
SERVICE_ERROR_CRITICAL = 0x3 

REG_EXPAND_SZ = 0x00020000 
REG_DWORD = 0x00010001 
