; X10hid.inf

[Version]
Signature="$CHICAGO$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%MFGNAME%
CatalogFile=x10hid64.cat
DriverVer=11/10/2006,6.0.0.209

[Manufacturer]
%MFGNAME%=X10,NTamd64

[DestinationDirs]
DefaultDestDir=10,System32\Drivers

[SourceDisksNames]
1=%INSTDISK%,,,

[SourceDisksFiles]
X10Hid.sys = 1

[X10.NTamd64]
%X10Hid% = X10Hid.Inst, {001000AF-3DEF-CC01-10B6-DC5BA692C858}\HID_DEVICE
%X10HidDevice% = X10HidDevice.Inst, HID\Vid_0bc7&Pid_00f0

[ControlFlags]
ExcludeFromSelect  = HID\Vid_0bc7&Pid_00f0

;===============================================================
;   X10Hid (Root Enumerated Hid Device) install section
;===============================================================
[X10Hid.Inst]
CopyFiles = CopyFilesSYS_98
AddReg    = X10Hid_98me.AddReg

[X10Hid.Inst.NT]
CopyFiles = CopyFilesSYS

[X10Hid.Inst.NT.HW]
AddReg = X10Hid_Parameters.AddReg 

[X10Hid.Inst.NT.Services]
AddService = X10Hid,0x00000002,X10Hid_Service_Inst,

[CopyFilesSYS]
x10hid.sys

[CopyFilesSYS_98]
x10hid.sys

[X10Hid_Parameters.AddReg]
HKR,,"ReadFromRegistry",%REG_DWORD%, 0x00000000
HKR,,"MyReportDescriptor",%REG_BINARY%, 01, 02, 03, 04, 05

[X10Hid_98me.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,"x10hid.sys"

[X10Hid_Service_Inst]
DisplayName    = %X10Hid%
ServiceType    = %SERVICE_KERNEL_DRIVER% 
StartType      = %SERVICE_DEMAND_START% 
ErrorControl   = %SERVICE_ERROR_IGNORE% 
ServiceBinary  = %10%\System32\Drivers\x10hid.sys 

;===============================================================
;   X10HidDevice (Virtual Hid Device) install section
; - Only a Null service is installed.
;===============================================================
[X10HidDevice.Inst]

[X10HidDevice.Inst.NT]

[X10HidDevice.Inst.NT.Services]
AddService = ,0x00000002,   ; NULL Service


;================================================================
[Strings] 
;  *******Localizable Strings******* 
X10Hid = "X10 Hid Device" 
X10HidDevice = "X10HidDevice" 
MFGNAME="X10 Wireless Technology, Inc."
INSTDISK="X10 Hid Device Installation Disc"

;  *******Non Localizable Strings******* 

SERVICE_BOOT_START     = 0x0 
SERVICE_SYSTEM_START   = 0x1 
SERVICE_AUTO_START     = 0x2 
SERVICE_DEMAND_START   = 0x3 
SERVICE_DISABLED       = 0x4 

SERVICE_KERNEL_DRIVER  = 0x1 
SERVICE_ERROR_IGNORE   = 0x0 
SERVICE_ERROR_NORMAL   = 0x1 
SERVICE_ERROR_SEVERE   = 0x2 
SERVICE_ERROR_CRITICAL = 0x3 

REG_EXPAND_SZ          = 0x00020000 
REG_DWORD              = 0x00010001 
REG_MULTI_SZ           = 0x00010000
REG_BINARY             = 0x00000001
REG_SZ                 = 0x00000000
