;/*++
;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;   THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
;   KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
;   IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
;   PURPOSE.
;
;Module Name:
;
;    HingeAngleService.INF
;
;Abstract:
;
;    Installs a Win32 Service to calculate hinge angle and change windows operation accordingly.
;
;--*/

[Version]
Signature = "$Windows NT$"
Class = SoftwareComponent
ClassGuid = {5c4c3332-344d-483c-8739-259e934c9cc8}
Provider = %ManufacturerName%
CatalogFile = HingeAngleService.cat
DriverVer = 10/12/2018,1.1.1.5

[Manufacturer]
%ManufacturerName% = HingeAngleService,NTamd64

[HingeAngleService.NTamd64]
%DeviceName% = HingeAngleService_Install, SWC\VID_ROHM&PID_1010

[SourceDisksFiles]
HingeAngleService.exe = 1

[SourceDisksNames]
1 = %DiskName%

[DestinationDirs]
DefaultDestDir = 13  ; copy to driverstore

[HingeAngleService_Install.NT]
CopyFiles = HingeAngleService_CopyFiles

[HingeAngleService_Install.NT.Services]
AddService = , 0x00000002
AddService = HingeAngleService, 0x00000800, HingeAngleService_ServiceInstall

[HingeAngleService_ServiceInstall]
DisplayName = %HingeAngleServiceDisplayName%
ServiceType = 0x00000010
StartType = 2							;0x2 (SERVICE_AUTO_START), 0x3 (SERVICE_DEMAND_START)
ErrorControl = 1
ServiceBinary = %13%\HingeAngleService.exe
Dependencies = "WUDFRd"

[HingeAngleService_CopyFiles]
HingeAngleService.exe

[Strings]
ManufacturerName = "Rohm"
DiskName = "HingeAngleService Installation Disk"
DeviceName = "HingeAngle Device"
HingeAngleServiceDisplayName = "Hinge Angle Service"
