; EvMngr.inf
; 
; Compal Common Driver
; install information file.
;
; (C) Copyright 2009 Compal Electronics, INC.
;

[Version]
Signature="$CHICAGO$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%CPL%
CatalogFile=EvMngr.cat
DriverVer=06/22/2009, 1.0.0.1

[DestinationDirs]
EMSC.CopyFiles = 10,system32\drivers
EMSCNT.CopyFiles = 12

[Manufacturer]
%CPL%=NOKIA, NTamd64

[ControlFlags]
ExcludeFromSelect = *HAPS77A

[NOKIA]
%*HAPS77A.DeviceDesc%=EMSC,*HAPS77A

[NOKIA.NTamd64]
%*HAPS77A.DeviceDesc%=EMSC,*HAPS77A

[SourceDisksNames]
1=%INST_DISK_NAME%

[SourceDisksFiles]
EvMngr.SYS = 1

[EMSC]
AddReg=EMSC.AddReg
CopyFiles=EMSC.CopyFiles

[EMSC.ntx86]
CopyFiles=EMSC.CopyFiles


[EMSC.HW]
Addreg=EMSCHW.AddReg

[EMSCHW.AddReg]
HKR,,ConfigFlags,1,00,00,00,00

[EMSC.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,EvMngr.SYS
HKR,,EnumPropPages,,"sysclass.dll,EnumPropPages"
HKR,,EnumPropPages32,,"HDPPropPage.dll,HDPPropPageProvider"


[EMSC.NT]
AddReg=EMSC.AddReg
CopyFiles=EMSCNT.CopyFiles

[EMSC.NT.HW]
AddReg=EMSC.NT.AddReg


[EMSC.ntx86]
AddReg=EMSC.AddReg
CopyFiles=EMSCNT.CopyFiles

[EMSC.ntx86.HW]
AddReg=EMSC.NT.AddReg

[EMSC.NT.AddReg] 
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;WD)(A;;GA;;;RC)"      ; Allow generic-all access to Built-in administrators and Local system 

[EMSC.NT.Services]
AddService=EMSC,2,EMSC_Service_Inst

[EMSC.ntx86.Services]
AddService=EMSC,2,EMSC_Service_Inst


[EMSC_Service_Inst]
DisplayName    = %EvMngr.SvcDesc%
ServiceType    = 1
StartType      = 0
ErrorControl   = 1
ServiceBinary  = %12%\EvMngr.SYS

[EMSC.CopyFiles]
EvMngr.sys

[EMSCNT.CopyFiles]
EvMngr.sys


[strings]
CPL                  = "NOKIA"
*HAPS77A.DeviceDesc  = "HDD Protection - Shock Event Driver"
EvMngr.SvcDesc         = "HDD Protection - Shock Event Driver"
INST_DISK_NAME="HDD Protection - Shock Event Driver"