WIN7 64位下怎么安装mirror driver?
我已经下了WDK,也在x64环境下编译好了mirror,有mirror.dll和mirror.sys和mirror.inf,但是手动通过设备管理器添加显示设备,选择从磁盘安装,文件指向mirror.inf,但是提示“为该设置选择的驱动程序不支持该windows”。
mirror.inf文件如下:
; mirror.inf
;
; Installation inf for the Mirror graphics adapter.
;
; Copyright (x) 1995-1999 Microsoft Corporation. All rights reserved
;
[Version]
Signature="$CHICAGO$"
Provider=%Microsoft%
CatalogFile=mirror.cat
ClassGUID={4D36E968-E325-11CE-BFC1-08002BE10318}
Class=Display
DriverVer=03/05/2010,5.00.2072
[DestinationDirs]
DefaultDestDir = 11
mirror.Miniport = 12 ; drivers
mirror.Display = 11 ; system32
;
; Driver information
;
[Manufacturer]
%Microsoft% = Mirror,NTamd64
[Mirror.NTamd64]
%Mirror% = mirror, Microsoft_Mirror_Sample1
;
; General installation section
;
[mirror]
CopyFiles=mirror.Miniport, mirror.Display
;
; File sections
;
[mirror.Miniport]
mirror.sys
[mirror.Display]
mirror.dll
;
; Service Installation
;
[mirror.Services]
AddService = mirror, 0x00000002, mirror_Service_Inst, mirror_EventLog_Inst
[mirror_Service_Inst]
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 1 ; SERVICE_SYSTEM_START
ErrorControl = 0 ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Video
ServiceBinary = %12%\mirror.sys
[mirror_EventLog_Inst]
AddReg = mirror_EventLog_AddReg
[mirror_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%
\System32\drivers\mirror.sys"
HKR,,TypesSupported,0x00010001,7
;
; Software Installation
;
[mirror.SoftwareSettings]
AddReg = mirror_SoftwareDeviceSettings
[mirror_SoftwareDeviceSettings]
HKR,, MirrorDriver, %REG_DWORD%, 1
HKR,, InstalledDisplayDrivers, %REG_MULTI_SZ%, mirror
HKR,, VgaCompatible, %REG_DWORD%, 0
HKR,, Attach.ToDesktop, %REG_DWORD%, 1
[mirror.OpenGLSoftwareSettings]
AddReg = mirror_OpenGLSoftwareSettings
[mirror_OpenGLSoftwareSettings]
;
; Not currently used:
;
[mirror.GeneralConfigData]
MaximumNumberOfDevices = 1
KeepExistingDriverEnabled = 1
;
; Source file information
;
[SourceDisksNames]
1 = %DiskId%,,,""
[SourceDisksFiles.amd64]
mirror.sys = 1,\x64
mirror.dll = 1,\x64
[