;
; File Name: oraydpms.inf (x86)
;
[Version]
Signature="$WINDOWS NT$"
Class=Monitor
ClassGUID={4d36e96e-e325-11ce-bfc1-08002be10318}
Provider=%Provider%
DriverVer=01/11/2012,3.5.0.0
CatalogFile=oraydpms.cat
CatalogFile.NTAMD64=oraydpmsX64.cat

[SourceDisksNames]
1=%oraydpms_DeviceDesc%, oraydpms.sys

[SourceDisksFiles]
oraydpms.sys = 1

[DestinationDirs]
DefaultDestDir = 10
oraydpms_Files_Driver = 12

[Manufacturer]
%MfgName% = oraydpms_Mfg,NTamd64

[oraydpms_Mfg.NTamd64]
%oraydpms_DeviceDesc%=oraydpms_DDI, *PNP09FF

[oraydpms_DDI]
CopyFiles=oraydpms_Files_Driver
AddReg=oraydpms_9X_AddReg

[oraydpms_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,oraydpms.sys
HKR,,Description,,%oraydpms_DeviceDesc%

[oraydpms_DDI.NT]
CopyFiles=oraydpms_Files_Driver

[oraydpms_DDI.NT.Services]
Addservice = oraydpms, %FLG_ADDREG_NOCLOBBER%, oraydpms_Service

[oraydpms_Service]
DisplayName    = %oraydpms_SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\oraydpms.sys
LoadOrderGroup = Extended Base

[oraydpms_Files_Driver]
oraydpms.sys,,,2

[Strings]
Provider = "Oray"
MfgName = "Shanghai Best Oray"
oraydpms_SvcDesc = "Driver for oraydpms Device"

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

SERVICE_KERNEL_DRIVER       = 0x00000001
SERVICE_FILE_SYSTEM_DRIVER  = 0x00000002
SERVICE_ADAPTER             = 0x00000004
SERVICE_RECOGNIZER_DRIVER   = 0x00000008

SERVICE_BOOT_START          = 0x0
SERVICE_SYSTEM_START        = 0x1
SERVICE_AUTO_START          = 0x2
SERVICE_DEMAND_START        = 0x3
SERVICE_DISABLED            = 0x4

SERVICE_ERROR_IGNORE        = 0x00000000
SERVICE_ERROR_NORMAL        = 0x00000001
SERVICE_ERROR_SEVERE        = 0x00000002
SERVICE_ERROR_CRITICAL      = 0x00000003

FLG_ADDREG_NOCLOBBER        = 0x00000002
FLG_ADDREG_DELVAL           = 0x00000004
FLG_ADDREG_APPEND           = 0x00000008
FLG_ADDREG_KEYONLY          = 0x00000010
FLG_ADDREG_OVERWRITEONLY    = 0x00000020
FLG_ADDREG_64BITKEY         = 0x00001000
FLG_ADDREG_KEYONLY_COMMON   = 0x00002000
FLG_ADDREG_32BITKEY         = 0x00004000

oraydpms_DeviceDesc="Generic Monitor (OrayDPMS)"
