Renamed INF file

Removed sample file
This commit is contained in:
Benjamin Höglinger-Stelzer 2024-09-14 18:52:40 +02:00
parent f58ad77315
commit e3bb9ec0ed
4 changed files with 40 additions and 147 deletions

View File

@ -1,59 +1,57 @@
;++
; Copyright 2013-2016 Red Hat, Inc.
;
; Module Name:
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
;
; QxlDod.inf
;
; Abstract:
;
; Inf file for Kernel mode display only QXL driver
;
;--
; You may obtain a copy of the License at
; http://www.apache.org/licenses/LICENSE-2.0
[Version]
Signature = "$Windows NT$"
Signature="$Windows NT$"
Class=Display
ClassGUID={4d36e968-e325-11ce-bfc1-08002be10318}
Provider=%MNF%
DriverVer= 03/15/2011, 0.03.15.0011
Provider=%RHEL%
DriverVer= 03/15/2015, 1.01.01.0001
CatalogFile=qxldod.cat
PnpLockdown=1
[DestinationDirs]
QxlDod.Files = 12
;
; Source file information
;
[SourceDisksNames]
0=%Desc_Sample%
1 = %DiskId1%,,,""
[SourceDisksFiles]
QxlDod.sys=0
qxldod.sys = 1,,
[ControlFlags]
;ExcludeFromSelect = *
[DestinationDirs]
DefaultDestDir = 10
QxlDod_Files_Driver = 12
;
; Driver information
;
[Manufacturer]
%MNF%=MNF,NTamd64
%RHEL%=RHEL,NT$ARCH$.6.2
[MNF]
;
; Allow the driver to be loaded on VGA and XGA
;
"QXL KMDOD" = QxlDod_Inst, PCI\VEN_1B36&DEV_0100&SUBSYS_11001AF4
[MNF.NTamd64]
;
; Allow the driver to be loaded on VGA and XGA
;
"QXL KMDOD" = QxlDod_Inst, PCI\VEN_1B36&DEV_0100&SUBSYS_11001AF4
[RHEL.NT$ARCH$.6.2]
%RHELQxl.DeviceDesc% = QxlDod_Inst, PCI\VEN_1B36&DEV_0100&SUBSYS_11001AF4
[QxlDod_Files_Driver]
qxldod.sys,,,2
[QxlDod_Inst]
Include=msdv.inf
FeatureScore=F9
CopyFiles = QxlDod.Files
AddReg = QxlDod_SoftwareDeviceSettings
CopyFiles=QxlDod_Files_Driver
AddReg=QxlDod_DeviceSettings
;
; Install driver service
;
[QxlDod_Inst.Services]
AddService = QxlDod,0x00000002,QxlDod_Service_Inst,
AddService = QxlDod,0x00000002,QxlDod_Service_Inst, QxlDod_EventLog_Inst
[QxlDod_Service_Inst]
ServiceType = %SERVICE_KERNEL_DRIVER%
@ -61,19 +59,6 @@ StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\qxldod.sys
;
; Display Adapter Specific Settings
;
[QxlDod.SoftwareSettings]
AddReg = QxlDod_SoftwareDeviceSettings
[QxlDod_SoftwareDeviceSettings]
HKR,, VgaCompatible, %REG_DWORD%, 0
HKR,, PointerCaps, %REG_DWORD%, 0
[QxlDod.Files]
qxldod.sys
[QxlDod_EventLog_Inst]
AddReg = QxlDod_EventLog_Inst.AddReg
@ -81,15 +66,17 @@ AddReg = QxlDod_EventLog_Inst.AddReg
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll"
HKR,,TypesSupported,%REG_DWORD%,7
[QxlDod_DeviceSettings]
HKR,, VgaCompatible, %REG_DWORD%, 0
[Strings]
; *******Localizable Strings*******
MNF= "SPICE"
Desc_Sample = "Data"
diskId1 = "Red Hat QXL controller Installation Disk"
RHELQxl.DeviceDesc = "Red Hat QXL controller"
RHEL = "Red Hat, Inc."
; *******Non Localizable Strings*******
SERVICE_BOOT_START = 0x0
SERVICE_SYSTEM_START = 0x1
SERVICE_AUTO_START = 0x2

View File

@ -1,94 +0,0 @@
; Copyright 2013-2016 Red Hat, Inc.
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
;
; You may obtain a copy of the License at
; http://www.apache.org/licenses/LICENSE-2.0
[Version]
Signature="$Windows NT$"
Class=Display
ClassGUID={4d36e968-e325-11ce-bfc1-08002be10318}
Provider=%RHEL%
DriverVer= 03/15/2015, 1.01.01.0001
CatalogFile=qxldod.cat
PnpLockdown=1
;
; Source file information
;
[SourceDisksNames]
1 = %DiskId1%,,,""
[SourceDisksFiles]
qxldod.sys = 1,,
[ControlFlags]
;ExcludeFromSelect = *
[DestinationDirs]
DefaultDestDir = 10
QxlDod_Files_Driver = 12
;
; Driver information
;
[Manufacturer]
%RHEL%=RHEL,NT$ARCH$.6.2
[RHEL.NT$ARCH$.6.2]
%RHELQxl.DeviceDesc% = QxlDod_Inst, PCI\VEN_1B36&DEV_0100&SUBSYS_11001AF4
[QxlDod_Files_Driver]
qxldod.sys,,,2
[QxlDod_Inst]
Include=msdv.inf
FeatureScore=F9
CopyFiles=QxlDod_Files_Driver
AddReg=QxlDod_DeviceSettings
[QxlDod_Inst.Services]
AddService = QxlDod,0x00000002,QxlDod_Service_Inst, QxlDod_EventLog_Inst
[QxlDod_Service_Inst]
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\qxldod.sys
[QxlDod_EventLog_Inst]
AddReg = QxlDod_EventLog_Inst.AddReg
[QxlDod_EventLog_Inst.AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll"
HKR,,TypesSupported,%REG_DWORD%,7
[QxlDod_DeviceSettings]
HKR,, VgaCompatible, %REG_DWORD%, 0
[Strings]
; *******Localizable Strings*******
diskId1 = "Red Hat QXL controller Installation Disk"
RHELQxl.DeviceDesc = "Red Hat QXL controller"
RHEL = "Red Hat, Inc."
; *******Non Localizable Strings*******
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_MULTI_SZ = 0x00010000
REG_EXPAND_SZ = 0x00020000
REG_DWORD = 0x00010001

View File

@ -294,7 +294,7 @@
<ResourceCompile Include="qxldod.rc" />
</ItemGroup>
<ItemGroup>
<Inf Include="qxldod.inx" />
<Inf Include="qxldod.inf" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">

View File

@ -61,7 +61,7 @@
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<Inf Include="qxldod.inx">
<Inf Include="qxldod.inf">
<Filter>Driver Files</Filter>
</Inf>
</ItemGroup>