; Copyright: (c) 2013 Razer Inc. All rights reserved

[Version]
Signature   = "$WINDOWS NT$"
Class       = Mouse
ClassGuid   = {4D36E96F-E325-11CE-BFC1-08002BE10318}
Provider    = %Razer%
DriverVer=08/12/2015,6.2.9200.16384
;CatalogFile = rz0204mou.cat
CatalogFile.NTx86 = rz0204mou.cat
CatalogFile.NTAMD64 = rz0204mou_64.cat

[DestinationDirs]
DefaultDestDir = 12
Razer_CoInstaller_CopyFiles = 11

[Manufacturer]
%Razer%=Standard,NTx86

[Standard]
%Razer0204.DeviceDesc%=Razer, HID\Vid_1532&Pid_0204&MI_02

[Standard.NTx86]
%Razer0204.DeviceDesc%=Razer, HID\Vid_1532&Pid_0204&MI_02

[Razer.NT]  
Include = MSMOUSE.INF
Needs = HID_Mouse_Inst.NT
CopyFiles = Razer.NT.Copy

[Razer.NT.Copy]
rzudd.sys

[Razer.NT.HW]
Include=msmouse.inf
Needs=HID_Mouse_Inst.NT.HW
AddReg = Razer.NT.HW.AddReg

[Razer.NT.HW.AddReg]  
HKR,,"UpperFilters",0x00010000,"rzudd"
;; FILE_DEVICE_SECURE                         
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
; SDDL_DEVOBJ_SYS_ALL_ADM_RWX_WORLD_RWX_RES_RWX
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GRGWGX;;;WD)(A;;GRGWGX;;;RC)"

[Razer.NT.Services]
AddService      = rzudd,, Razer_Service_Inst 
Include=msmouse.inf
Needs=HID_Mouse_Inst.NT.Services

[Razer_Service_Inst]
DisplayName     = %Razer.SvcDesc%                            
ServiceType     = 1                  ; SERVICE_KERNEL_DRIVER
StartType       = 3                  ; SERVICE_DEMAND_START
ErrorControl    = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\rzudd.sys                            

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

[SourceDisksFiles]
rzudd.sys    = 1,,
WdfCoInstaller01009.dll=1

[Razer.NT.CoInstallers]
AddReg          = Razer_CoInstaller_AddReg
CopyFiles       = Razer_CoInstaller_CopyFiles

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

[Razer_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[Razer.NT.Wdf]
KmdfService              = rzudd,  rzudd_wdfsect

[rzudd_wdfsect]
KmdfLibraryVersion       = 1.9

[Strings]
Razer                    = "Razer Inc"
DiskId1                  = "Razer Installer"
Razer.SvcDesc            = "Razer Mouse Driver"

Razer0204.DeviceDesc     = "Razer DeathStalker Chroma"
