;/*++
;
;Copyright (c) 2001 Daheng-image Ltd, All Rights Reserved
;
;Module Name:
;
;    Kutils.INF
;
;Abstract:
;    INF file for installing kernel utility driver
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=Unknown
Provider=%MSFT%
DriverVer=09/13/2001,5.00.2072

[DestinationDirs]
DefaultDestDir = 12

; ================= Device Install section =====================

[Manufacturer]
%MSFT%=MSFT

[SourceDisksFiles]
kutils.sys=1

[SourceDisksNames]
1=%DISK_NAME%,

[MSFT]
; DisplayName            Section           DeviceId
; -----------       	 -------           --------
%DHMem.DRVDESC%=DHMem_Inst,root\DHMem

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;win98
;;[DHMem_Inst]
;;CopyFiles=DHMem.Files.Drivers
;;AddReg=DHMem98.AddReg,DHMemParam

;;[DHMem98.AddReg]
;;HKR,,DevLoader,,*ntkern
;;HKR,,NTMPDriver,,kutils.sys

;;[DHMemParam]
;;HKLM,%PARAMETER%,PhysicalMemorySize,%REG_DWORD%,0x80
;;HKLM,%PARAMETER%,RequiredMemorySize,%REG_DWORD%,0x500

;;[DHMem.Files.Drivers]
;;kutils.sys

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;win2000

[DHMem_Inst.NT]
CopyFiles=DHMem.Files.NT.Drivers
AddReg=DHMemParam.NT

[DHMem_Inst.NT.Services]
AddService=DHMem,0x00000002,DHMem_Service 

[DHMem.Files.NT.Drivers]
kutils.sys

[DHMem_Service]
DisplayName    = %DHMem.SVCDESC%                            
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 1                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\kutils.sys                            

[DHMemParam.NT]
HKLM,%PARAMETER%,PhysicalMemorySize,%REG_DWORD%,0x80
HKLM,%PARAMETER%,RequiredMemorySize,%REG_DWORD%,0x800

[Strings]
MSFT = "DaHeng Imavision"
DHMem.SVCDESC = "DHMem Service"
DHMem.DRVDESC = "DHMem"
DISK_NAME = "CG300 Install Disk"
PARAMETER = "SYSTEM\CurrentControlSet\Services\DHMem\Parameters"
REG_DWORD=0x00010001