; INF file for UsbSkOmr.sys
; Copyright (c) 2002, SEKONIC CORPORATION

[Version]
Signature="$Windows NT$"
Class="Optical Mark Reader"
ClassGUID={A43D14B6-ADD8-11D3-99F0-005004D38A59}
Provider=%UsbSkOmr.Provider%
DriverVer=12/06/2002,2.0
;CatalogFile=UsbSkOmr.cat
  
[ControlFlags]
ExcludeFromSelect = USB\VID_0a41&PID_0002
      
[Manufacturer]
%UsbSkOmr.Manufacturer%=UsbSkOmr
      
[ClassInstall32]
AddReg=UsbSkOmr.AddClassReg

[UsbSkOmr]
%UsbSkOmr.DeviceDesc%=UsbSkOmr.INSTALL, USB\VID_0a41&PID_0002

; TODO:  Add an optional Tag File to ensure that the end user
;        has specified the correct path to the diskette, CD-ROM,
;        or network drive.  See the INF File Reference in the
;        DDK documentation for more information on SourceDisksNames
;        sections.
[SourceDisksNames]
1=%UsbSkOmr.DriverDiskName%,"",,

[SourceDisksFiles]
UsbSkOmr.sys=1

[DestinationDirs]
UsbSkOmr.CopyFiles = 10,system32\drivers ; WINDOWS\SYSTEM32\DRIVERS
DefaultDestDir = 10,system32\drivers ; WINDOWS\SYSTEM32\DRIVERS
      
[UsbSkOmr.INSTALL]
CopyFiles=UsbSkOmr.CopyFiles
AddReg=UsbSkOmr.AddRegLoader
      
[UsbSkOmr.AddClassReg]
HKR,,,,%UsbSkOmr.ClassName%

[UsbSkOmr.AddRegLoader]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,UsbSkOmr.sys

[UsbSkOmr.INSTALL.NT]
CopyFiles=UsbSkOmr.CopyFiles

[UsbSkOmr.INSTALL.NT.Services]
AddService = UsbSkOmr,0x00000002,UsbSkOmr_Service_Inst,UsbSkOmr_EventLog_Inst

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

[UsbSkOmr_EventLog_Inst]
AddReg=UsbSkOmr.AddEventLogReg

[UsbSkOmr.AddEventLogReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\UsbSkOmr.sys"
HKR,,TypesSupported,0x00010001,7

      
[UsbSkOmr.CopyFiles]
UsbSkOmr.sys


;---------------------------------------------------------------;
      
[Strings]
UsbSkOmr.Provider="SEKONIC CORPORATION"
UsbSkOmr.Manufacturer="SEKONIC CORPORATION"
; TODO:  Replace the following with an appropriate description
;        of this actual device.
UsbSkOmr.DeviceDesc="USB SEKONIC Optical Mark Reader Device"
; TODO:  Replace the following with an appropriate class name
;        for this class of device.  
UsbSkOmr.ClassName="Optical Mark Reader"
; TODO:  If not installing from a diskette, change the following string
;        to indicate the source location.
UsbSkOmr.DriverDiskName="UsbSkOmr Installation Diskette" 
