; ** COPYRIGHT (C) 2007-2012 ASUSTeK Computer Inc.

;
; ASMBSW.inf
;

[Version]
Signature="$Windows NT$"
;Class=Sample ; TODO: edit Class
Class=System
;ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171} ; TODO: edit ClassGuid
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
CatalogFile=ASMBSW.cat
DriverVer=11/08/2012,12.14.17.909
;PnpLockDown=1

[Manufacturer]
%ManufacturerName%=Standard,NTamd64

[Standard.NTamd64]
%DeviceName%=MyDevice_Install, Root\AMDA00 Interface ; TODO: edit hw-id
%DeviceName%=MyDevice_Install, ACPI\VEN_PNP&DEV_0A0A

;[ClassInstall32]
;AddReg=SampleClass_RegistryAdd

;[SampleClass_RegistryAdd]
;HKR,,,,%ClassName%
;HKR,,Icon,,"-10"

[SourceDisksFiles]
ASMBSW.dll=1
WudfUpdate_01011.dll=1
ATKEX.dll = 1,\AXSP
atkexComSvc.exe = 1,\AXSP
axIns.exe = 1,\AXSP
axIns.ini = 1,\AXSP
AsIO.dll = 1,\Io
AsIO.VXD = 1,\Io
AsIO32.sys = 1,\Io
AsIO64.sys = 1,\Io
AsIoIns.exe = 1,\Io
AsIoUnins.exe = 1,\Io
Version.ini = 1,\Io

[SourceDisksNames]
1 = %DiskName%

; =================== UMDF Device ==================================

[MyDevice_Install.NT]
CopyFiles=UMDriverCopy
CopyFiles=AsusIoCopy
CopyFiles=AsusAtkCopy
RegisterDlls=AsusIoReg
RegisterDlls=AsusAtkReg

[MyDevice_Install.NT.hw]

[MyDevice_Install.NT.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[MyDevice_Install.NT.CoInstallers]
CopyFiles=CoInstallers_CopyFiles
AddReg=CoInstallers_AddReg

[MyDevice_Install.NT.Wdf]
UmdfService=ASMBSW,ASMBSW_Install
UmdfServiceOrder=ASMBSW

[ASMBSW_Install]
UmdfLibraryVersion=1.11.0 
ServiceBinary=%12%\UMDF\ASMBSW.dll
DriverCLSID={d44f49ec-2488-4542-a772-f358ef040213}

[WUDFRD_ServiceInstall]
DisplayName = %WudfRdDisplayName%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WUDFRd.sys
LoadOrderGroup = Base
AddProperty= ASUS_MBSW_Interface_AddProperty

[ASUS_MBSW_Interface_AddProperty]
  {757a7750-4416-4226-9a95-0a40b3b60549},6,0x11,,1 ; Privileged Interface

[CoInstallers_CopyFiles]
WudfUpdate_01011.dll

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WudfUpdate_01011.dll"

[DestinationDirs]
UMDriverCopy=12,UMDF ; copy to drivers\umdf
CoInstallers_CopyFiles=11
AsusAtkCopy=16422,\ASUS\AMDA\AXSP ; copy to Program Files\ASUS\AMDA\AXSP
AsusIoCopy=16422,\ASUS\AMDA\Io ; copy to Program Files\ASUS\AMDA\Io

[UMDriverCopy]
ASMBSW.dll

[AsusIoCopy]
AsIO.dll
AsIO.VXD
AsIO32.sys
AsIO64.sys
AsIoIns.exe
AsIoUnins.exe
Version.ini

[AsusAtkCopy]
ATKEX.dll
atkexComSvc.exe
axIns.exe
axIns.ini

[AsusIoReg]
16422,\ASUS\AMDA\Io,AsIoIns.exe,,,,

[AsusAtkReg]
16422,\ASUS\AMDA\AXSP,axIns.exe,,,,

; =================== Generic ==================================

[Strings]
ManufacturerName="ASUSTeK Computer Inc." ; TODO: add ManufacturerName
ClassName="System" ; TODO: edit ClassName
DiskName = "ASMBSW Installation Disk"
WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
DeviceName="AMDA00 Interface"
