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

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

[DestinationDirs]
DefaultDestDir = 12
Razer_CoInstaller_CopyFiles = 11

[Manufacturer]
%Razer%=Standard,NTAMD64

[Standard]
%Razer0007.DeviceDesc%=Razer, HID\Vid_1532&Pid_0007&REV_0100
%Razer0013.DeviceDesc%=Razer, HID\Vid_1532&Pid_0013&MI_00
%Razer0014.DeviceDesc%=Razer, HID\Vid_1532&Pid_0014&MI_00
%Razer0014Bluetooth.DeviceDesc%=Razer, HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&00021532_PID&0014&Col01
%Razer0015.DeviceDesc%=Razer, HID\Vid_1532&Pid_0015&MI_00
%Razer0016.DeviceDesc%=Razer, HID\Vid_1532&Pid_0016&REV_0100
%Razer001F.DeviceDesc%=Razer, HID\Vid_1532&Pid_001F&MI_00
%Razer0020.DeviceDesc%=Razer, HID\Vid_1532&Pid_0020&MI_00
%Razer0021.DeviceDesc%=Razer, HID\Vid_1532&Pid_0021&MI_00
%Razer0024.DeviceDesc%=Razer, HID\Vid_1532&Pid_0024&MI_00
%Razer0025.DeviceDesc%=Razer, HID\Vid_1532&Pid_0025&MI_00
%Razer0029.DeviceDesc%=Razer, HID\Vid_1532&Pid_0029&REV_0100
%Razer002A.DeviceDesc%=Razer, HID\Vid_1532&Pid_002A&MI_00
%Razer002E.DeviceDesc%=Razer, HID\Vid_1532&Pid_002E&MI_00
%Razer002F.DeviceDesc%=Razer, HID\Vid_1532&Pid_002F&MI_00
%Razer0031.DeviceDesc%=Razer, HID\Vid_1532&Pid_0031&MI_00
%Razer0032.DeviceDesc%=Razer, HID\Vid_1532&Pid_0032&MI_00
%Razer0033.DeviceDesc%=Razer, HID\Vid_1532&Pid_0033&MI_00
%Razer0034.DeviceDesc%=Razer, HID\Vid_1532&Pid_0034&MI_00
%Razer0035.DeviceDesc%=Razer, HID\Vid_1532&Pid_0035&MI_00
%Razer0036.DeviceDesc%=Razer, HID\Vid_1532&Pid_0036&MI_00
%Razer0037.DeviceDesc%=Razer, HID\Vid_1532&Pid_0037&MI_00
%Razer0038.DeviceDesc%=Razer, HID\Vid_1532&Pid_0038&MI_00
%Razer0039.DeviceDesc%=Razer, HID\Vid_1532&Pid_0039&MI_00
%Razer0039Bluetooth.DeviceDesc%=Razer, HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&00021532_PID&0039
%Razer003C.DeviceDesc%=Razer, HID\Vid_1532&Pid_003C&MI_00
%Razer0040.DeviceDesc%=Razer, HID\Vid_1532&Pid_0040&MI_00
%Razer0041.DeviceDesc%=Razer, HID\Vid_1532&Pid_0041&MI_00
%Razer0042.DeviceDesc%=Razer, HID\Vid_1532&Pid_0042
%Razer0109.DeviceDesc%=Razer, HID\Vid_1532&Pid_0109&MI_01
%Razer010B.DeviceDesc%=Razer, HID\Vid_1532&Pid_010B&MI_01
%Razer010D.DeviceDesc%=Razer, HID\Vid_1532&Pid_010D&MI_02
%Razer010E.DeviceDesc%=Razer, HID\Vid_1532&Pid_010E&MI_02
%Razer010F.DeviceDesc%=Razer, HID\Vid_1532&Pid_010F&MI_02
%Razer0110.DeviceDesc%=Razer, HID\Vid_1532&Pid_0110&MI_02
%Razer0111.DeviceDesc%=Razer, HID\Vid_1532&Pid_0111&MI_01
%Razer0113.DeviceDesc%=Razer, HID\Vid_1532&Pid_0113&MI_02
%Razer0118.DeviceDesc%=Razer, HID\Vid_1532&Pid_0118&MI_02
%Razer0119.DeviceDesc%=Razer, HID\Vid_1532&Pid_0119&MI_02
%Razer011A.DeviceDesc%=Razer, HID\Vid_1532&Pid_011A&MI_02
%Razer011B.DeviceDesc%=Razer, HID\Vid_1532&Pid_011B&MI_02
%Razer011C.DeviceDesc%=Razer, HID\Vid_1532&Pid_011C&MI_02
%Razer011E.DeviceDesc%=Razer, HID\Vid_1532&Pid_011E&MI_02
%Razer011F.DeviceDesc%=Razer, HID\Vid_1532&Pid_011F&MI_02
%Razer0201.DeviceDesc%=Razer, HID\Vid_1532&Pid_0201&MI_02
%Razer0202.DeviceDesc%=Razer, HID\Vid_1532&Pid_0202&MI_02

