;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; File:               SurfaceIntegrationServiceDriver.inf
;
; Description:        Installation file for the Surface Service.  This INX
;                     will install/update SurfaceService, and also install
;                     a NULL driver on the ACPI node.
;
; Copyright (C) Microsoft Corporation.  All Rights Reserved.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Version]
Signature="$Windows NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
CatalogFile=SurfaceIntegrationServiceDriver.cat
DriverVer = 04/22/2024,6.214.10.0
PnPLockDown=1

[SourceDisksNames]
1 = %DiskName%

[SourceDisksFiles]
SurfaceService.exe=1
SurfaceBtleLcPenTelemetry.dll=1
SurfaceServiceSensors.dll=1
SurfaceDriversTelemetryConsentSettings.dll=1

[Manufacturer]
%ManufacturerName%=Standard,NTamd64.10.0...19041

[Standard.NTamd64.10.0...19041]
%DeviceName%=SurfaceIntegrationServiceDriver, ACPI\MSHW0094
%DeviceName%=SurfaceIntegrationServiceDriver, {98DE32A9-5D44-419E-B67D-66072BCEF58B}\SISD_DEVICE

[SurfaceIntegrationServiceDriver.NT]
CopyFiles=ServiceCopy

[SurfaceIntegrationServiceDriver.NT.hw]

[SurfaceIntegrationServiceDriver.NT.Events]
AddEventProvider = {1E8D5623-6573-47F2-B69E-EEA8923CE036},EventProviderInstall

[SurfaceIntegrationServiceDriver.NT.Services]
AddService=SurfaceService,0x00000800,SurfaceServiceInstall  ; This installs SurfaceService (NT Service)
AddService=,%NULL_DRIVER%                                   ; NULL function driver


[SurfaceServiceInstall]
DisplayName   = %ServiceDisplayName%
Description   = %ServiceDescription%
ServiceType   = %SERVICE_WIN32_SHARE_PROCESS%
StartType     = %SERVICE_AUTO_START%
ErrorControl  = %SERVICE_ERROR_NORMAL%
ServiceBinary = %13%\SurfaceService.exe

[EventProviderInstall]
ProviderName=Microsoft-Surface-SurfaceService
ResourceFile=%13%\SurfaceService.exe
MessageFile=%13%\SurfaceService.exe
AddChannel=Microsoft-Surface-SurfaceService/Operational,0x2,Channel_Install

[Channel_Install]
Isolation = 1
Enabled   = 1

[DestinationDirs]
ServiceCopy=13

[ServiceCopy]
SurfaceService.exe
SurfaceBtleLcPenTelemetry.dll
SurfaceServiceSensors.dll
SurfaceDriversTelemetryConsentSettings.dll

[Strings]
ManufacturerName="Surface"
DiskName = "Surface Integration Service Driver Installation Disk"
DeviceName="Surface Integration Service"
ServiceDisplayName="Surface Integration Service"
ServiceDescription="Provides support specific for Surface Hardware"

;
; Non-localizable
;
NULL_DRIVER                 = 2
SPSVCINST_ASSOCSERVICE      = 0x00000002
SERVICE_KERNEL_DRIVER       = 1
SERVICE_BOOT_START          = 0
SERVICE_SYSTEM_START        = 1
SERVICE_AUTO_START          = 2
SERVICE_DEMAND_START        = 3
SERVICE_ERROR_NORMAL        = 1
SERVICE_ERROR_IGNORE        = 0
SERVICE_WIN32_SHARE_PROCESS = 0x00000020

;; eof: SurfaceIntegrationServiceDriver.inx
;;
