; 
; Copyright (C) 2015 Qualcomm Technologies, Inc.
; All Rights Reserved. QUALCOMM Proprietary and Confidential.
;
; Module Name:
;
;    QCListenSoundModel.INX
;
; Abstract:
;
;    INX file for Qualcomm Sound Model Library
;
[Version]
Signature="$WINDOWS NT$"
Class=Extension
ClassGuid={e2f84ce7-8efa-411c-aa69-97454ca4cb57}
Provider=%QCOM%
ExtensionId = {9ec2add4-4251-40d2-bfbe-950e7bdc73fc}
DriverVer = 09/10/2019,1.0.10620.0001
CatalogFile=QCListenSoundModel.cat
BootCritical=1  ; Mark as BootCritical to match AUDRT driver so they get applied together

[DestinationDirs]
QCListenSoundModel.Files = 13 
VoiceActivationModels.Files = 13,

[SourceDisksNames]
0=%Disk%

[SourceDisksFiles]
QCListenSoundModel.dll=0,,
LangIds=0,,
en-US-config=0,,
en-US-VoiceActivationModel.bin=0,,
en-GB-config=0,,
en-GB-VoiceActivationModel.bin=0,,
zh-CN-config=0,,
zh-CN-VoiceActivationModel.bin=0,,

[Manufacturer]
%MfgName%=Extensions,NTARM64

[Extensions.NTARM64]
%QCLSM% = QCListenSoundModel_Inst, AUDD\WA020262 

[QCListenSoundModel_Inst.HW]
AddReg = QCListenSoundModel_HW_Reg

[QCListenSoundModel_Inst]
CopyFiles = QCListenSoundModel.Files,VoiceActivationModels.Files 
AddReg = QCListenSoundModel_Reg

;General registries which are required for COM dll
[QCListenSoundModel_Reg]
HKR,QCListenSoundModelDll, DisplayName, %REG_SZ%, "QCListenSoundModelDll"  
HKR,QCListenSoundModelDll, Description, %REG_SZ%, "Qualcomm Listen Sound Model DLL"
HKR,QCListenSoundModelDll, ObjectName, %REG_SZ%, "LocalSystem"
HKCR, QCListenSoundModel.Object.1, ,%REG_SZ%, "QCListenSoundModel Class"
HKCR, QCListenSoundModel.Object.1\CurVer, ,%REG_SZ%, "QCListenSoundModel.Object.1.1"
HKCR, QCListenSoundModel.Object.1.1, ,%REG_SZ%, "QCListenSoundModel Class"
HKCR, QCListenSoundModel.Object.1.1\CLSID, ,%REG_SZ%, "{76882AA2-2E80-48F1-A14E-4DB1FAC1F849}"

HKCR, CLSID\"{76882AA2-2E80-48F1-A14E-4DB1FAC1F849}", , %REG_SZ%, "QCListenSoundModel Class"
HKCR, CLSID\"{76882AA2-2E80-48F1-A14E-4DB1FAC1F849}"\InprocServer32, , %REG_EXPAND_SZ%, "%13%\QCListenSoundModel.dll"
HKCR, CLSID\"{76882AA2-2E80-48F1-A14E-4DB1FAC1F849}"\InprocServer32, ThreadingModel, %REG_SZ%, "Apartment"
HKCR, CLSID\"{76882AA2-2E80-48F1-A14E-4DB1FAC1F849}"\ProgId, , %REG_SZ%, "QCListenSoundModel.Object.1.1"
HKCR, CLSID\"{76882AA2-2E80-48F1-A14E-4DB1FAC1F849}"\TypeLib, , %REG_SZ%, "{EA8105CB-F215-4A3A-B429-7124EA8F1EBB}"
HKCR, CLSID\"{76882AA2-2E80-48F1-A14E-4DB1FAC1F849}"\Version, , %REG_SZ%, "1.0"
HKCR, CLSID\"{76882AA2-2E80-48F1-A14E-4DB1FAC1F849}"\VersionIndependentProgID, , %REG_SZ%, "QCListenSoundModel.Object.1"

;Qualcomm internal configurable registries
[QCListenSoundModel_HW_Reg]
HKR,AudioListenSoundModelDll\Config, BaseSoundModelRootDirPath, %REG_EXPAND_SZ%, "%13%"
HKR,AudioListenSoundModelDll\Config, ListenAppId, %REG_DWORD%, "1"
HKR,AudioListenSoundModelDll\Config, ListenDetectionMode, %REG_DWORD%, "2"
HKR,AudioListenSoundModelDll\Config, ListenPowerType, %REG_DWORD%, 2
HKR,AudioListenSoundModelDll\Config, MaxNumKeywords, %REG_DWORD%, "2"
HKR,AudioListenSoundModelDll\Config, MaxNumUsers, %REG_DWORD%, "3"
HKR,AudioListenSoundModelDll\Config, DumpSoundModelData, %REG_DWORD%, "0"

[QCListenSoundModel.Files]
QCListenSoundModel.dll

[VoiceActivationModels.Files]
LangIds
en-US-config
en-US-VoiceActivationModel.bin
en-GB-config
en-GB-VoiceActivationModel.bin
zh-CN-config
zh-CN-VoiceActivationModel.bin

[Strings]
QCOM = "Qualcomm Technologies, Inc."
MfgName="QUALCOMM"
QCLSM = "QCListenSoundModel"
Disk = "Disk"

REG_SZ          = 0x00000000
REG_MULTI_SZ    = 0x00010000
REG_EXPAND_SZ   = 0x00020000
REG_DWORD       = 0x00010001
REG_BINARY      = 0x00000001
