summaryrefslogtreecommitdiff
path: root/spb/SpbTestTool/sys/spbtesttool.inx
blob: b52c4ccc2dc067f6a0a83bcd4dc3c7a454c630a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
;/*++
;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;Module Name:
;    SpbTestTool.inf
;
;Abstract:
;    INF file for installing the Driver Frameworks SpbTestTool Driver
;
;Installation Notes:
;    Using Devcon: Type "devcon update SpbTestTool.inf ACPI\SpbTestTool" to install
;
;Important:
;    This INF depends on features for the Driver Store DIRIDs which are available starting Windows 10 1709
;
;--*/

[Version]
Signature   = "$WINDOWS NT$"
Class       = Sample
ClassGuid   = {78A1C341-4539-11d3-B88D-00C04FAD5171}
Provider    = %ProviderName%
DriverVer   = 06/21/2006,6.1.7779.2
CatalogFile = SpbSamples.cat
PnpLockdown = 1

[DestinationDirs]
DefaultDestDir = 13

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
SpbTestTool.sys  = 1,,

; ================= Class section =====================

[ClassInstall32]
AddReg=SpbTestTool_RegistryAdd

[SpbTestTool_RegistryAdd]
HKR,,,,%ClassName%
HKR,,Icon,,"-10"

;*****************************************
; SpbTestTool  Install Section
;*****************************************

[Manufacturer]
%StdMfg%=Standard,NT$ARCH$.10.0...16299

[Standard.NT$ARCH$.10.0...16299]
%SpbTestTool.DeviceDesc%=SpbTestTool_Device, ACPI\SpbTestTool

[SpbTestTool_Device.NT]
CopyFiles=Drivers_Dir

[SpbTestTool_Device.NT.HW]
AddReg=SpbTestTool_AddReg

[Drivers_Dir]
SpbTestTool.sys

[SpbTestTool_AddReg]
; Set to 1 to connect the first interrupt resource found, 0 to leave disconnected
HKR,Settings,"ConnectInterrupt",0x00010001,0

;-------------- Service installation
[SpbTestTool_Device.NT.Services]
AddService = SpbTestTool,%SPSVCINST_ASSOCSERVICE%, SpbTestTool_Service_Inst

; -------------- SpbTestTool driver install sections
[SpbTestTool_Service_Inst]
DisplayName    = %SpbTestTool.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\SpbTestTool.sys

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ProviderName           = "TODO-Set-Provider"
StdMfg                 = "(Standard system devices)"
DiskId1                = "SPB Test Tool Peripheral Installation Disk #1"
SpbTestTool.DeviceDesc = "SPB Test Tool Peripheral Driver"
SpbTestTool.SVCDESC    = "SPB Test Tool Peripheral Service"
ClassName              = "Samples"