[Standard.NTAMD64]
%Razer0007.DeviceDesc%=Razer, HID\Vid_1532&Pid_0007&REV_0100
%Razer0013.DeviceDesc%=Razer, HID\Vid_1532&Pid_0013&MI_00
%Razer0014.DeviceDesc%=Razer, HID\Vid_1532&Pid_0014&MI_00
%Razer0014Bluetooth.DeviceDesc%=Razer, HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&00021532_PID&0014&Col01
%Razer0015.DeviceDesc%=Razer, HID\Vid_1532&Pid_0015&MI_00
%Razer0016.DeviceDesc%=Razer, HID\Vid_1532&Pid_0016&REV_0100
%Razer001F.DeviceDesc%=Razer, HID\Vid_1532&Pid_001F&MI_00
%Razer0020.DeviceDesc%=Razer, HID\Vid_1532&Pid_0020&MI_00
%Razer0021.DeviceDesc%=Razer, HID\Vid_1532&Pid_0021&MI_00
%Razer0024.DeviceDesc%=Razer, HID\Vid_1532&Pid_0024&MI_00
%Razer0025.DeviceDesc%=Razer, HID\Vid_1532&Pid_0025&MI_00
%Razer0029.DeviceDesc%=Razer, HID\Vid_1532&Pid_0029&REV_0100
%Razer002A.DeviceDesc%=Razer, HID\Vid_1532&Pid_002A&MI_00
%Razer002E.DeviceDesc%=Razer, HID\Vid_1532&Pid_002E&MI_00
%Razer002F.DeviceDesc%=Razer, HID\Vid_1532&Pid_002F&MI_00
%Razer0031.DeviceDesc%=Razer, HID\Vid_1532&Pid_0031&MI_00
%Razer0032.DeviceDesc%=Razer, HID\Vid_1532&Pid_0032&MI_00
%Razer0033.DeviceDesc%=Razer, HID\Vid_1532&Pid_0033&MI_00
%Razer0034.DeviceDesc%=Razer, HID\Vid_1532&Pid_0034&MI_00
%Razer0035.DeviceDesc%=Razer, HID\Vid_1532&Pid_0035&MI_00
%Razer0036.DeviceDesc%=Razer, HID\Vid_1532&Pid_0036&MI_00
%Razer0037.DeviceDesc%=Razer, HID\Vid_1532&Pid_0037&MI_00
%Razer0038.DeviceDesc%=Razer, HID\Vid_1532&Pid_0038&MI_00
%Razer0039.DeviceDesc%=Razer, HID\Vid_1532&Pid_0039&MI_00
%Razer0039Bluetooth.DeviceDesc%=Razer, HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&00021532_PID&0039
%Razer003C.DeviceDesc%=Razer, HID\Vid_1532&Pid_003C&MI_00
%Razer0040.DeviceDesc%=Razer, HID\Vid_1532&Pid_0040&MI_00
%Razer0041.DeviceDesc%=Razer, HID\Vid_1532&Pid_0041&MI_00
%Razer0042.DeviceDesc%=Razer, HID\Vid_1532&Pid_0042
%Razer0109.DeviceDesc%=Razer, HID\Vid_1532&Pid_0109&MI_01
%Razer010B.DeviceDesc%=Razer, HID\Vid_1532&Pid_010B&MI_01
%Razer010D.DeviceDesc%=Razer, HID\Vid_1532&Pid_010D&MI_02
%Razer010E.DeviceDesc%=Razer, HID\Vid_1532&Pid_010E&MI_02
%Razer010F.DeviceDesc%=Razer, HID\Vid_1532&Pid_010F&MI_02
%Razer0110.DeviceDesc%=Razer, HID\Vid_1532&Pid_0110&MI_02
%Razer0111.DeviceDesc%=Razer, HID\Vid_1532&Pid_0111&MI_01
%Razer0113.DeviceDesc%=Razer, HID\Vid_1532&Pid_0113&MI_02
%Razer0118.DeviceDesc%=Razer, HID\Vid_1532&Pid_0118&MI_02
%Razer0119.DeviceDesc%=Razer, HID\Vid_1532&Pid_0119&MI_02
%Razer011A.DeviceDesc%=Razer, HID\Vid_1532&Pid_011A&MI_02
%Razer011B.DeviceDesc%=Razer, HID\Vid_1532&Pid_011B&MI_02
%Razer011C.DeviceDesc%=Razer, HID\Vid_1532&Pid_011C&MI_02
%Razer011E.DeviceDesc%=Razer, HID\Vid_1532&Pid_011E&MI_02
%Razer011F.DeviceDesc%=Razer, HID\Vid_1532&Pid_011F&MI_02
%Razer0201.DeviceDesc%=Razer, HID\Vid_1532&Pid_0201&MI_02
%Razer0202.DeviceDesc%=Razer, HID\Vid_1532&Pid_0202&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"

