;/*++
;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;Module Name:
;
;    wvmbus.inf
;
;Abstract:
;    INF file for installing VMBus child driver
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=SYSTEM
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%MSFT%
PnpLockdown=1
DriverVer = 06/21/2006,10.0.20348.4294

[DestinationDirs]
DefaultDestDir = 12
System_Dir = 11

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

[SourceDisksFiles]
vmbus.sys  = 1,,
vmbuspipe.dll = 1,,

;*****************************************
; VMBus Install Section
;*****************************************

[Manufacturer]
%StdMfg%=Standard,NTamd64

[Standard.NTamd64]
%VMBus.DeviceDesc%=VMBus_Device_Child, ACPI\VMBus
%Support.DeviceDesc%=VMBus_Support_Device, VMBUS\SUBCHANNEL

[VMBus_Device_Child.NT]
CopyFiles=Drivers_Dir
CopyFiles=System_Dir

[VMBus_Device_Child.NT.HW]
AddReg=VMBus_Device_Child.NT.AddReg

[VMBus_Device_Child.NT.AddReg]                            
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators, Local system

[VMBus_Support_Device.NT]

[Drivers_Dir]
vmbus.sys,,,0x100 ;COPYFLG_PROTECTED_WINDOWS_DRIVER_FILE

[System_Dir]
vmbuspipe.dll

;
; Service installation
;

[VMBus_Device_Child.NT.Services]
AddService = vmbus,%SPSVCINST_ASSOCSERVICE%, vmbus_Service_Inst_Child

[VMBus_Support_Device.NT.Services]
AddService = ,%SPSVCINST_ASSOCSERVICE% ; null service

;
; Driver install sections
;

[vmbus_Service_Inst_Child]
DisplayName    = %vmbus.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 0               ; SERVICE_BOOT_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\vmbus.sys
LoadOrderGroup = System Bus Extender

[Strings]
;
; Non-Localizable
;
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "Microsoft"
DiskId1 = "Microsoft Hyper-V Virtual Machine Bus Installation Disk #1"
;
; Localizable
;
VMBus.DeviceDesc = "Microsoft Hyper-V Virtual Machine Bus"
Support.DeviceDesc = "Microsoft Hyper-V VMBus Support Channel"
vmbus.SVCDESC = "Virtual Machine Bus"
