;/*++
;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;Module Name:
;
;    vhdmp.inf
;
;Abstract:
;
;    Installation inf for the VHD Loopback Controller
;
;--*/

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

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
vhdmp.sys=3426

[DestinationDirs]
DefaultDestDir=12

[ControlFlags]
BasicDriverOk=*

[Manufacturer]
%MSFT%=vhdmp_device,NTamd64

[vhdmp_device.NTamd64]
%VHDMP.Description%=vhdmp_inst,{8e7bd593-6e6c-4c52-86a6-77175494dd8e}\MsVhdHba

;
; General installation section
;

[vhdmp_inst]
CopyFiles=vhdmp_copyfiles

[vhdmp_copyfiles]
vhdmp.sys,,,0x100 ;COPYFLG_PROTECTED_WINDOWS_DRIVER_FILE

;
; Service Installation
;

[vhdmp_inst.Services]
AddService=vhdmp,0x00000002,vhdmp_service_inst

[vhdmp_service_inst]
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\vhdmp.sys
LoadOrderGroup=SCSI miniport
AddReg=vhdmp_service_addreg

[vhdmp_service_addreg]
HKR,"Parameters\PnpInterface","5",%REG_DWORD%,0x00000001
HKR,"Parameters", "BusType", 0x00010001, 0x0000000f
HKR,,BootFlags,%REG_DWORD_NO_CLOBBER%,0x2 ; CM_SERVICE_VIRTUAL_DISK_BOOT_LOAD

;
; Strings
;

[Strings]

;
; Non-Localizable
;
MSFT="Microsoft"

REG_DWORD=0x00010001
REG_DWORD_NO_CLOBBER=0x00010003
REG_EXPAND_SZ=0x00020000
SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1

;
; Localizable
;
VHDMP.Description="Microsoft VHD Loopback Controller"
