;=============================================================================
;
; Copyright (c) Intel Corporation (2017).
;
; INTEL MAKES NO WARRANTY OF ANY KIND REGARDING THE CODE.  THIS CODE IS
; LICENSED ON AN "AS IS" BASIS AND INTEL WILL NOT PROVIDE ANY SUPPORT,
; ASSISTANCE, INSTALLATION, TRAINING OR OTHER SERVICES.  INTEL DOES NOT
; PROVIDE ANY UPDATES, ENHANCEMENTS OR EXTENSIONS.  INTEL SPECIFICALLY
; DISCLAIMS ANY WARRANTY OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY
; PARTICULAR PURPOSE, OR ANY OTHER WARRANTY.  Intel disclaims all liability,
; including liability for infringement of any proprietary rights, relating to
; use of the code. No license, express or implied, by estoppel or otherwise,
; to any intellectual property rights is granted herein.
;
;=============================================================================

;======================================================================
; Intel(R) Wireless Manageability driver INF file
;
; Installed as a Software Component by reference in the WiManWifiExtension.INF,
; an extension INF for suitable WiFi NIcs.
;======================================================================

[Version]
Signature="$WINDOWS NT$"
Class=SoftwareComponent
ClassGuid={5c4c3332-344d-483c-8739-259e934c9cc8}
Provider=%ManufacturerName%
CatalogFile=WiMan.cat
DriverVer = 01/27/2020,2005.12.0.5812

[DestinationDirs]
DefaultDestDir = 13
Drivers_Dir_WiFi = 13, WiMan
Drivers_Dir_HECI = 13, WiManH
[SourceDisksNames]
1 = %DiskName%,,,""

[SourceDisksFiles]
WiMan.sys  = 1,WiMan
WiManH.sys  = 1,WiManH

;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%ManufacturerName%=Intel, NTamd64.10.0

[Intel.NTamd64.10.0]
%WiMan.DeviceDesc%=WiMan_WiFi_Device, SWC\842ADBFC-7499-407B-BD91-A52842585D0B  ; WiMan hw-id as WiFi extension
%WiMan.DeviceDesc%=WiMan_HECI_Device, SWC\B74B5286-A7A5-444D-973B-71A66AF711BE  ; WiMan hw-id as HECI extension

[WiMan_WiFi_Device.NT]
CopyFiles=Drivers_Dir_WiFi

[WiMan_HECI_Device.NT]
CopyFiles=Drivers_Dir_HECI

[Drivers_Dir_WiFi]
WiMan.sys

[Drivers_Dir_HECI]
WiManH.sys

;-------------- Service installation
[WiMan_WiFi_Device.NT.Services]
AddService = WiMan,%SPSVCINST_ASSOCSERVICE%, WiMan_WiFi_Service_Inst, WiMan.EventLogWiFi

[WiMan_HECI_Device.NT.Services]
AddService = WiManH,%SPSVCINST_ASSOCSERVICE%, WiMan_HECI_Service_Inst, WiManH.EventLogHECI

; -------------- WiMan driver install sections
[WiMan_WiFi_Service_Inst]
DisplayName    = %WiMan.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\WiMan\WiMan.sys

[WiMan_HECI_Service_Inst]
DisplayName    = %WiManH.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\WiManH\WiManH.sys

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Intel"
SPSVCSINST_STARTSERVICE= 0x00000800

DiskName = "WiMan Installation Disk"
WiMan.DeviceDesc = "Intel(R) Wireless Manageability"
WiMan.SVCDESC = "WiMan Service"
WiManH.DeviceDesc = "Intel(R) Wireless Manageability"
WiManH.SVCDESC = "WiMan Service"
EventLogMessageDllPath_WiMan_WiFi = "%SystemRoot%\System32\netevent.dll;%13%\WiMan\WiMan.sys
EventLogMessageDllPath_WiMan_HECI = "%SystemRoot%\System32\netevent.dll;%13%\WiManH\WiManH.sys

[WiMan.AddEventLogWiFi.reg]
HKR, , EventMessageFile, 0x00020000, %EventLogMessageDllPath_WiMan_WiFi%
HKR, , TypesSupported,   0x00010001, 7

[WiMan.EventLogWiFi]
AddReg = WiMan.AddEventLogWiFi.reg

[WiManH.AddEventLogHECI.reg]
HKR, , EventMessageFile, 0x00020000, %EventLogMessageDllPath_WiMan_HECI%
HKR, , TypesSupported,   0x00010001, 7

[WiManH.EventLogHECI]
AddReg = WiManH.AddEventLogHECI.reg
