;Copyright (c) Huawei Corporation.  All rights reserved.

[Version]
Signature="$CHICAGO$"
Class = SoftwareDevice
ClassGuid = {62f9c741-b25a-46ce-b54c-9bccce08b6f2}
Provider = Huawei
DriverVer = 05/15/2019,9.0.15.0
CatalogFile = osd_driver.cat

[Manufacturer]
Huawei = Huawei, NTamd64

[Huawei.NTamd64]
"Huawei OSD Driver" = Huawei_Device, HUAWEI\OSD_DRIVER

[Huawei_Device.NT]
CopyFiles = Huawei_Device.NT.Copy        ; Copy driver files
CopyFiles = Huawei_Device.NT.CopyServer  ; Copy Service files

[Huawei_Device.NT.Copy]
osd_driver.sys

[Huawei_Device.NT.CopyServer]
osdservice.exe
libcrypto-1_1-x64.dll
libssl-1_1-x64.dll
log4cxx.dll
libcurl.dll
zlib1.dll
cacert.pem
logging.cfg
HardwareHal.dll
hwpcsdk.dll

[SourceDisksNames]
1 = "Huawei Device Installation Disk #1",,,""
2 = "Huawei Service Installation Disk #1",,,"\RPC"

[SourceDisksFiles]
osd_driver.sys = 1
osdservice.exe = 2
libcrypto-1_1-x64.dll = 2
libssl-1_1-x64.dll = 2
log4cxx.dll = 2
libcurl.dll = 2
zlib1.dll = 2
cacert.pem = 2
logging.cfg = 2
HardwareHal.dll = 2
hwpcsdk.dll = 2

[DestinationDirs]
DefaultDestDir = 12							; Driver files copy to %SystemRoot%\\system32\\drivers
Huawei_Device.NT.CopyServer = 11,"\RPC\OSD"    ; Service files copy to %SystemRoot%\\system32\\RPC

;bind service
[Huawei_Device.NT.Services]
AddService = Huawei, 0x00000002, Huawei_Service_Inst
AddService = Huawei_OSDServer, 0x00000800, Huawei_OSDServer_ServiceInstall

[Huawei_Service_Inst]
DisplayName    = "Huawei OSD Driver"
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\osd_driver.sys 

[Huawei_OSDServer_ServiceInstall]
DisplayName    = "Huawei OSD Service"
ServiceType    = 0x00000010      ; SERVICE_WIN32_SHARE_PROCESS
StartType      = 2               ; SERVICE_AUTO_START    ;SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %11%\RPC\OSD\osdservice.exe

;bind regedit 
;[Huawei_Device.NT.HW]
;AddReg = Huawei_AddReg

;[Huawei_AddReg]
;HKR, Heat, Minimum, 0x10001, 0 ; FLG_ADDREG_TYPE_DWORD
;HKR, Heat, Maximum, 0x10001, 10 ; FLG_ADDREG_TYPE_DWORD 

;bind with uwp
;[Huawei_Device.NT.Software]
;AddSoftware=HuaweiKeyboardHotkeys,,Huawei-Install-Section

;[Huawei-Install-Section]
;SoftwareType=2
;SoftwareID=pfn://HuaweiPC.HuaweiKeyboardHotkeys_amfdc1pkdnmaa
;SoftwareVersion=9.0.1.1


