;
; mausbhost.inf  -- MA-USB Host Controller Driver
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;

[Version]
signature="$Windows NT$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
Provider=%Msft%
PnpLockdown = 1
DriverVer = 05/07/2021,10.0.20348.1

[DestinationDirs]
DefaultDestDir        = 12
MAUSBHost.CopyFiles   = 12

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
mausbhost.sys = 3426
mausbip.sys   = 3426

[Manufacturer]
%MAUSBHost.Mfg%=MAUSBHost,NTamd64

;
; ---------------------- MA-USB Host -----------------------------
;

[MAUSBHost.NTamd64]
%MAUSBHostIP.DeviceDesc%=MAUSBIP.Install,ROOT\MAUSBHOSTIP

[MAUSBIP.Install.NT]
CopyFiles=MAUSBHost.CopyFiles
AddReg=MAUSBIP.AddReg

[MAUSBIP.AddReg]
HKR,,Controller,1,01

[MAUSBIP.Install.NT.HW]
AddReg = MAUSBIP.AddReg.HW

[MAUSBIP.AddReg.HW]
HKR,,"LowerFilters",0x00010000,"mausbip"
HKR,,DeviceCharacteristics,0x10001,0x100 ;FILE_DEVICE_SECURE_OPEN
; Allowing Read-Write access to WSB service
HKR,,Security,,"D:P(A;;GA;;;WD)(A;;GRGW;;;S-1-5-80-1495648203-2503502111-1597754693-3445174711-1316708627)

[MAUSBIP.Install.NT.Services]
AddService = mausbhost, 0x00000002, MAUSBHost.AddService
AddService = mausbip, , mausbip.AddService

[MAUSBHost.AddService]
DisplayName    = %MAUSBHost.ServiceName%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\mausbhost.sys
Dependencies   = Ucx01000
LoadOrderGroup = Base

[MAUSBIP.AddService]
DisplayName    = %MAUSBIP.ServiceName%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\mausbip.sys
LoadOrderGroup = Base

[MAUSBHost.CopyFiles]
mausbhost.sys,,,0x100
mausbip.sys,,,0x100

; =================== Global ==================================

[Strings] 
Msft                   = "Microsoft"
MAUSBHost.Mfg          = "Microsoft"
MAUSBHostIP.DeviceDesc = "MA-USB IP Host Controller"
MAUSBHost.ServiceName  = "MA-USB Host Controller Driver"
MAUSBIP.ServiceName    = "MA-USB IP Filter Driver"
