;=============================================================================
;
; Copyright (c) Intel Corporation (2017).
;
; INTEL MAKES NO WARRANTY OF ANY KIND REGARDING THE CODE.  THIS CODE IS
; LICENSED ON AN "AS IS" BASIS AND INTEL WILL NOT PROVIDE ANY SUPPORT,
; ASSISTANCE, INSTALLATION, TRAINING OR OTHER SERVICES.  INTEL DOES NOT
; PROVIDE ANY UPDATES, ENHANCEMENTS OR EXTENSIONS.  INTEL SPECIFICALLY
; DISCLAIMS ANY WARRANTY OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY
; PARTICULAR PURPOSE, OR ANY OTHER WARRANTY.  Intel disclaims all liability,
; including liability for infringement of any proprietary rights, relating to
; use of the code. No license, express or implied, by estoppel or otherwise,
; to any intellectual property rights is granted herein.
;
;=============================================================================

[Version]
Signature = "$WINDOWS NT$"
Class = HDC
ClassGuid={4d36e96a-e325-11ce-bfc1-08002be10318} ; Hard Disk Controllers
Provider = %INTL%
CatalogFile = VcaBlockIo.cat
DriverVer=08/21/2017,14.59.0.251

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

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

[Manufacturer]
%INTL% = Standard,NTamd64

[Standard.NTamd64]
%VcaBlockIo.DeviceDesc% = VcaBlockIo_Device, {04860C26-A2Ab-4282-A348-8C7E7E131F33}\vca_blkio

[VcaBlockIo_Device.NT]
CopyFiles = Drivers_Dir

[Drivers_Dir]
VcaBlockIo.sys

;-------------- Service installation
[VcaBlockIo_Device.NT.Services]
AddService = VcaBlockIo,%SPSVCINST_ASSOCSERVICE%, VcaBlockIo_Service_Inst

; -------------- VcaBlockIo driver install sections
[VcaBlockIo_Service_Inst]
DisplayName    = %VcaBlockIo.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 0               ; SERVICE_BOOT_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\VcaBlockIo.sys
LoadOrderGroup = Extended Base

;
;--- VcaBlockIo_Device Coinstaller installation ------
;

[DestinationDirs]
DefaultDestDir = 12
VcaBlockIo_Device_CoInstaller_CopyFiles = 11

[VcaBlockIo_Device.NT.CoInstallers]
AddReg = VcaBlockIo_Device_CoInstaller_AddReg
CopyFiles = VcaBlockIo_Device_CoInstaller_CopyFiles

[VcaBlockIo_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01011.dll,WdfCoInstaller"

[VcaBlockIo_Device_CoInstaller_CopyFiles]
WdfCoInstaller01011.dll

[SourceDisksFiles]
VcaBlockIo.sys  = 1,,
WdfCoInstaller01011.dll = 1 ; make sure the number matches with SourceDisksNames

[VcaBlockIo_Device.NT.Wdf]
KmdfService =  VcaBlockIo, VcaBlockIo_wdfsect
[VcaBlockIo_wdfsect]
KmdfLibraryVersion = 1.11

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
INTL           = "Intel Corporation"
HDCClassName = "IDE ATA/ATAPI controllers"
DiskName = "VcaBlockIo Installation Disk"
VcaBlockIo.DeviceDesc = "Intel(R) VCA BlockIo Device"
VcaBlockIo.SVCDESC = "Intel(R) VCA BlockIo Service"
