; MPC03.inf
;
; (c) Copyright 2002-2004 StepServo 
;

[Version]
Signature="$Chicago$"
Class=(StepServo)运动控制卡
ClassGUID={8C6E8180-5349-11d8-949D-000AEB18B8E8}
Provider=%StepServo%
DriverVer=03/01/2004,1.0.0.0

[ClassInstall32]
AddReg=ClassAddReg

[ClassAddReg]
HKR,,,,%StepServoClass%
HKR,,Icon,,"-5"

[Manufacturer]
%StepServo% = MPC.03

[MPC.03]
%MPC03%=MPC03.Install, PCI\VEN_12be&DEV_3042

[DestinationDirs]
MPC03.Files.Driver=10,System
MPC03.Files.Driver.NTx86=10,System32\Drivers

[SourceDisksNames]
1=%DiskId1%,,,""

[SourceDisksFiles]
mpc03ls.vxd=,%10%\System

[SourceDisksFiles.x86]
MPC03ls.sys=,%10%\system32\drivers

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Windows 98

[MPC03.Install]
CopyFiles=MPC03.Files.Driver
AddReg=MPC03.AddReg
LogConfig=MPC03.LogConfig
Reboot

[MPC03.AddReg]
HKR,,DevLoader,0,*CONFIGMG
HKR,,DeviceDriver,0,mpc03ls.vxd
;HKR,,DevLoader,,*ntkern
;HKR,,NTMPDriver,,Mpc03ls.sys

[MPC03.Files.Driver]
mpc03ls.vxd,,,%COPYFLG_NOSKIP%

[MPC03.LogConfig]
ConfigPriority=NORMAL
;IOConfig=300-320
;IRQConfig=9

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Windows 2000

[MPC03.Install.NTx86]
CopyFiles=MPC03.Files.Driver.NTx86
LogConfig=MPC03.LogConfig

[MPC03.Files.Driver.NTx86]
Mpc03ls.sys,,,%COPYFLG_NOSKIP%

[MPC03.Install.NTx86.Services]
AddService = MPC03, %SPSVCINST_ASSOCSERVICE%, MPC03.Service

[MPC03.Service]
DisplayName    = %MPC03.ServiceName%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_AUTO_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
LoadOrderGroup = ExtendedBase
ServiceBinary  = %10%\System32\Drivers\Mpc03ls.sys

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Strings

[Strings]
StepServo="StepServo"
MPC03="MPC03 Driver"
MPC03.ServiceName="MPC03 Driver"
StepServoClass="(StepServo)运动控制卡"
DiskId1 = "StepServo MPC03 board Driver CDROM or disk..."

SPSVCINST_ASSOCSERVICE=0x00000002	; Driver service is associated with device being installed
COPYFLG_NOSKIP=2	; Do not allow user to skip file
SERVICE_KERNEL_DRIVER=1
SERVICE_AUTO_START=2
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
