|
| 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