;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;

[Version]
Signature="$WINDOWS NT$"
Class=NvmeDisk
ClassGuid={75416e63-5912-4dfa-ae8f-3efaccaffb14}
Provider=%MSFT%
PnpLockdown=1
DriverVer = 06/21/2006,10.0.22621.1

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
nvmedisk.sys = 3426

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%MSFT%=Microsoft,NTamd64

[Microsoft.NTamd64]
%nvmedisk.DeviceDesc% = nvmedisk_Inst,GenNvmeDisk

[nvmedisk_Inst.NT]
CopyFiles = nvmedisk_CopyFiles

[nvmedisk_CopyFiles]
nvmedisk.sys,,,0x100

[nvmedisk_Inst.NT.Services]
AddService = nvmedisk,%SPSVCINST_ASSOCSERVICE%,nvmedisk_Service_Inst,nvmedisk_EventLog_Inst

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

[nvmedisk_EventLog_Inst]
AddReg=nvmedisk_EventLog_AddReg

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

[strings]
;Localizable
MSFT                  = "Microsoft"
nvmedisk.DeviceDesc   = "NVMe disk"
nvmedisk.SvcDesc      = "Microsoft NVMe disk 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_CRITICAL = 3
