;*************************************************************************************************************
; This INF file supports to install the Toshiba PANGU effect driver (pgeffect.sys).
; Copyright (c) 2008, Toshiba Corporation
;*************************************************************************************************************

[Version]
signature = "$Chicago$"
Class=Image
ClassGuid={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%TOSHIBA%
DriverVer=01/13/2011,1.0.17.64
CatalogFile=pgFilter.cat

[SourceDisksNames]
1 = %Pangu.MediaDesc%

[SourceDisksFiles]
pgeffect.sys = 1

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%TOSHIBA%=PanGu,NTx86,NTamd64,NTia64

[PanGu.NTia64]
%Pangu.Desc% = PGEffect,*

[PanGu.NTamd64]
%Pangu.Desc% = PGEffect,*

[PanGu.NTx86]
%Pangu.Desc% = PGEffect,*

[DefaultInstall]
CopyFiles = @pgeffect.sys
AddReg = PGEffect.AddReg

[PGEffect.AddReg]
HKLM, System\CurrentControlSet\Control\Class\{6bdd1fc6-810f-11d0-bec7-08002be2092f}, UpperFilters, 0x00010008, PGEffect

[DefaultInstall.Services]
AddService = PGEffect, , PGEffect.Service.Inst

[PGEffect.Service.Inst]
DisplayName    = %Pangu.SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\pgeffect.sys
LoadOrderGroup = PNP Filter

[PGEffect.NT]
CopyFiles = @pgeffect.sys
AddReg = PGEffect.AddReg

[PGEffect.NT.Services]
AddService = PGEffect, , PGEffect.Service.Inst

[PGEffect.EventLog.Inst]
AddReg = PGEffect.EventLog.AddReg

[PGEffect.EventLog.AddReg]
;HKR,,EventMessageFile, %REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\pgeffect.sys"
;HKR,,TypesSupported, %REG_DWORD%, 7

[Uninstall]
DelReg = PG_DelReg
DelFiles = upperfilter_copyfiles,filterSDK_copyfiles

[Uninstall.Services]
DelService = PGEffect,,

[PG_DelReg]
HKLM, SYSTEM\CurrentControlSet\Control\Class\{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}, UpperFilters, 0x00018002, PGEffect


[Strings]
Pangu.SvcDesc	= "Pangu effect driver"
Pangu.MediaDesc 	= "pgeffect"
TOSHIBA			= "Toshiba"
Pangu.Desc   = "PanGu"

SERVICE_KERNEL_DRIVER = 1
SERVICE_DEMAND_START  = 3
SERVICE_ERROR_NORMAL  = 1
REG_EXPAND_SZ         = 0x00020000
REG_DWORD             = 0x00010001
