;/*++
;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;Module Name:
;    SurfaceOobPairingOptInPackage.inx
;
;Abstract:
;    INF file for installing the SurfaceOobPairingOptInPackage
;
;--*/

[Version]
Signature="$Windows NT$"
Class = HIDClass
ClassGuid = {745A17A0-74D3-11D0-B6FE-00A0C90F57DA}
Provider=%ManufacturerName%
CatalogFile=SurfaceOobPairingOptInPackage.cat
DriverVer = 07/31/2024,0.3.2.0
PnpLockDown=1

[SourceDisksNames]
1 = %DiskName%

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

[Standard.NTamd64.10.0...19041]
%SurfaceOobPairingOptInPackage.DeviceDesc%=SurfaceOobPairingOptInPackage, HID\VID_045E&PID_0C8F&UP:FFF4_U:0001
%SurfaceOobPairingOptInPackage.DeviceDesc%=SurfaceOobPairingOptInPackage, HID\VID_04F3&UP:FFF4_U:0001

[SurfaceOobPairingOptInPackage.NT]

[SurfaceOobPairingOptInPackage.NT.HW]
AddReg = SurfaceOobPairingOptInPackage.AddReg

[SurfaceOobPairingOptInPackage.AddReg]
; Allow access to system, administrators group, user-mode drivers, and Bluetooth service (bthserv).
HKR, , Security, , "D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;UD)(A;;GA;;;S-1-5-80-2586557155-168560303-1373426920-983201488-1499765686)"

[SurfaceOobPairingOptInPackage.NT.Services]
AddService = , 2 ; NULL service.

[SurfaceOobPairingOptInPackage.NT.Interfaces]
AddInterface = {4D1E55B2-F16F-11CF-88CB-001111000030},,SurfaceOobPairingOptInPackage.AddInterface

[SurfaceOobPairingOptInPackage.AddInterface]
AddProperty = SurfaceOobPairingOptInPackage.AddProperty

[SurfaceOobPairingOptInPackage.AddProperty]
; DEVPKEY_BluetoothOobCouplingChannel_OptInForUse
{FE683ED0-DE80-4766-B422-4195993F4330}, 2, 0x11, , 1

;*****************************************
; Strings section
;*****************************************

[Strings]
ManufacturerName = "Surface"
DiskName = "Surface OOB Pairing Opt-In Package Installation Disk"
SurfaceOobPairingOptInPackage.DeviceDesc = "Surface OOB Pairing Opt-In"
SurfaceOobPairingOptInPackage.SVCDESC = "Surface OOB Pairing Opt-In"
SurfaceOobPairingOptInPackage.FriendlyName = "Surface OOB Pairing Opt-In"
