; Installation inf for the A-500S
;
; Copyright (c) 2013 Roland Corporation
;
[Version]
Signature="$Windows NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%MfgName%
CatalogFile=RDID1101.CAT
DriverVer=09/30/2013,1.00.01.0000

;---------------------------------------------------------------;

[DestinationDirs]
RDID0101.Files.User	= 11
RDID0101.Files.Inst	= 11
RDID0101.Files.Ext	= 10,system32\drivers ; %SystemRoot%\system32\drivers
DefaultDestDir 	    = 10,system32\drivers ; %SystemRoot%\system32\drivers

[SourceDisksNames]
1=%RDID0101DiskName%,,

[SourceDiskSFiles]
RDWM1101.SYS=1
RDDP1101.EXE=1
RDCP1101.CPL=1
RDCI1101.DLL=1

;---------------------------------------------------------------;

[Manufacturer]
%MfgName%=Roland,NTamd64.6.2,NTamd64.7

;[ControlFlags]
;ExcludeFromSelect=*

[Roland]
;; Windows7 - Windows XP 64
;; not supported

[Roland.NTamd64.6.2]
;; Windows8
%RDID0101DeviceDesc%=RDID0101Install, USB\VID_0582&PID_010D ; A-500S

[Roland.NTamd64.7]
;; not supported

;===============================================================;

[RDID0101Install.NTamd64]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
CopyFiles=RDID0101.Files.User,RDID0101.Files.Ext
AddReg=RDID0101AddReg

[RDID0101Install.NTamd64.CoInstallers]
AddReg=RDID0101CoInstallers.AddReg
CopyFiles=RDID0101.Files.Inst

[RDID0101CoInstallers.AddReg]
HKR,,CoInstallers32,%REG_MSZ%,"RdCi1101.dll,ProcCoInst"

[RDID0101AddReg]
HKR,,DevLoader,,"*ntkern"
HKR,,AssociatedFilters,,"wdmaud"
HKR,,Driver,,rdwm1101.sys
HKR,,NTMPDriver,,"rdwm1101.sys"

HKR,Drivers,SubClasses,,"midi"

HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv, Description,,%RDID0101DeviceDesc%

[RDID0101Install.NTamd64.Services]
AddService = RDID1101, 0x00000002, RDID0101_Service_Inst

[RDID0101_Service_Inst]
DisplayName   = %RDID0101DeviceDesc%
ServiceType   = 1                  ; SERVICE_KERNEL_DRIVER
StartType     = 3                  ; SERVICE_DEMAND_START
ErrorControl  = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\system32\Drivers\rdwm1101.sys

;;;
;;
[RDID0101.Files.Ext]
Rdwm1101.sys

[RDID0101.Files.User]
RDCP1101.CPL
RDDP1101.EXE

[RDID0101.Files.Inst]
RdCi1101.dll

[RDID0101Install.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,    %KSNAME_Mo11%, WDM.Interface.Mo11
AddInterface=%KSCATEGORY_RENDER%,   %KSNAME_Mo11%, WDM.Interface.Mo11
AddInterface=%KSCATEGORY_CAPTURE%,  %KSNAME_Mo11%, WDM.Interface.Mo11

AddInterface=%KSCATEGORY_AUDIO%,    %KSNAME_Mi11%, WDM.Interface.Mi11
AddInterface=%KSCATEGORY_RENDER%,   %KSNAME_Mi11%, WDM.Interface.Mi11
AddInterface=%KSCATEGORY_CAPTURE%,  %KSNAME_Mi11%, WDM.Interface.Mi11

[WDM.Interface.Mo11]
AddReg=WDM.Interface.Mo11.AddReg
[WDM.Interface.Mo11.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mo11.szPname%

[WDM.Interface.Mi11]
AddReg=WDM.Interface.Mi11.AddReg
[WDM.Interface.Mi11.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Mi11.szPname%

;---------------------------------------------------------------;

[Strings]
MfgName="Roland"

RDID0101DiskName="A-500S Driver Installation disk"
RDID0101DeviceDesc="A-500S"

Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"

KSNAME_Mo11="MidiOut1-1"
WDM.Mo11.szPname="A-500S MIDI OUT"

KSNAME_Mi11="MidiIn1-1"
WDM.Mi11.szPname="A-500S"

REG_MSZ = 0x00010000
