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

[Version]
Signature = "$WINDOWS NT$"
Provider = %MSFT%
Class = PerceptionSimulation
ClassGuid = {645ad99b-1344-4316-837a-08a3e73db222}
DriverVer = 06/21/2006,10.0.22621.1
PnpLockdown = 1
CatalogFile = PerceptionSimulationSixDof.cat

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir = 13

[SourceDisksNames]
1 = %DiskName%

[SourceDisksFiles]
PerceptionSimulationSixDof.dll = 1,,

;*****************************************
; PerceptionSimulationSixDof Install Section
;*****************************************

[Manufacturer]
%MSFT% = Standard,NTamd64

[Standard.NTamd64]
%DeviceName% = PerceptionSimulationSixDof_Install,UMDF\PerceptionSimulationSixDof

[ClassInstall32]
AddReg = PerceptionSimulationSixDof_RegistryAdd

[PerceptionSimulationSixDof_RegistryAdd]
HKR,,,,%ClassName%
HKR,,Icon,,-24

;---------------- copy files

[PerceptionSimulationSixDof_Install.NT]
CopyFiles = UMDriverCopy

[PerceptionSimulationSixDof_Install.NT.hw]
AddReg = PerceptionSimulationSixDof_AddReg

;-------------- Service installation
[PerceptionSimulationSixDof_Install.NT.Services]
AddService = WUDFRd,0x000001f8,WUDFRD_ServiceInstall
AddService = mshidumdf, 0x000001fa, mshidumdf.AddService ;flag 0x2 sets this as the service for the device

[WUDFRD_ServiceInstall]
DisplayName = %WudfRdDisplayName%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WUDFRd.sys

[PerceptionSimulationSixDof_AddReg]
HKR,,"LowerFilters",0x00010008,"WUDFRd" ; FLG_ADDREG_TYPE_MULTI_SZ | FLG_ADDREG_APPEND
HKR,, Security,, "D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GRGWGX;;;S-1-5-80-2731152606-4244467407-1946816704-3721569673-479255522)"; System, Admin and Spectrum only access

[mshidumdf.AddService]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\mshidumdf.sys

;-------------- WDF specific section -------------
[PerceptionSimulationSixDof_Install.NT.Wdf]
UmdfService = PerceptionSimulationSixDof, PerceptionSimulationSixDof_Install
UmdfServiceOrder = PerceptionSimulationSixDof
UmdfKernelModeClientPolicy = AllowKernelModeClients
UmdfFileObjectPolicy = AllowNullAndUnknownFileObjects
UmdfMethodNeitherAction = Copy
UmdfFsContextUsePolicy = CanUseFsContext2
UmdfHostPriority = PriorityHigh

[PerceptionSimulationSixDof_Install]
UmdfLibraryVersion = 2.15.0
ServiceBinary = %13%\PerceptionSimulationSixDof.dll

[UMDriverCopy]
PerceptionSimulationSixDof.dll

[Strings]
MSFT = "Microsoft"
ClassName = "Perception Simulation Controllers"
DiskName = "Perception Simulation Six Dof Controller Installation Disk"
WudfRdDisplayName = "Windows Driver Foundation - User-mode Driver Framework Reflector"
DeviceName = "Perception Simulation 6-DOF Controller"
