;/*++
;
;Copyright (c) Realtek Semiconductor Corp.  All rights reserved.
;
;Module Name:
;
;    RTII2SAC.INF
;
;Abstract:
;    INF file for installing Realtek I2S audio codec device drivers
;
;--*/
[Version]
Signature   = "$WINDOWS NT$"
Class       = MEDIA
ClassGuid   = {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider    = %REALTEK%
DriverVer=05/07/2014,6.2.9600.4106
CatalogFile = rtii2sac.cat


[DestinationDirs]
DefaultDestDir = 12

;********************************
; Codec Device  Install Section
;********************************

[Manufacturer]
%MfgName%=Realtek,NTx86

; For Win2K
[Realtek]
; DisplayName                   Section           DeviceId
; -----------                   -------           --------
;%CodecDevice.DeviceDesc%=Codec_Device, {4d36e96c-e325-11ce-bfc1-08002be10318}\Rti2sCodec
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\INTCCFFD
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5640
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5642
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5645
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5651
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5672
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\221C17AA

; For XP and later
[Realtek.NTx86]
;%CodecDevice.DeviceDesc%=Codec_Device, {4d36e96c-e325-11ce-bfc1-08002be10318}\Rti2sCodec
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\INTCCFFD
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5640
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5642
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5645
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5651
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\10EC5672
%CodecDevice.DeviceDesc%=Codec_Device, ACPI\221C17AA

[Codec_Device.NT]
CopyFiles=Codec_Device.NT.Copy
Reboot

[Codec_Device.NT.Copy]
rtii2sac.sys

[Codec_Device.NT.HW]
AddReg=Codec_Device.NT.HW.AddReg

[Codec_Device.NT.HW.AddReg]
;HKR,,"BeepCount",0x00010003,4

;-------------- Service installation

[Codec_Device.NT.Services]
AddService = rtii2sac, %SPSVCINST_ASSOCSERVICE%, rtii2sac_Service_Inst

[rtii2sac_Service_Inst]
DisplayName     = %CodecDevice.SVCDESC%
ServiceType     = 1               ; SERVICE_KERNEL_DRIVER
StartType       = 3               ; SERVICE_DEMAND_START
ErrorControl    = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\rtii2sac.sys
LoadOrderGroup  = Extended Base


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

[SourceDisksFiles]
rtii2sac.sys = 1,,


;
;--- Codec_Device Coinstaller installation ------
;
; As the driver only supports Windows 8 and KMDF framework is preinstalled, we don't need to include KMDF coinstaller.
;
;[DestinationDirs]
;Codec_Device_CoInstaller_CopyFiles = 11

;[Codec_Device.NT.CoInstallers]
;AddReg          = Codec_Device_CoInstaller_AddReg
;CopyFiles       = Codec_Device_CoInstaller_CopyFiles

;[Codec_Device_CoInstaller_AddReg]
;HKR,,CoInstallers32,0x00010000, "WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"

;[Codec_Device_CoInstaller_CopyFiles]
;WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll

;[SourceDisksFiles]
;WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll=1 ; make sure the number matches with SourceDisksNames

;[Codec_Device.NT.Wdf]
;KmdfService              = rtii2sac, rtii2sac_wdfsect

;[rtii2sac_wdfsect]
;KmdfLibraryVersion       = $KMDFVERSION$

[Strings]
SPSVCINST_ASSOCSERVICE   = 0x00000002
REALTEK                  = "REALTEK"
MfgName                  = "Realtek Semiconductor Corp."
DiskId1                  = "Realtek Codec Device Installation Disk #1"
CodecDevice.DeviceDesc   = "Realtek I2S Audio Codec"
CodecDevice.SVCDESC      = "Realtek I2S Audio Codec Device Driver"
