;-------------------------------------------------------------------------------
; hideem.inf
;
; HID USB CDC EEM driver
; with NDIS driver as a device upper filter
; Copyright (c) HID Global.  All rights reserved.


[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %Provider%
DriverVer=02/20/2012,1.0.0.14
CatalogFile = hideemx86.cat

[SourceDisksNames]
1 = %DiskDescription%,,,""

[SourceDisksFiles]
heemusb.sys  = 1,,
heemndis.sys = 1,,
WdfCoInstaller01009.dll=1

[DestinationDirs]
EEMDRV.CopyFiles = 12
CoInstaller.CopyFiles = 11


[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%HID_Global%=HID_Global,NTx86

; ===================== PnP IDs ===========================
[HID_Global.NTx86]
; DisplayName       	Section           DeviceId
; -----------       	-------           --------
;vericlass
%EEMDRV.DeviceDesc%    	= EEMDRV.ndi, USB\VID_076B&PID_5400&MI_01
%EEMDRV.DeviceDesc%    	= EEMDRV.ndi, USB\VID_076B&PID_5401&MI_01
%EEMDRV.DeviceDesc%    	= EEMDRV.ndi, USB\VID_076B&PID_5402&MI_01
;native CCID
%EEMDRV.DeviceDesc%    	= EEMDRV.ndi, USB\VID_076B&PID_5127&MI_01
%EEMDRV.DeviceDesc%    	= EEMDRV.ndi, USB\VID_076B&PID_5128&MI_01
%EEMDRV.DeviceDesc%    	= EEMDRV.ndi, USB\VID_076B&PID_5427&MI_01
%EEMDRV.DeviceDesc%    	= EEMDRV.ndi, USB\VID_076B&PID_5428&MI_01
;printer
%EEMDRV.DeviceDesc% 	= EEMDRV.ndi, USB\VID_09B0&PID_2504&MI_01
%EEMDRV.DeviceDesc% 	= EEMDRV.ndi, USB\VID_09B0&PID_2505&MI_01
%EEMDRV.DeviceDesc% 	= EEMDRV.ndi, USB\VID_09B0&PID_2506&MI_01
%EEMDRV.DeviceDesc% 	= EEMDRV.ndi, USB\VID_076B&PID_BF07&MI_01


[EEMDRV.ndi.NT]
*IfType         = 6      ; IF_TYPE_ETHERNET_CSMACD -> ethernet like interface
*MediaType      = 0      ; NdisMedium802_3 -> Ethernet (802.3)
*PhysicalMediaType = 0   ; NdisPhysicalMediumUnspecified
Characteristics = 0x84   ; NCF_PHYSICAL|NCF_HAS_UI
BusType         = 15     ; if you specify NCF_PHYSICAL, you must specify bustype -> PNPBus
AddReg          = EEMDRV.Reg
CopyFiles       = EEMDRV.CopyFiles


[EEMDRV.ndi.NT.HW]
AddReg = EEMDRV_UpperFilter_Reg

[EEMDRV_UpperFilter_Reg]
HKR, , UpperFilters, 0x00010000, heemndis
HKR, , IsUpperEdgeNdis, 0x00010003, 1


[EEMDRV.ndi.NT.Services]
AddService      = heemndis, , heemndis.Service, EEMDRV.EventLog
AddService      = heemusb, 0x00000002, heemusb.Service


[EEMDRV.Reg]
HKR,    ,                         BusNumber,           0, "0"
HKR, Ndi,                         Service,             0, "heemusb"
HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"


;-----------------------------------------------------------------------------
; Driver and Service Section
;
[EEMDRV.CopyFiles]
heemusb.sys,,,2
heemndis.sys,,,2

[heemndis.Service]
DisplayName     = %heemndis.SvcDesc%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_DEMAND_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\heemndis.sys
LoadOrderGroup  = NDIS
AddReg          = TextModeFlags.Reg

[heemusb.Service]
DisplayName    = %heemusb.SvcDesc%
ServiceType    = 1 ;%SERVICE_KERNEL_DRIVER%
StartType      = 3 ;%SERVICE_DEMAND_START%
ErrorControl   = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\heemusb.sys
LoadOrderGroup = NDIS

[EEMDRV.EventLog]
AddReg = EEMDRV.AddEventLog.Reg

[EEMDRV.AddEventLog.Reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported,   0x00010001, 7

[TextModeFlags.Reg]
HKR, , TextModeFlags,    0x00010001, 0x0001


;-----------------------------------------------------------------------------
; Coinstaller installation
;
[EEMDRV.ndi.NT.CoInstallers]
AddReg=CoInstaller.AddReg
CopyFiles=CoInstaller.CopyFiles

[CoInstaller.CopyFiles]
WdfCoInstaller01009.dll  ;make sure the number matches with SourceDisksFiles

[CoInstaller.AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[EEMDRV.ndi.NT.Wdf]
KmdfService =  heemusb, heemusb_wdfsect

[heemusb_wdfsect]
KmdfLibraryVersion = 1.9

;-----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
Provider		= "HID Global"
HID_Global    	        = "HID Global"
EEMDRV.DeviceDesc       = "HID USB CDC EEM Ethernet Adapter"
heemusb.SvcDesc         = "HID USB Driver for EEM Device"
heemndis.SvcDesc        = "HID NDIS Driver Service for EEM device"
DiskDescription         = "HID USB CDC EEM Driver Installation Disk"

