; Microsoft Windows UMBus Driver INF
; Copyright (c) 2002 Microsoft Corporation

[Version]
Signature   = "$Windows NT$"
Class       = System
Provider    = %MSFT%
ClassGUID   = {4D36E97D-E325-11CE-BFC1-08002BE10318}
PnpLockdown = 1
DriverVer = 06/21/2006,10.0.22621.2506

[SourceDisksNames]
3426 = windows cd

[SourceDisksFiles]
umbus.sys = 3426

[DestinationDirs]
Drivers_Dir = 13

[ControlFlags]
BasicDriverOk = *

[DeviceInstall32]
AddDevice = ROOT\UMBUS\0000,,UmBus_RootDevice

[UmBus_RootDevice]
HardwareIds = root\umbus

[Manufacturer]
%MSFT%=Microsoft, NTamd64

[Microsoft.NTamd64]
%UmBusRoot.DeviceDesc% = UmBusRoot_Device, root\umbus
%UmBus.DeviceDesc%     = UmBus_Device, UMB\umbus

[Drivers_Dir]
umbus.sys,,,0x0100               ; Microsoft Protected

[AddProp]
NoConnectSound,,,,1              ; Silence sound on device connect

;----------------------------------------------------------------------------
; UMBus_Device Device
;----------------------------------------------------------------------------

[UmBus_Device.NT]
CopyFiles = Drivers_Dir
AddProperty = AddProp

[UmBus_Device.NT.HW]
AddReg = UmBus_Device.NT.AddReg

[UmBus_Device.NT.AddReg]
HKR,,RootBus,0x10001, 0x0
HKR,,InterfaceGUIDs,0x10000, "{65A9A6CF-64CD-480b-843E-32C86E1BA19F}"
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
; Allow generic-all access to Built-in administrators, and the following specific services: IPBusEnum, UmRdpService, WPDBusEnum, spooler, rapimgr, wcescomm, and TermService
HKR,,Security,,"D:P(A;;GA;;;BA)(A;CIOI;GA;;;S-1-5-80-2506443892-94066030-1663014834-2885971264-4189966690)(A;CIOI;GA;;;S-1-5-80-2014626298-1656748749-3847481816-918933055-2469338456)(A;CIOI;GA;;;S-1-5-80-113310567-2163499630-2787090463-221477905-209227094)(A;CIOI;GA;;;S-1-5-80-3951239711-1671533544-1416304335-3763227691-3930497994)(A;CIOI;GA;;; S-1-5-80-1089048661-2780589386-2892795950-861470727-578954556)(A;CIOI;GA;;; S-1-5-80-2296521813-817801817-1982167383-3372779720-2114984142)(A;CIOI;GA;;;S-1-5-80-446051430-1559341753-4161941529-1950928533-810483104)"

;----------------------------------------------------------------------------
; UMBus_Root Device
;----------------------------------------------------------------------------

[UmBusRoot_Device.NT]
CopyFiles=Drivers_Dir
AddProperty=AddProp

[UmBusRoot_Device.NT.HW]
AddReg=UmBusRoot_Device.NT.AddReg

[UmBusRoot_Device.NT.AddReg] 
HKR,,RootBus,0x10001, 0x1
HKR,,Identity,0x0,"UMB"
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
; Allow generic-all access to Built-in administrators, and the following specific services: IPBusEnum, UmRdpService, WPDBusEnum, spooler, rapimgr, wcescomm, and TermService
HKR,,Security,,"D:P(A;;GA;;;BA)(A;CIOI;GA;;;S-1-5-80-2506443892-94066030-1663014834-2885971264-4189966690)(A;CIOI;GA;;;S-1-5-80-2014626298-1656748749-3847481816-918933055-2469338456)(A;CIOI;GA;;;S-1-5-80-113310567-2163499630-2787090463-221477905-209227094)(A;CIOI;GA;;;S-1-5-80-3951239711-1671533544-1416304335-3763227691-3930497994)(A;CIOI;GA;;; S-1-5-80-1089048661-2780589386-2892795950-861470727-578954556)(A;CIOI;GA;;; S-1-5-80-2296521813-817801817-1982167383-3372779720-2114984142)(A;CIOI;GA;;;S-1-5-80-446051430-1559341753-4161941529-1950928533-810483104)"

;-------------- Service installation
[UmBus_Device.NT.Services]
AddService = umbus,0x00010002, umbus_Service_Inst

[UmBusRoot_Device.NT.Services]
AddService = umbus,0x00010002, umbus_Service_Inst

[umbus_Service_Inst]
DisplayName    = %umbus.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\umbus.sys
LoadOrderGroup = Extended Base

[Strings]
;
; Not localizable
MSFT="Microsoft"

;
;Localizable
;
Umbus.SVCDESC = "UMBus Enumerator Driver"
UmBusRoot.DeviceDesc = "UMBus Root Bus Enumerator"
UmBus.DeviceDesc = "UMBus Enumerator"
