; Copyright (c) 2011 Microsoft Corporation

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

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
sdstor.sys 		= 3426

[DestinationDirs]
DefaultDestDir=12 ;DIRID_DRIVERS

[ControlFlags]
BasicDriverOk=*
ExcludeFromSelect = SD\CLASS_STORAGE

[Manufacturer]
%Generic%=Generic,NTamd64

[Generic.NTamd64]
%SDMemoryCard_DeviceDesc%=sdstor_Install,SD\CLASS_STORAGE
%MmcMemoryCard_DeviceDesc%=sdstor_Install_Mmc,SD\CLASS_MMC

;
; MMC storage install section
;

[sdstor_Install_Mmc.NT]
CopyFiles=sdstor_copyfiles

[sdstor_Install_Mmc.NT.Services]
AddService=sdstor, 2, sdstor_service_Install

[sdstor_Install_Mmc.NT.HW]
AddReg=sdstor_Install_Mmc_HW.AddReg

[sdstor_Install_Mmc_HW.AddReg]

;
; SD storage install section
;

[sdstor_Install.NT]
CopyFiles=sdstor_copyfiles

[sdstor_copyfiles]
sdstor.sys,,,0x100

[sdstor_Install.NT.Services]
AddService=sdstor, 2, sdstor_service_Install

[sdstor_Install.NT.HW]
AddReg=sdstor_Install_HW.AddReg

[sdstor_Install_HW.AddReg]
HKR,,"Icons",0x00010000,"%%SystemRoot%%\system32\sdhcinst.dll,-2"
HKR,,"Label",,"@%%SystemRoot%%\system32\sysclass.dll,-2800"

;
; SD storage service install section
;

[sdstor_service_Install]
DisplayName    = %sdstor_ServiceDesc%
ServiceType    = 1
StartType      = 3
ErrorControl   = 1
ServiceBinary  = %12%\sdstor.sys
AddReg         = sdstor_ServiceReg

[sdstor_ServiceReg]
HKR,,BootFlags,0x00010003,0x00000008
HKR,Parameters,SdCmdFlags,1,    09,01, 0A,01, 0D,01, \
				10,01, 2A,01, \
                                20,01, 21,01, 26,01, \
                                22,01, 23,01, 24,01, 25,01, 32,01, 39,01

HKR,Parameters,SdAppCmdFlags,1, 0D,01, \
                                12,01, 19,01, 1A,01, 26,01, 2B,01, \
                                2C,01, 2D,01, 2E,01, 2F,01, 30,01, 31,01, \
                                33,01


[Strings]

;Localizable
sdstor_ServiceDesc       = "SD Storage Port Driver"
Generic                  = "Generic"
SDMemoryCard_DeviceDesc  = "SD Storage Class Controller"
MmcMemoryCard_DeviceDesc = "SD Storage Class Controller"

;Non-Localizable
MSFT                     = "Microsoft"
