;/*++
;
;Copyright (c) Microsoft Corporation. All rights Reserved.
;
;Module Name:
;
;    EhStorTcgDrv.INF
;
;Abstract:
;
;    INF file for installing the Enhanced Storage silo driver
;    for TCG Storage devices providing the IEEE 1667 interface.
;
;--*/

[Version]
Signature   = "$Windows NT$"
Class       = EhStorSilo
ClassGuid   = {9DA2B80F-F89F-4A49-A5C2-511B085B9E8A}
Provider    = %MSFT%
PnpLockdown = 1
DriverVer = 06/21/2006,10.0.22621.2506

[DestinationDirs]
EhStorTcgDrvCopyFiles = 12

; =================== Source file information ======================

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

[SourceDisksFiles]
EhStorTcgDrv.sys = 1,,

; =================== Driver install section =======================

[Manufacturer]
%MSFT% = Standard,NTamd64

[Standard.NTamd64]
%EhStorSilo104.Desc% = EhStorTcgDrv,IEEE1667Silo_104

[EhStorTcgDrv]  
CopyFiles = EhStorTcgDrvCopyFiles

[EhStorTcgDrvCopyFiles]
EhStorTcgDrv.sys,,,0x100

[EhStorTcgDrv.HW]  
AddReg = EhStorTcgDrvAddReg

[EhStorTcgDrvAddReg]
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GRGX;;;WD)(A;;GRGX;;;RC)"

; Set a flag indicating that the silo should be ignored by EhStor Shell extension
HKR,,SiloFlags,0x10001,0x00000001

[EhStorTcgDrv.Services]
AddService      = EhStorTcgDrv,0x00000002,EhStorTcgDrvInstall 

[EhStorTcgDrvInstall]
DisplayName     = %EhStorTcgDrv.Desc%                            
ServiceType     = 1                  ; SERVICE_KERNEL_DRIVER
StartType       = 0                  ; SERVICE_BOOT_START
ErrorControl    = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\EhStorTcgDrv.sys                            
LoadOrderGroup  = SCSI Class
AddReg          = EhStorTcgDrv_AddReg

[EhStorTcgDrv_AddReg]
HKR, Parameters, KsrGuid, 0, {cd255889-bb93-475b-8cc3-cd3e0f609020}

; ================= Co-installer installation ===================

; TODO: the section is disabled for now, because it breaks driver installation during
; OS install and is not really necessary for inbox drivers
;
;[SourceDisksFiles]
;WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll = 1 
;
;[DestinationDirs]
;EhStorTcgDrv_CoInstaller_CopyFiles = 11
;
;[EhStorTcgDrv.CoInstallers]
;AddReg          = EhStorTcgDrv_CoInstaller_AddReg
;CopyFiles       = EhStorTcgDrv_CoInstaller_CopyFiles
;
;[EhStorTcgDrv_CoInstaller_AddReg]
;HKR,,CoInstallers32,0x00010000, "WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"
;
;[EhStorTcgDrv_CoInstaller_CopyFiles]
;WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll
;
;[EhStorTcgDrv.Wdf]
;KmdfService              = EhStorTcgDrv, EhStorTcgDrv_wdfsect
;
;[EhStorTcgDrv_wdfsect]
;; TODO: use STAMPINF and the INFS_KMDF macro when it starts working
;KmdfLibraryVersion       = $KMDFVERSION$

; =================== Localizeable Strings =====================

[Strings]
MSFT                = "Microsoft"
DiskId              = "Windows installation disc"
ClassName           = "IEEE 1667 silo and control devices"
EhStorSilo104.Desc  = "Microsoft TCG Storage silo"
EhStorSilo100.Desc  = "IEEE 1667 Probe silo"
EhStorControl.Desc  = "IEEE 1667 Control Interface"
EhStorTcgDrv.Desc   = "Microsoft driver for storage devices supporting IEEE 1667 and TCG protocols"
