;*****************************************************************************
; INF for Razer's Audio Endpoint Project
; Copyright © 2016 Razer Inc.  All Rights Reserved.
;
;Module name:
;
;	rz0501audpt.inx
;
;Abstract:
;	Installation inf for Razer's Audio Endpoint Device Driver
;
;*****************************************************************************
[Version]
Signature="$WINDOWS NT$"
Class=HIDClass
ClassGUID={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%RAZER%
;DriverPackageDisplayName="Razer Audio Endpoint Device"
;DriverPackageType=PlugAndPlay
DriverVer=08/25/2016,6.2.9200.16385

;*****************************************
; Catalog files need to be unique names
;*****************************************
;CatalogFile=rz0501audpt.cat
CatalogFile.NTx86 = rz0501audpt.cat
CatalogFile.NTAMD64 = rz0501audpt_64.cat

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%MfgName%=Razer,NTAMD64

[Razer.NTAMD64]
%Razer0501.DeviceDesc%=RAZERHID, HID\Vid_1532&Pid_0501&MI_03&Col01

;*****************************************************************************
; RAZERHID Filter Section
;*****************************************************************************
[RAZERHID.NTAMD64]  
Include = hidserv.inf
Needs = HIDSystemConsumerDevice
CopyFiles=RAZERHID.NT.Copy
AddReg=RAZERHID.NT.AddReg

[RAZERHID.NT.Copy]

[RAZERHID.NT.AddReg]

[RAZERHID.NTAMD64.HW]
AddReg = RAZERHID.NT.HW.AddReg

[RAZERHID.NT.HW.AddReg]  
;; 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)"

[RAZERHID.NTAMD64.Services]
Include		= hidserv.inf
Needs		= HIDSystemConsumerDevice.Services

;*****************************************************************************
; Source file information
;*****************************************************************************

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

[SourceDisksFiles]

;*****************************************************************************
; String Secion
;*****************************************************************************
;
; Strings or constants that can be localized
;
[Strings]
MfgName                 = "Razer Inc"
Razer                   = "Razer Inc"
DiskId1                 = "Razer Installer"

Razer0501.DeviceDesc    = "HID-compliant consumer control device"

;
; Strings or constants that can NOT be localized
;
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_BOOT_START     = 0x0 
SERVICE_SYSTEM_START   = 0x1 
SERVICE_AUTO_START     = 0x2 
SERVICE_DEMAND_START   = 0x3 
SERVICE_DISABLED       = 0x4 

SERVICE_KERNEL_DRIVER  = 0x1 
SERVICE_ERROR_IGNORE   = 0x0 
SERVICE_ERROR_NORMAL   = 0x1 
SERVICE_ERROR_SEVERE   = 0x2 
SERVICE_ERROR_CRITICAL = 0x3 

REG_EXPAND_SZ          = 0x00020000 
REG_DWORD              = 0x00010001 
REG_MULTI_SZ           = 0x00010000
REG_BINARY             = 0x00000001
REG_SZ                 = 0x00000000
