;----------------------------------------------------------------------
; USBMM8X8.INF
; M-Audio USB MidiSport 8x8 Midi Interface Hardware Installation File
; Written by: Doug Fetter Software Wizardry
; Copyright (c) 1999-2003 Midiman,  All Rights Reserved.
;----------------------------------------------------------------------

[Version]
Signature="$CHICAGO$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%MfgName%
LayoutFile=layout.inf

[ClassInstall]
; Win9x ClassInstall section
AddReg=Class.AddReg

[Class.AddReg]
HKR,,,0,%MediaClassName%
HKR,,Icon,0,-1
HKR,,Installer,0,mmci.dll

[ClassInstall32]
; NT ClassInstall section
AddReg=Class32.AddReg

[Class32.AddReg]
HKR,,,,%MediaClassName%
HKR,,Installer32,,"MmSys.Cpl,MediaClassInstaller"
HKR,,EnumPropPages32,,"MmSys.Cpl,MediaPropPageProvider"
HKR,,TroubleShooter-0,,"tshoot.chm,hdw_multi.htm"
HKR,,Icon,,"3004"

[Manufacturer]
%MfgName%=ManufacturerName_Midiman

[ManufacturerName_Midiman]
%USB\VID_0763&PID_1031.DeviceDesc%=USBMidi_Loader, USB\VID_0763&PID_1031
%USB\VID_0763&PID_1033.DeviceDesc%=USBMidiK_Device, USB\VID_0763&PID_1033
%USBMIDI\MM8X8.DeviceDesc%=USBMidi_Device,USBMIDI\MM8X8


[USBMidi_Loader.CopyList]
usb88ldr.sys,,

[MidiSport.CopyList.DRV]
usbmm8x8.drv
usbmm8x8.dll
usbmm8x8.vxd

[MidiSport.CopyList.NTDrv]
usbmn8x8.dll

[MidiSport.CopyList.WDM]
usbmm8x8.sys

[MidiSport.CopyList.NTWDM]
usbmn8x8.sys

[DestinationDirs]
USBMidi_Loader.CopyList = 10,system32\drivers ; %SystemRoot%\system32\drivers
MidiSport.CopyList.DRV  = 11                  ; %SystemRoot%\system
MidiSport.CopyList.WDM  = 10,system32\drivers ; %SystemRoot%\system32\drivers
MidiSport.CopyList.NTWDM= 10,system32\drivers ; %SystemRoot%\system32\drivers

[SourceDisksNames]
1="M-Audio USB Midisport Driver Disk",,0000-0000

[SourceDisksFiles]
usbmm8x8.drv=1
usbmm8x8.dll=1
usbmm8x8.vxd=1
usbmm8x8.sys=1
usbmn8x8.dll=1
usbmn8x8.sys=1


;---------------------------------------------------------------;
; Windows 98+ Install Sections
;
[USBMidi_Loader]
CopyFiles=USBMidi_Loader.CopyList
AddReg=USBMidi_Loader.AddReg

[USBMidiK_Device]
CopyFiles=MidiSport.CopyList.WDM
AddReg=MidiSportK.AddReg

[USBMidi_Device]
CopyFiles=MidiSport.CopyList.DRV
AddReg=MidiSport.AddReg


;---------------------------------------------------------------;
; Windows 98+ Registry Section
;
[USBMidi_Loader.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usb88ldr.sys

[MidiSportK.AddReg]
HKR,,DevLoader,,"*ntkern"
HKR,,NTMPDriver,,usbmm8x8.sys

[MidiSport.AddReg]
HKR,,DevLoader,,"mmdevldr.vxd"
HKR,,Driver,,usbmm8x8.vxd
HKR,Drivers,MIGRATED,0,0
HKR,Drivers\midi,,0,
HKR,Drivers\midi\usbmm8x8.drv,Description,0,%USBMIDI\MM8X8.DeviceDesc%
HKR,Drivers\midi\usbmm8x8.drv,Driver,0,usbmm8x8.drv
HKR,Drivers\midi\usbmm8x8.drv,External,1,01,00,00,00
HKR,Drivers,SubClasses,,"midi"


;---------------------------------------------------------------;
; Windows 2000 Install Sections
;
[USBMidi_Loader.NT]
CopyFiles=USBMidi_Loader.CopyList

[USBMidi_Loader.NT.Services]
AddService = USB88LDR, 0x00000002, USBMidi_Loader_Services

[USBMidi_Loader_Services]
DisplayName    = %USBLoader.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\system32\drivers\usb88ldr.sys

[USBMidiK_Device.NT]
CopyFiles=MidiSport.CopyList.NTDrv,MidiSport.CopyList.NTWDM
AddReg=MidiSport.NTAddReg

[USBMidiK_Device.NT.Services]
AddService = USBMN8X8, 0x00000002, USBMidiK_Device_Services

[USBMidiK_Device_Services]
DisplayName    = %MidiSport.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\system32\drivers\usbmn8x8.sys


;---------------------------------------------------------------;
; Windows 2000 Registry Section
;
[MidiSport.NTAddReg]
HKR,Drivers\midi,,0,
HKR,Drivers\midi\usbmn8x8.dll,Description,0,%MidiSport.SvcDesc%
HKR,Drivers\midi\usbmn8x8.dll,Driver,0,usbmn8x8.dll
HKR,Drivers\midi\usbmn8x8.dll,External,1,01,00,00,00
HKR,Drivers,SubClasses,,"midi"


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

[Strings]
MfgName="M-Audio"
USB\VID_0763&PID_1031.DeviceDesc="M-Audio USB MidiSport 8x8 Loader"
USB\VID_0763&PID_1033.DeviceDesc="M-Audio USB MidiSport 8x8"
USBMIDI\MM8X8.DeviceDesc="M-Audio USB MidiSport 8x8 (VxD)"
MidiSport.SvcDesc = "M-Audio USB MidiSport 8x8"
USBLoader.SvcDesc = "M-Audio USB MidiSport 8x8 Loader"

MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"
MediaClassName="Sound, video and game controllers"
