; Copyright (C) 1995-2010 Matrox Graphics Inc.

[Version]
Signature = "$Windows NT$"
DriverVer=09/10/2013, 1.7.0.2
Class = System
ClassGuid = {4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider = %MxEF.InfCreatorName%
CatalogFile.ntx86 = MxEF.cat
CatalogFile.ntamd64 = MxEF64.cat

[SourceDisksNames]

[SourceDisksNames.x86]
1 = %MxEF.SourceDiskName%,MSerX.cab

[SourceDisksNames.amd64]
1 = %MxEF.SourceDiskName%,MSerX64.cab

[SourceDisksFiles.AMD64]
MxEF64.sys = 1

[SourceDisksFiles.X86]
MxEF32.sys = 1

[SourceDisksFiles]

[DestinationDirs]
DefaultDestDir                                      = 12            ; %SystemRoot%\system32\drivers
MxEF.InstallInfo.KernelDrivers.NTAMD64.CopyFiles    = 12            ; %SystemRoot%\system32\drivers
MxEF.InstallInfo.KernelDrivers.NTX86.CopyFiles      = 12            ; %SystemRoot%\system32\drivers
MxEF.InstallInfo.SystemDlls.NT.CopyFiles            = 11            ; %SystemRoot%\system32
MxEF.InstallInfo.CopyFiles                          = 11            ; %SystemRoot%\system32
MxEF.InstallInfo.SysWOW64.CopyFiles                 = 10, SysWOW64  ; %SystemRoot%\SysWOW64

[Manufacturer]
%MxEF.DeviceManufacturerName% = MxEF.DeviceModelsList, NT, NTAMD64, NTX86, NTAMD64.5.1, NTX86.5.1

[MxEF.DeviceModelsList.NTAMD64.5.1]
%MxEF.PlxPex8608.EEPROM.Description%    = MxEF.InstallInfo.NTAMD64.5.1, %MxEF.PlxPex8608.EEPROM.HardwareId%
%MxEF.PlxPex8609.DMA.Description%       = MxEF.InstallInfo.NTAMD64.5.1, %MxEF.PlxPex8609.DMA.HardwareId%
%MxEF.PlxPex8609.EEPROM.Description%    = MxEF.InstallInfo.NTAMD64.5.1, %MxEF.PlxPex8609.EEPROM.HardwareId%
;%MxEF.MtxGraphics.Description%          = MxEF.InstallInfo.NTAMD64.5.1, %MxEF.Mtx2240.HardwareId%
;%MxEF.MtxGraphics.Description%          = MxEF.InstallInfo.NTAMD64.5.1, %MxEF.Mtx2301.HardwareId%
%MxEF.MtxVHB.Description%               = MxEF.InstallInfo.NTAMD64.5.1, %MxEF.Mtx3005.HardwareId%
%MxEF.MtxVHB.Description%               = MxEF.InstallInfo.NTAMD64.5.1, %MxEF.Mtx3006.HardwareId%

[MxEF.DeviceModelsList.NTX86.5.1]
%MxEF.PlxPex8608.EEPROM.Description%    = MxEF.InstallInfo.NTX86.5.1,   %MxEF.PlxPex8608.EEPROM.HardwareId%
%MxEF.PlxPex8609.DMA.Description%       = MxEF.InstallInfo.NTX86.5.1,   %MxEF.PlxPex8609.DMA.HardwareId%
%MxEF.PlxPex8609.EEPROM.Description%    = MxEF.InstallInfo.NTX86.5.1,   %MxEF.PlxPex8609.EEPROM.HardwareId%
;%MxEF.MtxGraphics.Description%          = MxEF.InstallInfo.NTX86.5.1,   %MxEF.Mtx2240.HardwareId%
;%MxEF.MtxGraphics.Description%          = MxEF.InstallInfo.NTX86.5.1,   %MxEF.Mtx2301.HardwareId%
%MxEF.MtxVHB.Description%               = MxEF.InstallInfo.NTX86.5.1,   %MxEF.Mtx3005.HardwareId%
%MxEF.MtxVHB.Description%               = MxEF.InstallInfo.NTX86.5.1,   %MxEF.Mtx3006.HardwareId%

[MxEF.DeviceModelsList.NTAMD64]
%MxEF.PlxPex8608.EEPROM.Description%    = MxEF.InstallInfo.NTAMD64,     %MxEF.PlxPex8608.EEPROM.HardwareId%
%MxEF.PlxPex8609.DMA.Description%       = MxEF.InstallInfo.NTAMD64,     %MxEF.PlxPex8609.DMA.HardwareId%
%MxEF.PlxPex8609.EEPROM.Description%    = MxEF.InstallInfo.NTAMD64,     %MxEF.PlxPex8609.EEPROM.HardwareId%
;%MxEF.MtxGraphics.Description%          = MxEF.InstallInfo.NTAMD64,     %MxEF.Mtx2240.HardwareId%
;%MxEF.MtxGraphics.Description%          = MxEF.InstallInfo.NTAMD64,     %MxEF.Mtx2301.HardwareId%
%MxEF.MtxVHB.Description%               = MxEF.InstallInfo.NTAMD64,     %MxEF.Mtx3005.HardwareId%
%MxEF.MtxVHB.Description%               = MxEF.InstallInfo.NTAMD64,     %MxEF.Mtx3006.HardwareId%

[MxEF.DeviceModelsList.NTX86]
%MxEF.PlxPex8608.EEPROM.Description%    = MxEF.InstallInfo.NTX86,       %MxEF.PlxPex8608.EEPROM.HardwareId%
%MxEF.PlxPex8609.DMA.Description%       = MxEF.InstallInfo.NTX86,       %MxEF.PlxPex8609.DMA.HardwareId%
%MxEF.PlxPex8609.EEPROM.Description%    = MxEF.InstallInfo.NTX86,       %MxEF.PlxPex8609.EEPROM.HardwareId%
;%MxEF.MtxGraphics.Description%          = MxEF.InstallInfo.NTX86,       %MxEF.Mtx2240.HardwareId%
;%MxEF.MtxGraphics.Description%          = MxEF.InstallInfo.NTX86,       %MxEF.Mtx2301.HardwareId%
%MxEF.MtxVHB.Description%               = MxEF.InstallInfo.NTX86,       %MxEF.Mtx3005.HardwareId%
%MxEF.MtxVHB.Description%               = MxEF.InstallInfo.NTX86,       %MxEF.Mtx3006.HardwareId%

[MxEF.DeviceModelsList.NT]
%MxEF.PlxPex8608.EEPROM.Description%    = MxEF.InstallInfo.NT,          %MxEF.PlxPex8608.EEPROM.HardwareId%
%MxEF.PlxPex8609.DMA.Description%       = MxEF.InstallInfo.NT,          %MxEF.PlxPex8609.DMA.HardwareId%
%MxEF.PlxPex8609.EEPROM.Description%    = MxEF.InstallInfo.NT,          %MxEF.PlxPex8609.EEPROM.HardwareId%
;%MxEF.MtxGraphics.Description%          = MxEF.InstallInfo.NT,          %MxEF.Mtx2240.HardwareId%
;%MxEF.MtxGraphics.Description%          = MxEF.InstallInfo.NT,          %MxEF.Mtx2301.HardwareId%
%MxEF.MtxVHB.Description%               = MxEF.InstallInfo.NT,          %MxEF.Mtx3005.HardwareId%
%MxEF.MtxVHB.Description%               = MxEF.InstallInfo.NT,          %MxEF.Mtx3006.HardwareId%

[MxEF.DeviceModelsList]
%MxEF.PlxPex8608.EEPROM.Description%    = MxEF.InstallInfo,             %MxEF.PlxPex8608.EEPROM.HardwareId%
%MxEF.PlxPex8609.DMA.Description%       = MxEF.InstallInfo,             %MxEF.PlxPex8609.DMA.HardwareId%
%MxEF.PlxPex8609.EEPROM.Description%    = MxEF.InstallInfo,             %MxEF.PlxPex8609.EEPROM.HardwareId%
;%MxEF.MtxGraphics.Description%          = MxEF.InstallInfo,             %MxEF.Mtx2240.HardwareId%
;%MxEF.MtxGraphics.Description%          = MxEF.InstallInfo,             %MxEF.Mtx2301.HardwareId%
%MxEF.MtxVHB.Description%               = MxEF.InstallInfo,             %MxEF.Mtx3005.HardwareId%
%MxEF.MtxVHB.Description%               = MxEF.InstallInfo,             %MxEF.Mtx3006.HardwareId%

[MxEF.InstallInfo.NTAMD64.5.1]
CopyFiles = MxEF.InstallInfo.KernelDrivers.NTAMD64.CopyFiles, \
            MxEF.InstallInfo.SystemDlls.NT.CopyFiles, \
            MxEF.InstallInfo.CopyFiles

[MxEF.InstallInfo.NTX86.5.1]
CopyFiles = MxEF.InstallInfo.KernelDrivers.NTX86.CopyFiles, \
            MxEF.InstallInfo.SystemDlls.NT.CopyFiles, \
            MxEF.InstallInfo.CopyFiles

[MxEF.InstallInfo.NTAMD64]

[MxEF.InstallInfo.NTX86]

[MxEF.InstallInfo.NT]

[MxEF.InstallInfo]

[MxEF.InstallInfo.NTAMD64.5.1.Services]
AddService = %MxEF.RegistryServiceName%, %ADDSERVICEFLAG_FUNCTION_DRIVER%, MxEF.InstallInfo.NTAMD64.AddService

[MxEF.InstallInfo.NTX86.5.1.Services]
AddService = %MxEF.RegistryServiceName%, %ADDSERVICEFLAG_FUNCTION_DRIVER%, MxEF.InstallInfo.NTX86.AddService

; [MxEF.InstallInfo.Services]

[MxEF.InstallInfo.NTAMD64.5.1.HW]
AddReg  = MxEF.InstallInfo.NTAMD64.HW.AddReg
AddReg  = MxEF.InstallInfo.NT.HW.AddReg

[MxEF.InstallInfo.NTX86.5.1.HW]
AddReg  = MxEF.InstallInfo.NTX86.HW.AddReg
AddReg  = MxEF.InstallInfo.NT.HW.AddReg

; [MxEF.InstallInfo.HW]

[MxEF.InstallInfo.KernelDrivers.NTAMD64.CopyFiles]
MxEF64.sys,,,0x00000004

[MxEF.InstallInfo.KernelDrivers.NTX86.CopyFiles]
MxEF32.sys,,,0x00000004

[MxEF.InstallInfo.SystemDlls.NT.CopyFiles]
;MxEF.NT.exe

[MxEF.InstallInfo.CopyFiles]

[MxEF.InstallInfo.SysWOW64.CopyFiles]

[MxEF.InstallInfo.NTAMD64.AddService]
DisplayName     = %MxEF.RegistryServiceDescription%
ServiceType     = %SERVICE_KERNEL_DRIVER%
StartType       = %SERVICE_DEMAND_START%
ErrorControl    = %SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\MxEF64.sys

[MxEF.InstallInfo.NTX86.AddService]
DisplayName     = %MxEF.RegistryServiceDescription%
ServiceType     = %SERVICE_KERNEL_DRIVER%
StartType       = %SERVICE_DEMAND_START%
ErrorControl    = %SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\MxEF32.sys

[MxEF.InstallInfo.NTAMD64.HW.AddReg]

[MxEF.InstallInfo.NTX86.HW.AddReg]

[MxEF.InstallInfo.NT.HW.AddReg]

[MxEF.InstallInfo.UpperFilter.NT.HW.AddReg]

[MxEF.InstallInfo.LowerFilter.NT.HW.AddReg]

[Strings]
MxEF.InfCreatorName                 = "Matrox Graphics Inc."
MxEF.DeviceManufacturerName         = "Matrox Graphics Inc."
MxEF.SourceDiskName                 = "Matrox Extio Device Driver Disk"
MxEF.RegistryServiceName            = "MxEF"
MxEF.RegistryServiceDescription     = "Matrox Extio Device"
MxEF.PlxPex8608.EEPROM.Description  = "Matrox Extio PLX PEX8608 EEPROM Device"
MxEF.PlxPex8608.EEPROM.HardwareId   = "PCI\VEN_10B5&DEV_8608&CC_0680"
MxEF.PlxPex8609.DMA.Description     = "Matrox Extio PLX PEX8609 DMA Device"
MxEF.PlxPex8609.DMA.HardwareId      = "PCI\VEN_10B5&DEV_8609&CC_0880"
MxEF.PlxPex8609.EEPROM.Description  = "Matrox Extio PLX PEX8609 EEPROM Device"
MxEF.PlxPex8609.EEPROM.HardwareId   = "PCI\VEN_10B5&DEV_8609&CC_0680"
;MxEF.MtxGraphics.Description        = "Matrox Extio Graphics Device"
;MxEF.Mtx2240.HardwareId             = "PCI\VEN_102B&DEV_0540&SUBSYS_2240102B"
;MxEF.Mtx2301.HardwareId             = "PCI\VEN_102B&DEV_0540&SUBSYS_2301102B"
MxEF.MtxVHB.Description             = "Matrox Extio Virtual Hardware Bus Device"
MxEF.Mtx3005.HardwareId             = "PCI\VEN_102B&DEV_3005&SUBSYS_2301102B"
MxEF.Mtx3006.HardwareId             = "PCI\VEN_102B&DEV_3006&SUBSYS_2301102B"

ADDSERVICEFLAG_FUNCTION_DRIVER  = "0x00000002"  ; %SPSVCINST_ASSOCSERVICE%
ADDSERVICEFLAG_FILTER_DRIVER    = " "           ; %SPSVCINST_NO_FLAGS%

; The following macros are defined in setupapi.h
;
; Flags for SetupInstallServicesFromInfSection(Ex).
;
SPSVCINST_NO_FLAGS              = "0x00000000"  ; There is no such a value in setupapi.h
SPSVCINST_ASSOCSERVICE          = "0x00000002"  ; PnP function driver or legacy driver. Do not use for filter driver.
;
;
; Flags for AddReg section lines in INF.
; Format of the AddReg line:
;
; <RegRootString>,<SubKey>,<ValueName>,<ValueType>,<Value>...
;
; Flags for value <ValueType> in the AddReg section:
;
FLG_ADDREG_NOCLOBBER            = "0x00000002"
FLG_ADDREG_DELVAL               = "0x00000004"
FLG_ADDREG_APPEND               = "0x00000008" ; Currently supported only for REG_MULTI_SZ values.
FLG_ADDREG_KEYONLY              = "0x00000010" ; Just create the key, ignore value
FLG_ADDREG_OVERWRITEONLY        = "0x00000020" ; Set only if value already exists
FLG_ADDREG_64BITKEY             = "0x00001000" ; Make this change in the 64 bit registry.
FLG_ADDREG_KEYONLY_COMMON       = "0x00002000" ; Same as FLG_ADDREG_KEYONLY but also works for DELREG
FLG_ADDREG_32BITKEY             = "0x00004000" ; Make this change in the 32 bit registry.
FLG_ADDREG_DELREG_BIT           = "0x00008000" ; If set, interpret as DELREG
;
FLG_ADDREG_TYPE_SZ              = "0x00000000"
FLG_ADDREG_BINVALUETYPE         = "0x00000001"
FLG_ADDREG_TYPE_MULTI_SZ        = "0x00010000"
FLG_ADDREG_TYPE_APPEND_MULTI_SZ = "0x00010008"
FLG_ADDREG_TYPE_EXPAND_SZ       = "0x00020000"
FLG_ADDREG_TYPE_DWORD           = "0x00010001"
FLG_DELREG_MULTI_SZ_DELSTRING   = "0x00018002"
;
; End of macro definitions from setupapi.h

; The following macros are defined in ntddk.h
;
; Service Types (Bit Mask)
;
SERVICE_KERNEL_DRIVER           = "0x00000001"
SERVICE_FILE_SYSTEM_DRIVER      = "0x00000002"
SERVICE_ADAPTER                 = "0x00000004"
SERVICE_RECOGNIZER_DRIVER       = "0x00000008"
SERVICE_WIN32_OWN_PROCESS       = "0x00000010"
SERVICE_WIN32_SHARE_PROCESS     = "0x00000020"
SERVICE_INTERACTIVE_PROCESS     = "0x00000100"
;
; Start Type
;
SERVICE_BOOT_START              = "0x00000000"
SERVICE_SYSTEM_START            = "0x00000001"
SERVICE_AUTO_START              = "0x00000002"
SERVICE_DEMAND_START            = "0x00000003"
SERVICE_DISABLED                = "0x00000004"
;
; Error control type
;
SERVICE_ERROR_IGNORE            = "0x00000000"
SERVICE_ERROR_NORMAL            = "0x00000001"
SERVICE_ERROR_SEVERE            = "0x00000002"
SERVICE_ERROR_CRITICAL          = "0x00000003"
;
; End of macro definitions from ntddk.h
