; cdcacmpo.inf
;
; Installation file (.inf) for the USB Serial device driver.
;
; Copyright © 2005-2009 Thesycon
;
; This file supports:
;     Windows XP x64 Edition
;     Windows Server 2003 x64 Edition
;     Windows Vista x64
;     Windows 7


[Version]
Signature="$Windows NT$"
Provider=%S_Provider%
ClassGUID={4d36e978-e325-11ce-bfc1-08002be10318}
Class=Ports
CatalogFile=obidcdc_x64.cat
DriverVer=11/09/2009,1.84.0.0

;
; Driver information
;

[Manufacturer]
%S_Mfg%=_Devices, ntamd64

[_Devices.ntamd64]
%S_DeviceDesc1%=Install,USB\VID_0AB1&PID_0005

;
; General installation section
;

[Install.ntamd64]
CopyFiles=_CopyFiles_sys
AddReg=Common_AddReg

[Install.ntamd64.HW]
AddReg=_AddReg_Param

;
; Service Installation
;

[Install.ntamd64.Services]
AddService = %S_ServiceName%, 0x00000002 , Install_Service_Inst, Install_EventLog_Inst
AddReg = _AddRegService

[Install_Service_Inst]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\%S_DriverName%.sys


[Install_EventLog_Inst]
AddReg = Install_EventLog_AddReg

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


[_AddRegService]
HKR,,Parameters,,,


[_AddReg_Param]
HKR,,ReadBufferSize,  %REG_DWORD%, 0
HKR,,WriteBufferSize, %REG_DWORD%, 0
HKR,,UseLogicBuffer,  %REG_DWORD%, 0
HKR,,ReadBufferCount, %REG_DWORD%, 1
HKR,,WriteBufferCount,%REG_DWORD%, 1
HKR,,SendLineCoding,  %REG_DWORD%, 0
HKR,,SendLineState,   %REG_DWORD%, 0
HKR,,SendBreak,       %REG_DWORD%, 0

HKR,,OperationMode,%REG_DWORD%, 0


HKR,,ClearFeatureOnStart,%REG_DWORD%, 0
HKR,,VendorPipeReset,%REG_DWORD%, 0

; default serial line states reported in bulk only mode or 
; if the device never updates the status values
; use a or'ed value of: CTS=0x10, DSR=0x20, RI=0x40, DCD=0x80
HKR,,DefaultLineState,%REG_DWORD%, 0x10

; the next line enables the private interface, comment it, if it is not required
; create a new GUID and use the new GUID instead of this
; use the new GUID as an argument to CPortInfo::EnumeratePorts();
HKR,,DriverUserInterfaceGuid,%REG_SZ%,"{F6EB28D8-EA19-43b2-8DDB-A3AB86C90FEE}"

HKR,,StaticDeviceObject,%REG_DWORD%,0
HKR,,ClearRtsDtrOnClose,%REG_DWORD%,0

; the default prefix for the device object
HKR,,DeviceObjectName,%REG_SZ%,"obidcdc_x64"


[Common_AddReg]
; is a serial port
HKR,,PortSubClass,1,01
; property page, system default
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[DestinationDirs]
DefaultDestDir   = 12
_CopyFiles_sys = 10,System32\Drivers

;
; Source file information
;

[SourceDisksNames.amd64]
1 = %S_DiskName%,,,""

[SourceDisksFiles.amd64]
obidcdc_x64.sys = 1,,

[_CopyFiles_sys]
obidcdc_x64.sys,,,0x00000004

[Strings]

;
; Non-Localizable Strings
;

REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ  = 0x00020000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001
SERVICEROOT    = "System\CurrentControlSet\Services"

;
; Localizable Strings
;
S_Provider="FEIG ELECTRONIC"
S_Mfg="FEIG ELECTRONIC GmbH"
S_DeviceDesc1="OBID RFID Reader with USB/CDC interface"
S_DiskName="FEIG CDC ACM Driver disk"
S_DriverName="obidcdc_x64"
S_ServiceName="obidcdc_x64"