Razer0007.DeviceDesc     = "Razer DeathAdder"
Razer0013.DeviceDesc     = "Razer Orochi"
Razer0014.DeviceDesc     = "Razer Orochi"
Razer0014Bluetooth.DeviceDesc     = "Razer Orochi Bluetooth"
Razer0015.DeviceDesc     = "Razer Naga"
Razer0016.DeviceDesc     = "Razer DeathAdder 3.5G"
Razer001F.DeviceDesc     = "Razer Naga Epic"
Razer0020.DeviceDesc     = "Razer Abyssus 1800"
Razer0021.DeviceDesc     = "Razer Naga Epic Dock"
Razer0024.DeviceDesc     = "Razer Mamba"
Razer0025.DeviceDesc     = "Razer Mamba Dock"
Razer0029.DeviceDesc     = "Razer DeathAdder 3.5G Black"
Razer002A.DeviceDesc     = "SWTOR Gaming Mouse by Razer"
Razer002E.DeviceDesc     = "Razer Naga"
Razer002F.DeviceDesc     = "Razer Imperator"
Razer0031.DeviceDesc     = "SWTOR Gaming Mouse Dock by Razer"
Razer0032.DeviceDesc     = "Razer Ouroboros"
Razer0033.DeviceDesc     = "Razer Ouroboros Gaming Dock"
Razer0034.DeviceDesc     = "Razer Taipan"
Razer0035.DeviceDesc     = "Razer Krait"
Razer0036.DeviceDesc     = "Razer Naga Hex"
Razer0037.DeviceDesc     = "Razer DeathAdder"
Razer0038.DeviceDesc     = "Razer DeathAdder 1800"
Razer0039.DeviceDesc     = "Razer Orochi"
Razer0039Bluetooth.DeviceDesc     = "Razer Orochi Bluetooth"
Razer003C.DeviceDesc     = "Razer Abyssus 1800"
Razer0040.DeviceDesc     = "Razer Naga"
Razer0041.DeviceDesc     = "Razer Naga Hex"
Razer0042.DeviceDesc     = "Razer Abyssus"
Razer0109.DeviceDesc     = "Razer Lycosa"
Razer010B.DeviceDesc     = "Razer Arctosa"
Razer010D.DeviceDesc     = "Razer BlackWidow Ultimate"
Razer010E.DeviceDesc     = "Razer BlackWidow"
Razer010F.DeviceDesc     = "Razer Anansi"
Razer0110.DeviceDesc     = "Razer Cyclosa"
Razer0111.DeviceDesc     = "Razer Nostromo"
Razer0113.DeviceDesc     = "Razer Orbweaver"
Razer0118.DeviceDesc     = "Razer DeathStalker"
Razer0119.DeviceDesc     = "Razer DeathStalker"
Razer011A.DeviceDesc     = "Razer BlackWidow Ultimate"
Razer011B.DeviceDesc     = "Razer BlackWidow"
Razer011C.DeviceDesc     = "Razer BlackWidow"
Razer011E.DeviceDesc     = "Razer Edge Keyboard"
Razer011F.DeviceDesc     = "Razer DeathStalker"
Razer0201.DeviceDesc     = "Razer Tartarus"
Razer0202.DeviceDesc     = "Razer DeathStalker"
