; ; PortDriver.inf ; [Version] Signature="$WINDOWS NT$" ; NT seriese Class=StarMicronicsOriginal ; will be included in "Device Instance ID". ROOT\xxx\0000 ClassGuid={DDE3CC33-9405-4c3a-B5B1-A962C769A5E3} ; Original Provider=%ProviderName% ; provider CatalogFile=PortDriver.cat ; catalog file, but nothing indeed. DriverVer=06/07/2011,6.0.6000.16386 [Manufacturer] ; inf entry point %ProviderName%=StarMicronicsJ,NTAMD64 ; model name & architecture [StarMicronicsJ.NTAMD64] ; product model.architectureImpersonationLevel %EchoDeviceName%=VPD_Install,WUDF\SMJ_AVPD ; the session for installing. & the hardware ID [ClassInstall32] ; registry the class AddReg=VPD_Class_RegistryAdd [VPD_Class_RegistryAdd] HKR,,,,%ClassName% HKR,,Icon,,"-10" ; default "Port" type icon use [VPD_Device_RegistryAdd] HKR,,DeviceType,0x10001,0x0000001b ; Device type = FILE_DEVICE_SERIAL_PORT(1B) [SourceDisksFiles] ; source file (driver & co-installer) StarIOPort.dll=1 SmjVirtualPortDriverTsp100.dll=1 WudfUpdate_01005.dll=1 ; for XP SP2 [SourceDisksNames] 1 = %MediaDescription% ; =================== WUDF Port Emulator Driver ================================== [VPD_Install.NT] AddReg=VPD_Driver_RegAdd CopyFiles=TSP100_StarIOPort_File,UMDriverCopy [VPD_Install.NT.hw] AddReg=VPD_Device_RegistryAdd [VPD_Install.NT.Services] AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall [VPD_Install.NT.CoInstallers] ; point to the co-installer AddReg = CoInstallers_AddReg CopyFiles = CoInstallers_CopyFiles [VPD_Install.NT.Wdf] UmdfService=SmjVirtualPortDriverTsp100,SmjVirtualPortDriverTsp100_Install UmdfServiceOrder=SmjVirtualPortDriverTsp100 UmdfImpersonationLevel=Impersonation [SmjVirtualPortDriverTsp100_Install] UmdfLibraryVersion=1.0.0 DriverCLSID="{5F4FCFF9-F874-4cbb-A1DE-E7F644C22BE0}" ; Original(VPD_CLASS_ID in .cpp file) ServiceBinary=%12%\UMDF\SmjVirtualPortDriverTsp100.dll [WUDFRD_ServiceInstall] ServiceType=1 StartType=3 ErrorControl=1 ServiceBinary=%12%\WUDFRd.sys [VPD_Driver_RegAdd] HKLM,SOFTWARE\StarMicronics\Command Emulator,,0x00000000,%16422%\%TSP100_StarIOPort_InstallPath%\ [CoInstallers_AddReg] HKR,,CoInstallers32,0x00010000,"WudfUpdate_01005.dll" [DestinationDirs] UMDriverCopy=12,UMDF ; copy to drivers\UMDF CoInstallers_CopyFiles=11 TSP100_StarIOPort_File=16422,%TSP100_StarIOPort_InstallPath% [TSP100_StarIOPort_File] StarIOport.dll [CoInstallers_CopyFiles] WudfUpdate_01005.dll [UMDriverCopy] SmjVirtualPortDriverTsp100.dll ; =================== Generic ================================== [Strings] ProviderName="Star Micronics Co.,Ltd" MediaDescription="Star Micronics TSP100 release 5.1 CD" ClassName="Star Micronics Port Device" EchoDeviceName="Star Micronics Virtual Port Emulator Device (TSP100)" TSP100_StarIOPort_InstallPath="StarMicronics\TSP100\Software\20110111"