Skip to content

Commit cfde0fe

Browse files
committed
Add back inx file
With new .gitattributes Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 4c131fd commit cfde0fe

File tree

2 files changed

+169
-0
lines changed

2 files changed

+169
-0
lines changed
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
/*++
2+
;
3+
;Copyright (c) Microsoft Corporation. All rights reserved.
4+
;
5+
;Module Name:
6+
; SensorsComboDriver.INF
7+
;
8+
;Abstract:
9+
; INF file for installing the Sensors Combo Driver
10+
;
11+
;Installation Notes:
12+
; Using Devcon: Type "devcon install SensorsComboDriver.inf umdf2\SensorsComboDriver" to install
13+
;
14+
;--*/
15+
[Version]
16+
Signature = "$WINDOWS NT$"
17+
Class = Sensor
18+
ClassGuid = {5175D334-C371-4806-B3BA-71FD53C9258D}
19+
Provider = %PROVIDER%
20+
CatalogFile = SensorsComboDriver.cat
21+
DriverVer = 8/29/2014,2.00.00.03
22+
PnpLockdown = 1
23+
24+
[SourceDisksNames]
25+
1 = %MediaDescription%,,,""
26+
27+
[SourceDisksFiles]
28+
SensorsComboDriver.dll = 1,,
29+
30+
[Manufacturer]
31+
%PROVIDER% = SensorsComboDriver_Device, NT$ARCH$.10.0...22000
32+
33+
;*******************************
34+
; Combo Driver Install Section
35+
;*******************************
36+
37+
[SensorsComboDriver_Device.NT$ARCH$.10.0...22000]
38+
; DisplayName Section DeviceId
39+
; ----------- ------- --------
40+
%SensorsComboDriver_DevDesc% = SensorsComboDriver_Inst, umdf2\SensorsComboDriver
41+
42+
[SensorsComboDriver_Inst.NT]
43+
Include=WUDFRD.inf
44+
Needs=WUDFRD.NT
45+
CopyFiles = SensorsComboDriverCopy
46+
47+
[SensorsComboDriverCopy]
48+
SensorsComboDriver.dll
49+
50+
[SensorsComboDriver_Inst.NT.HW]
51+
Include=WUDFRD.inf
52+
Needs=WUDFRD.NT.HW
53+
54+
[DestinationDirs]
55+
;12 == Windows\System32\Drivers\UMDF
56+
DefaultDestDir = 12,UMDF
57+
58+
;-------------- Service installation
59+
[SensorsComboDriver_Inst.NT.Services]
60+
Include=WUDFRD.inf
61+
Needs=WUDFRD.NT.Services
62+
63+
;-------------- WDF specific section
64+
65+
[SensorsComboDriver_Inst.NT.Wdf]
66+
UmdfService = SensorsComboDriver, SensorsComboDriver_Install
67+
UmdfServiceOrder = SensorsComboDriver
68+
UmdfDirectHardwareAccess = AllowDirectHardwareAccess
69+
UmdfFileObjectPolicy = AllowNullAndUnknownFileObjects
70+
UmdfFsContextUsePolicy = CannotUseFsContexts
71+
72+
[SensorsComboDriver_Install]
73+
UmdfLibraryVersion = $UMDFVERSION$
74+
ServiceBinary = %12%\UMDF\SensorsComboDriver.dll
75+
UmdfExtensions = SensorsCx0102
76+
77+
[Strings]
78+
;Localizable Strings
79+
MediaDescription = "Windows Sensors Combo Driver"
80+
PROVIDER = "Manufacturer Name"
81+
SensorsComboDriver_DevDesc = "Sensors Combo Driver - Ambient Light, Barometer, Gyroscope, Magnetometer, Proximity, and Relative Fusion, and more."
82+
83+
;Non-Localizable Strings
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
/*++
2+
;
3+
;Copyright (c) Microsoft Corporation. All rights reserved.
4+
;
5+
;Module Name:
6+
; SimpleDeviceOrientationSensor.INF
7+
;
8+
;Abstract:
9+
; INF file for installing the Sensors 2.0 Simple Device Orientation Sensor Driver
10+
;
11+
;Installation Notes:
12+
; Using Devcon: Type "devcon install SimpleDeviceOrientationSensor.inf umdf2\SDOSampleSensor" to install
13+
;
14+
;--*/
15+
16+
[Version]
17+
Signature = "$WINDOWS NT$"
18+
Class = Sensor
19+
ClassGuid = {5175D334-C371-4806-B3BA-71FD53C9258D}
20+
Provider = %ProviderName%
21+
CatalogFile = SimpleDeviceOrientationSensor.cat
22+
DriverVer = 08/14/2014,2.0.0.1
23+
PnpLockdown = 1
24+
25+
[DestinationDirs]
26+
;12 == Windows\System32\Drivers\UMDF
27+
DefaultDestDir = 12,UMDF
28+
29+
[SourceDisksNames]
30+
1 = %MediaDescription%,,,""
31+
32+
[SourceDisksFiles]
33+
SimpleDeviceOrientationSensor.dll = 1,,
34+
35+
[Manufacturer]
36+
%ManufacturerName% = SimpleDeviceOrientationSensor_Device, NT$ARCH$.10.0...22000
37+
38+
;*******************************
39+
; Simple Device Orientation Sensor Install Section
40+
;*******************************
41+
42+
[SimpleDeviceOrientationSensor_Device.NT$ARCH$.10.0...22000]
43+
; DisplayName Section DeviceId
44+
; ----------- ------- --------
45+
%SimpleDeviceOrientationSensor_DevDesc% = SimpleDeviceOrientationSensor_Inst, umdf2\SDOSampleSensor
46+
47+
[SimpleDeviceOrientationSensor_Inst.NT]
48+
Include=WUDFRD.inf
49+
Needs=WUDFRD.NT
50+
CopyFiles = SimpleDeviceOrientationSensorDriverCopy
51+
52+
[SimpleDeviceOrientationSensorDriverCopy]
53+
SimpleDeviceOrientationSensor.dll
54+
55+
[SimpleDeviceOrientationSensor_Inst.NT.HW]
56+
Include=WUDFRD.inf
57+
Needs=WUDFRD.NT.HW
58+
59+
;-------------- Service installation
60+
61+
[SimpleDeviceOrientationSensor_Inst.NT.Services]
62+
Include=WUDFRD.inf
63+
Needs=WUDFRD.NT.Services
64+
65+
;-------------- WDF specific section
66+
67+
[SimpleDeviceOrientationSensor_Inst.NT.Wdf]
68+
UmdfService = SimpleDeviceOrientationSensor, SimpleDeviceOrientationSensor_Install
69+
UmdfServiceOrder = SimpleDeviceOrientationSensor
70+
UmdfDirectHardwareAccess = AllowDirectHardwareAccess
71+
UmdfFileObjectPolicy = AllowNullAndUnknownFileObjects
72+
UmdfFsContextUsePolicy = CannotUseFsContexts
73+
74+
[SimpleDeviceOrientationSensor_Install]
75+
UmdfLibraryVersion = $UMDFVERSION$
76+
ServiceBinary = %12%\UMDF\SimpleDeviceOrientationSensor.dll
77+
UmdfExtensions = SensorsCx0102
78+
79+
[Strings]
80+
;Localizable Strings
81+
MediaDescription = "Windows Simple Device Orientation Sensor sample Driver"
82+
ProviderName = "TODO-Set-Provider"
83+
ManufacturerName = "TODO-Set-Manufacturer"
84+
SimpleDeviceOrientationSensor_DevDesc = "Simple Device Orientation Sensor sample"
85+
86+
;Non-Localizable Strings

0 commit comments

Comments
 (0)