;
; MicSelec.inf
;

[Version]
Signature="$Windows NT$"
Class=System
ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
CatalogFile=MicSelec.cat
Provider=%ProviderName%
DriverVer = 04/25/2024,1.0.0.14

[Manufacturer]
%ProviderName%=Wistron,ntamd64


[SourceDisksNames]
1 = %InstallDisk%

[SourceDisksFiles]
DmicService.exe = 1
MicSelec.inf = 1

[DestinationDirs]
DefaultDestDir = 12
CoInstaller_CopyFiles = 16425
Uninstall_File=11

[Wistron.ntamd64]
%MicSelec.DeviceDesc%=MicSelec_Device,ACPI\DMIC0001

[MicSelec_Device.ntamd64]
CopyFiles=CoInstaller_CopyFiles

[MicSelec_Device.ntamd64.Services]
AddService = ,%SPSVCINST_ASSOCSERVICE%,,
AddService = DmicService,0x00000800,DMIC_AddService_Inst

;//Coinstaller installation
[CoInstaller_CopyFiles]
DmicService.exe,,,12
MicSelec.inf

;//co-installation
[DMIC_AddService_Inst]
DisplayName    = %MicSelec.SvcDesc%
ServiceType    = 0x00000110
StartType      = 2
ErrorControl   = %SERVICE_ERROR_NORMAL%
LoadOrderGroup = Pointer Port
ServiceBinary  = %16425%\DmicService.exe

;//define strings.
[Strings]
ProviderName="Wistron"
InstallDisk    ="Dual DMIC Auto-Select Driver Installation Disk"
MicSelec.DeviceDesc  = "Dual DMIC Auto-Select Virtual Controller"
MicSelec.SvcDesc = "Dual DMIC Auto-Select Service"
SPSVCINST_ASSOCSERVICE= 0x00000002
SERVICE_ERROR_NORMAL  = 1
