hi my display driver wokrs well in xp but when i move for vista then i faced following problems:
- my adapter came in device manager under display devices branch…and also shows the two installed drivers (gdi display driver and miniport driver) and drivers instlled successfully, its status was working properly.
but when i am opening display settings it doesn’t shows my adapter device in monitors list.
- i had seen debug messages and found that my miniport driver was called by kernel but my GDI display driver didn’t get any call from kernel as getting call in XP
what may be the problem ,
my installation file is as follows :
; sls_dd.inf
;
; Installation inf for the sls_usb_vga graphics adapter.
;
; Copyright (x) 1995-1999 Microsoft Corporation. All rights reserved
;
[Version]
Signature=“$CHICAGO$”
Provider=%Microsoft%
ClassGUID={4D36E968-E325-11CE-BFC1-08002BE10318}
Class=Display
DriverVer=06/01/1999,1.0
[DestinationDirs]
DefaultDestDir = 11
sls_dd.Miniport = 12 ; drivers
sls_dd.Display = 11 ; system32
;
; Driver information
;
[Manufacturer]
%Microsoft% = sls_dd.Mfg,NTx86,NTamd64
[sls_dd.Mfg.NTx86]
%sls_device% = sls_dd, SLS_VGA_DEVICE
[sls_dd.Mfg.NTamd64]
%sls_device% = sls_dd, SLS_VGA_DEVICE
;
; General installation section
;
[sls_dd.NTx86]
CopyFiles=sls_dd.Miniport, sls_dd.Display
[sls_dd.NTamd64]
CopyFiles=sls_dd.Miniport, sls_dd.Display
;[DefaultInstall]
;AddService = sls_dd, 0x00000002, sls_dd_Service_Inst, sls_dd_EventLog_Inst
;CopyFiles=sls_dd.Miniport, sls_dd.Display
;
; File sections
;
[sls_dd.Miniport]
sls_dd.sys
[sls_dd.Display]
sls_dd.dll
;
; Service Installation
;
[sls_dd.NTx86.Services]
AddService = sls_dd, 0x00000002, sls_dd_Service_Inst, sls_dd_EventLog_Inst
[sls_dd.NTamd64.Services]
AddService = sls_dd, 0x00000002, sls_dd_Service_Inst, sls_dd_EventLog_Inst
[sls_dd_Service_Inst]
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 1 ; SERVICE_SYSTEM_START
ErrorControl = 0 ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Video
ServiceBinary = %12%\sls_dd.sys
[sls_dd_EventLog_Inst]
AddReg = sls_dd_EventLog_AddReg
[sls_dd_EventLog_AddReg]
HKR,EventMessageFile,0x00020000,“%SystemRoot%\System32\IoLogMsgs.dll;%SystemRoot%\System32\drivers\sls_dd.sys”
HKR,TypesSupported,0x00010001,7
;
; Software Installation
;
[sls_dd.SoftwareSettings]
AddReg = sls_dd_SoftwareDeviceSettings
[sls_dd_SoftwareDeviceSettings]
HKR, MirrorDriver, %REG_DWORD%, 0
HKR, InstalledDisplayDrivers, %REG_MULTI_SZ%, sls_dd
HKR, VgaCompatible, %REG_DWORD%, 0
HKR, Attach.ToDesktop, %REG_DWORD%, 1
[sls_dd.OpenGLSoftwareSettings]
AddReg = sls_dd_OpenGLSoftwareSettings
[sls_dd_OpenGLSoftwareSettings]
;
; Not currently used:
;
;[sls_dd.GeneralConfigData]
;MaximumNumberOfDevices = 1
;KeepExistingDriverEnabled = 1
;
; Source file information
;
[SourceDisksNames]
1 = %DiskId%,“”
;[SourceDisksNames.NTamd64]
;1 = %DiskId%,“”
[SourceDisksFiles]
sls_dd.sys = 1
sls_dd.dll = 1
[Strings]
;
; Non-Localizable Strings
;
REG_SZ = 0x00000000
REG_MULTI_SZ = 0x00010000
REG_EXPAND_SZ = 0x00020000
REG_BINARY = 0x00000001
REG_DWORD = 0x00010001
SERVICEROOT = “System\CurrentControlSet\Services”
;
; Localizable Strings
;
DiskId = “sls_dd Installation DISK (VIDEO)”
GraphAdap = “Graphics Adapter”
Microsoft = “SLS”
sls_device = “SLS Graphics Adapter”
is this inf file problematic or any other things i am still missing ?
any help i stucked here…