; OZSCR.INF, O2Micro SmartCardBus Smartcard Reader Driver INF file
; Copyright (c) 1997-2005 O2Micro Corp.

[Version]
Signature   = "$Windows NT$"
Class       = SmartCardReader
ClassGuid   = {50DD5230-BA8A-11D1-BF5D-0000F805F530}
Provider    = %O2Micro%
DriverVer   = 04/21/2005,3.0.0.7
CatalogFile = ozscr.cat

[ControlFlags]
ExcludeFromSelect = *

; ===== O2Micro SmartCardBus Reader Install =====

[SourceDisksNames]
1= %OZSCR.DriverDisk%

[SourceDisksFiles]
ozscr.sys = 1

[Manufacturer]
%O2Micro% = OZSCR

[OZSCR]
; DisplayName        Section        DeviceId
; -----------        -------        --------
%OZSCR.DeviceDesc% = OZSCR.Install, PCMCIA\O2Micro-SmartCardBus_Reader-2E10

[OZSCR.Install.NT]
AddReg    = OZSCR.Install.AddReg
CopyFiles = OZSCR.Install.CopyFiles

[OZSCR.Install.NT.LogConfigOverride]
LogConfig = OZSCR.LogConfigOverride

[OZSCR.LogConfigOverride]
ConfigPriority = NORMAL 
IOConfig       = FF@100-FFFF%0000FF00
IRQConfig      = 3,4,5,6,7,8,9,10,11,12,13,14,15
MemConfig      = 1000@02000000-FFFFFFFF%FFFFF000(D)
PcCardConfig   = 1(W C M)

[OZSCR.Install.AddReg]
HKR,, AdapterType, 0, "0100"
;HKLM, System\CurrentControlSet\Services\SCardSvr,Start,0x00010001,2

[OZSCR.Install.CopyFiles]
ozscr.sys,,,2

[OZSCR.Install.NT.Services]
AddService = OZSCR, 2, OZSCR.Service, OZSCR.EventLog

[OZSCR.Service]
DisplayName   = %OZSCR.DeviceDesc%
ServiceType   = 1 ;%SERVICE_KERNEL_DRIVER%
StartType     = 3 ;%SERVICE_AUTO_START%
ErrorControl  = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\ozscr.sys

[OZSCR.EventLog]
AddReg = OZSCR.AddEventLog.reg

[OZSCR.AddEventLog.reg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\drivers\ozscr.sys"
HKR,, TypesSupported,   0x00010001, 7

[DestinationDirs]
OZSCR.Install.CopyFiles = 12

; =================== Strings ===================

[Strings]
O2Micro          = "O2Micro"
OZSCR.DeviceDesc = "O2Micro SmartCardBus Smartcard Reader"
OZSCR.DriverDisk = "O2Micro SmartCardBus Smartcard Reader Driver Disk"
