; Copyright (c) Microsoft Corporation.  All rights reserved.

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

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
volmgr.sys         = 3426

[DestinationDirs]
Volmgr_CopyFiles = 12                ; DIRID_DRIVERS

[ControlFlags]
BasicDriverOk=*
ExcludeFromSelect=*

[Manufacturer]
%MSFT%=volmgr_device,NTamd64

[volmgr_device.NTamd64]
%Volmgr.DeviceDesc%            = Volmgr, Root\VOLMGR         ; Volume Manager

;
; General installation section
;


[Volmgr]
CopyFiles      = Volmgr_CopyFiles
Reboot

[Volmgr_CopyFiles]
volmgr.sys,,,0x100 ; COPYFLG_PROTECTED_WINDOWS_DRIVER_FILE

;
; Service Installation
;

[Volmgr.Services]
AddService     = volmgr, %SPSVCINST_ASSOCSERVICE%, Volmgr_Service, Volmgr_Eventlog

[Volmgr_Service]
DisplayName    = %volmgr_svcdesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_CRITICAL%
ServiceBinary  = %12%\volmgr.sys
LoadOrderGroup = "System Bus Extender"
AddReg         = volmgr_Service_AddReg
AddReg         = storage_supported_features

[volmgr_Service_AddReg]
HKR,,Tag,0x00010001,9

[Volmgr_Eventlog]
AddReg         = Volmgr_Eventlog_AddReg

[Volmgr_Eventlog_AddReg]
HKR,, EventMessageFile, %REG_EXPAND_SZ%, "%%SystemRoot%%\System32\IoLogMsg.dll"
HKR,, TypesSupported, %REG_DWORD%, 7

[storage_supported_features]
; NOTE: Support ByPass IO
HKR, "Parameters", "StorageSupportedFeatures", %REG_DWORD%, 0x1

[Strings]

;
; localizable
;

MSFT              = "Microsoft"
Volmgr.DeviceDesc = "Volume Manager"
volmgr_svcdesc    = "Volume Manager Driver"

;
; Non-Localizable Strings
;

SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_BOOT_START     = 0
SERVICE_ERROR_CRITICAL = 3
REG_EXPAND_SZ          = 0x00020000
REG_DWORD              = 0x00010001
