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

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
scmbus.sys = 3426

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%MSFT%=Microsoft,NTamd64

[Microsoft.NTamd64]
%*acpi0012.DeviceDesc% = scmbus_Inst,ACPI\ACPI0012
%*simulatedPmem.DeviceDesc% = scmbus_Inst,ROOT\SimulatedPmem
%*ramdisk.DeviceDesc% = scmbus_Inst,ROOT\scmbus

[scmbus_Inst.NT]
CopyFiles = scmbus_CopyFiles

[scmbus_CopyFiles]
scmbus.sys,,,0x100

[scmbus_Inst.NT.Services]
AddService = scmbus,%SPSVCINST_ASSOCSERVICE%,scmbus_Service_Inst,scmbus_EventLog_Inst

[scmbus_Service_Inst]
DisplayName    = %scmbus.SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\scmbus.sys

[scmbus_EventLog_Inst]
AddReg=scmbus_EventLog_AddReg

[scmbus_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll"
HKR,,TypesSupported,0x00010001,7

[scmbus_Inst.NT.HW]
AddReg=scmbus_RegSettings_Security

; This is SDDL_DEVOBJ_SYS_ALL_ADM_RWX_WORLD_R_RES_R from the MSDN docs on SDDL for device objects.
; Kernel and system have complete access. Admins have full permission except to change the ACL. Everyone
; else has only read permissions.
[scmbus_RegSettings_Security]
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GR;;;WD)"

[strings]
;Localizable
MSFT                  = "Microsoft"
*acpi0012.DeviceDesc  = "Storage Class Memory Bus"
*simulatedPmem.DeviceDesc  = "Simulated Storage Class Memory Bus"
*ramdisk.DeviceDesc  = "Storage Class Memory Bus for Ramdisk"
scmbus.SvcDesc        = "Microsoft Storage Class Memory Bus Driver"

;Non-localizable
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_BOOT_START     = 0
SERVICE_SYSTEM_START   = 1
SERVICE_ERROR_NORMAL   = 1
SERVICE_ERROR_CRITICAL = 3
