[Version]
Signature="$WINDOWS NT$"
Class=Memory
ClassGuid={5099944a-f6b9-4057-a056-8c550228544c}
Provider=%MSFT%
DriverVer = 06/21/2006,10.0.20348.1

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
nvdimm.sys 		= 3426

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%MSFT%=Microsoft,NTamd64

[Microsoft.NTamd64]
%nvdimm.DeviceDesc% = nvdimm_Inst,SCMNVD\CC_1901,SCMNVD\CC_0101,SCMNVD\CC_0301,SCMNVD\CC_1900

[nvdimm_Inst.NT]
Copyfiles = @nvdimm.sys

[nvdimm_Inst.NT.Services]
AddService = nvdimm,%SPSVCINST_ASSOCSERVICE%,nvdimm_Service_Inst,nvdimm_EventLog_Inst

[nvdimm_Service_Inst]
DisplayName    = %nvdimm.SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\nvdimm.sys
LoadOrderGroup = Primary Disk

[nvdimm_EventLog_Inst]
AddReg=nvdimm_EventLog_AddReg

[nvdimm_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\nvdimm.sys"
HKR,,TypesSupported,0x00010001,7

[nvdimm_Inst.NT.HW]
AddReg=nvdimm_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.
[nvdimm_RegSettings_Security]
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GR;;;WD)"

[strings]
;Localizable
MSFT                = "Microsoft"
nvdimm.DeviceDesc   = "NVDIMM device"
nvdimm.SvcDesc      = "Microsoft NVDIMM device driver"

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