Compare commits

..

No commits in common. "nefarius" and "master" have entirely different histories.

19 changed files with 665 additions and 592 deletions

419
.gitignore vendored
View File

@ -1,402 +1,21 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# ASP.NET Scaffolding
ScaffoldingReadMe.txt
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
# Compiled Object files
*.slo
*.lo
*.o
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.tlog
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio 6 auto-generated project file (contains which files were open etc.)
*.vbp
# Visual Studio 6 workspace and project file (working project files containing files to include in project)
*.dsw
*.dsp
# Visual Studio 6 technical files
*.ncb
*.aps
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# CodeRush personal settings
.cr/personal
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
# Local History for Visual Studio
.localhistory/
# Visual Studio History (VSHistory) files
.vshistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
# VS Code files for those working on multiple tools
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
# Local History for Visual Studio Code
.history/
# Windows Installer files from build outputs
*.cab
*.msi
*.msix
*.msm
*.msp
# JetBrains Rider
*.sln.iml
setup.inf
setup.rpt
RC*
RD*
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app

View File

@ -1,12 +0,0 @@
@echo off
set signtool="C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\signtool.exe"
rem replace test-certificate with EV
signtool sign /tr http://timestamp.digicert.com /td sha256 /fd sha256 /n "Nefarius Software Solutions e.U." .\build\x64\Win10Release\qxldod\qxldod.sys
rem create submission package
makecab.exe /f .\qxldod_x64.ddf
rem sign submission package
signtool sign /tr http://timestamp.digicert.com /td sha256 /fd sha256 /n "Nefarius Software Solutions e.U." .\disk1\*.cab

View File

@ -0,0 +1,162 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Win10Debug_NoSign|Win32">
<Configuration>Win10Debug_NoSign</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Win10Debug_NoSign|x64">
<Configuration>Win10Debug_NoSign</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Win10Debug|Win32">
<Configuration>Win10Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Win10Debug|x64">
<Configuration>Win10Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Win10Release|Win32">
<Configuration>Win10Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Win10Release|x64">
<Configuration>Win10Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{B8C04B51-4207-491D-A7DD-C54861E8B528}</ProjectGuid>
<TemplateGuid>{4605da2c-74a5-4865-98e1-152ef136825f}</TemplateGuid>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
<Configuration>Win8 Debug</Configuration>
<Platform Condition="'$(Platform)' == ''">Win32</Platform>
</PropertyGroup>
<PropertyGroup Label="Globals">
<RootNamespace>qxldod_Package</RootNamespace>
<VCTargetsPath Condition="'$(VCTargetsPath11)' != '' and '$(VisualStudioVersion)' == '11.0'">$(VCTargetsPath11)</VCTargetsPath>
<WindowsTargetPlatformVersion>$(LatestTargetPlatformVersion)</WindowsTargetPlatformVersion>
<ProjectName>qxldod_Package</ProjectName>
</PropertyGroup>
<PropertyGroup Label="PropertySheets">
<ConfigurationType>Utility</ConfigurationType>
<DriverType>Package</DriverType>
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Win10Debug|x64'">
<TargetVersion>
</TargetVersion>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug_NoSign|x64'" Label="Configuration">
<TargetVersion />
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Release|x64'" Label="Configuration">
<TargetVersion>
</TargetVersion>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug|Win32'" Label="Configuration">
<TargetVersion>
</TargetVersion>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug_NoSign|Win32'" Label="Configuration">
<TargetVersion />
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Release|Win32'" Label="Configuration">
<TargetVersion>
</TargetVersion>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Release|x64'">
<OutDir>$(SolutionDir)\build\$(Platform)\$(ConfigurationName)\</OutDir>
</PropertyGroup>
<PropertyGroup>
<DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
<EnableDeployment>False</EnableDeployment>
<RemoveDriver>True</RemoveDriver>
<HardwareIdString />
<CommandLine />
<DeployFiles />
<EnableVerifier>False</EnableVerifier>
<AllDrivers>False</AllDrivers>
<VerifyProjectOutput>True</VerifyProjectOutput>
<VerifyDrivers />
<VerifyFlags>133563</VerifyFlags>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug|x64'">
<OutDir>$(SolutionDir)\build\$(Platform)\$(ConfigurationName)\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug_NoSign|x64'">
<OutDir>$(SolutionDir)\build\$(Platform)\$(ConfigurationName)\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Release|Win32'">
<OutDir>$(SolutionDir)\build\$(Platform)\$(ConfigurationName)\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug|Win32'">
<OutDir>$(SolutionDir)\build\$(Platform)\$(ConfigurationName)\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug_NoSign|Win32'">
<OutDir>$(SolutionDir)\build\$(Platform)\$(ConfigurationName)\</OutDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug|x64'">
<Inf2Cat>
<WindowsVersionList>8_x64,Server8_x64,Server6_3_x64,6_3_x64</WindowsVersionList>
</Inf2Cat>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug_NoSign|x64'">
<Inf2Cat>
<WindowsVersionList>8_x64,Server8_x64,Server6_3_x64,6_3_x64</WindowsVersionList>
</Inf2Cat>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10Release|x64'">
<Inf2Cat>
<WindowsVersionList>8_x64,Server8_x64,Server6_3_x64,6_3_x64</WindowsVersionList>
</Inf2Cat>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug|Win32'">
<Inf2Cat>
<WindowsVersionList>8_x64,Server8_x64,Server6_3_x64,6_3_x64</WindowsVersionList>
</Inf2Cat>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug_NoSign|Win32'">
<Inf2Cat>
<WindowsVersionList>8_x64,Server8_x64,Server6_3_x64,6_3_x64</WindowsVersionList>
</Inf2Cat>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10Release|Win32'">
<Inf2Cat>
<WindowsVersionList>8_x64,Server8_x64,Server6_3_x64,6_3_x64</WindowsVersionList>
</Inf2Cat>
</ItemDefinitionGroup>
<ItemGroup>
<FilesToPackage Include="@(Inf->'%(CopyOutput)')" Condition="'@(Inf)'!=''" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\qxldod\qxldod.vcxproj">
<Project>{a6f48fc7-97e9-48ec-bcdf-1e4f9b43aadd}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Driver Files">
<UniqueIdentifier>{8E41214B-6785-4CFE-B992-037D68949A14}</UniqueIdentifier>
<Extensions>inf;inv;inx;mof;mc;</Extensions>
</Filter>
</ItemGroup>
</Project>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Release|x64'">
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Release|Win32'">
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug_NoSign|x64'">
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug_NoSign|Win32'">
<SignMode>Off</SignMode>
</PropertyGroup>
</Project>

View File

@ -1,27 +1,62 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.11.35222.181
# Visual Studio 14
VisualStudioVersion = 14.0.25123.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qxldod", "qxldod\qxldod.vcxproj", "{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qxldod_Package", "qxldod Package\qxldod Package.vcxproj", "{B8C04B51-4207-491D-A7DD-C54861E8B528}"
ProjectSection(ProjectDependencies) = postProject
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD} = {A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{467F7836-D656-441E-ACFE-1CF73CD25364}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Win10Debug_NoSign|Win32 = Win10Debug_NoSign|Win32
Win10Debug_NoSign|x64 = Win10Debug_NoSign|x64
Win10Debug|Win32 = Win10Debug|Win32
Win10Debug|x64 = Win10Debug|x64
Win10Release|Win32 = Win10Release|Win32
Win10Release|x64 = Win10Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Debug_NoSign|Win32.ActiveCfg = Win10Debug_NoSign|Win32
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Debug_NoSign|Win32.Build.0 = Win10Debug_NoSign|Win32
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Debug_NoSign|Win32.Deploy.0 = Win10Debug_NoSign|Win32
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Debug_NoSign|x64.ActiveCfg = Win10Debug_NoSign|x64
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Debug_NoSign|x64.Build.0 = Win10Debug_NoSign|x64
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Debug_NoSign|x64.Deploy.0 = Win10Debug_NoSign|x64
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Debug|Win32.ActiveCfg = Win10Debug|Win32
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Debug|Win32.Build.0 = Win10Debug|Win32
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Debug|Win32.Deploy.0 = Win10Debug|Win32
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Debug|x64.ActiveCfg = Win10Debug|x64
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Debug|x64.Build.0 = Win10Debug|x64
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Debug|x64.Deploy.0 = Win10Debug|x64
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Release|Win32.ActiveCfg = Win10Release|Win32
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Release|Win32.Build.0 = Win10Release|Win32
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Release|Win32.Deploy.0 = Win10Release|Win32
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Release|x64.ActiveCfg = Win10Release|x64
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Release|x64.Build.0 = Win10Release|x64
{A6F48FC7-97E9-48EC-BCDF-1E4F9B43AADD}.Win10Release|x64.Deploy.0 = Win10Release|x64
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Debug_NoSign|Win32.ActiveCfg = Win10Debug_NoSign|Win32
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Debug_NoSign|Win32.Build.0 = Win10Debug_NoSign|Win32
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Debug_NoSign|Win32.Deploy.0 = Win10Debug_NoSign|Win32
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Debug_NoSign|x64.ActiveCfg = Win10Debug_NoSign|x64
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Debug_NoSign|x64.Build.0 = Win10Debug_NoSign|x64
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Debug_NoSign|x64.Deploy.0 = Win10Debug_NoSign|x64
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Debug|Win32.ActiveCfg = Win10Debug|Win32
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Debug|Win32.Build.0 = Win10Debug|Win32
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Debug|Win32.Deploy.0 = Win10Debug|Win32
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Debug|x64.ActiveCfg = Win10Debug|x64
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Debug|x64.Build.0 = Win10Debug|x64
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Debug|x64.Deploy.0 = Win10Debug|x64
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Release|Win32.ActiveCfg = Win10Release|Win32
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Release|Win32.Build.0 = Win10Release|Win32
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Release|Win32.Deploy.0 = Win10Release|Win32
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Release|x64.ActiveCfg = Win10Release|x64
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Release|x64.Build.0 = Win10Release|x64
{B8C04B51-4207-491D-A7DD-C54861E8B528}.Win10Release|x64.Deploy.0 = Win10Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@ -26,9 +26,7 @@ void* __cdecl operator new(size_t Size, POOL_TYPE PoolType)
Size = (Size != 0) ? Size : 1;
#pragma warning(disable: 4996)
void* pObject = ExAllocatePoolWithTag(PoolType, Size, QXLTAG);
#pragma warning(default: 4996)
if (pObject != NULL)
{
@ -50,9 +48,7 @@ void* __cdecl operator new[](size_t Size, POOL_TYPE PoolType)
Size = (Size != 0) ? Size : 1;
#pragma warning(disable: 4996)
void* pObject = ExAllocatePoolWithTag(PoolType, Size, QXLTAG);
#pragma warning(default: 4996)
if (pObject != NULL)
{

View File

@ -393,28 +393,93 @@ NTSTATUS QxlDod::QueryChildStatus(_Inout_ DXGK_CHILD_STATUS* pChildStatus,
}
}
/*
* ASUSTek COMPUTER INC
* VG27AQL1A (S/N: M9LMQS072350)
*/
static const UCHAR edid[] =
/* edid-decode:
Extracted contents:
header: 00 ff ff ff ff ff ff 00
serial number: 47 0c 01 00 41 fa 38 78 01 1b
version: 01 04
basic params: 6a 22 1b 78 ea
chroma info: 32 31 a3 57 4c 9d 25 11 50 54
established: 04 43 00
standard: 31 4f 45 4f 61 4f 81 4f 01 01 01 01 01 01 01 01
descriptor 1: ba 2c 00 a0 50 00 25 40 30 20 37 00 54 0e 11 00 00 1e
descriptor 2: 00 00 00 fd 00 38 50 1e 53 0f 00 00 00 00 00 00 00 00
descriptor 3: 00 00 00 fc 00 51 58 4c 30 30 30 31 0a 20 20 20 20 20
descriptor 4: 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00
extensions: 01
checksum: d5
Manufacturer: QXL Model 1 Serial Number 2017000001
Made week 1 of 2017
EDID version: 1.4
Analog display, Input voltage level: 0.7/0.7 V
Blank level equals black level
Sync: Separate SyncOnGreen
Maximum image size: 34 cm x 27 cm
Gamma: 2.20
DPMS levels: Standby Suspend Off
RGB color display
First detailed timing is preferred timing
Established timings supported:
640x480@75Hz
800x600@75Hz
1024x768@75Hz
1280x1024@75Hz
Standard timings supported:
640x480@75Hz
800x600@75Hz
1024x768@75Hz
1280x960@75Hz
Detailed mode: Clock 114.500 MHz, 340 mm x 270 mm
1280 1328 1360 1440 hborder 0
1024 1027 1034 1061 vborder 0
+hsync +vsync
Monitor ranges: 56-80HZ vertical, 30-83kHz horizontal, max dotclock 150MHz
Monitor name: QXL0001
Dummy block
Has 1 extension blocks
Checksum: 0xd5
CEA extension block
Extension version: 3
0 bytes of CEA data
0 native detailed modes
Checksum: 0xf7
*/
static const UCHAR edid[256] =
{
0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x06, 0xB3, 0x05, 0x27, 0x01, 0x01, 0x01, 0x01,
0x26, 0x1F, 0x01, 0x04, 0xB5, 0x3C, 0x22, 0x78, 0x3B, 0x93, 0x25, 0xAD, 0x4F, 0x44, 0xA9, 0x26,
0x0D, 0x50, 0x54, 0xBF, 0xEF, 0x00, 0x71, 0x4F, 0x81, 0x80, 0x95, 0x00, 0xD1, 0xC0, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x99, 0xFC, 0x00, 0x6A, 0xA0, 0xA0, 0x1E, 0x50, 0x08, 0x20,
0x35, 0x00, 0x55, 0x50, 0x21, 0x00, 0x00, 0x1A, 0x00, 0x00, 0x00, 0xFD, 0x00, 0x30, 0xA5, 0xF9,
0xF9, 0x42, 0x01, 0x0A, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x56,
0x47, 0x32, 0x37, 0x41, 0x51, 0x4C, 0x31, 0x41, 0x0A, 0x20, 0x20, 0x20, 0x00, 0x00, 0x00, 0xFF,
0x00, 0x4D, 0x39, 0x4C, 0x4D, 0x51, 0x53, 0x30, 0x37, 0x32, 0x33, 0x35, 0x30, 0x0A, 0x01, 0x83,
0x02, 0x03, 0x27, 0xF1, 0x4C, 0x90, 0x11, 0x12, 0x13, 0x04, 0x0E, 0x0F, 0x1D, 0x1E, 0x1F, 0x40,
0x3F, 0x23, 0x09, 0x07, 0x07, 0x83, 0x01, 0x00, 0x00, 0xE3, 0x05, 0xE0, 0x01, 0xE6, 0x06, 0x07,
0x01, 0x73, 0x73, 0x00, 0xE2, 0x00, 0x6A, 0x56, 0x5E, 0x00, 0xA0, 0xA0, 0xA0, 0x29, 0x50, 0x30,
0x20, 0x35, 0x00, 0x55, 0x50, 0x21, 0x00, 0x00, 0x1C, 0x9E, 0xE8, 0x00, 0x78, 0xA0, 0xA0, 0x67,
0x50, 0x08, 0x20, 0x98, 0x04, 0x55, 0x50, 0x21, 0x00, 0x00, 0x1A, 0x6F, 0xC2, 0x00, 0xA0, 0xA0,
0xA0, 0x55, 0x50, 0x30, 0x20, 0x35, 0x00, 0x55, 0x50, 0x21, 0x00, 0x00, 0x1A, 0x5A, 0xA0, 0x00,
0xA0, 0xA0, 0xA0, 0x46, 0x50, 0x30, 0x20, 0x35, 0x00, 0x55, 0x50, 0x21, 0x00, 0x00, 0x1A, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2D
0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x00,
0x47,0x0C,0x01,0x00,0x41,0xFA,0x38,0x78,
0x01,0x1B,0x01,0x04,0x6A,0x22,0x1B,0x78,
0xEA,0x32,0x31,0xA3,0x57,0x4C,0x9D,0x25,
0x11,0x50,0x54,0x04,0x43,0x00,0x31,0x4F,
0x45,0x4F,0x61,0x4F,0x81,0x4F,0x01,0x01,
0x01,0x01,0x01,0x01,0x01,0x01,0xBA,0x2C,
0x00,0xA0,0x50,0x00,0x25,0x40,0x30,0x20,
0x37,0x00,0x54,0x0E,0x11,0x00,0x00,0x1E,
0x00,0x00,0x00,0xFD,0x00,0x38,0x50,0x1E,
0x53,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0xFC,0x00,0x51,
0x58,0x4C,0x30,0x30,0x30,0x31,0x0A,0x20,
0x20,0x20,0x20,0x20,0x00,0x00,0x00,0x10,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0xD5,
0x02,0x03,0x04,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF7,
};
// EDID retrieval

View File

@ -32,7 +32,7 @@
#ifndef _H_SPICE_RING
#define _H_SPICE_RING
#include "types.h"
#include <include/types.h>
#define _SPICE_MSB_MASK4(x) \
(((x) & 0x8) ? 0x8 : \

View File

@ -35,8 +35,7 @@
/* We always want the standard int types
* If they are not in stdint.h on your system,
* include the right one here. */
//#include <include/stdint.h>
#include <stdint.h>
#include <include/stdint.h>
//#include <limits.h>
#endif /* _H_SPICE_TYPES */

View File

@ -1,57 +1,59 @@
; 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.
; Module Name:
;
; You may obtain a copy of the License at
; http://www.apache.org/licenses/LICENSE-2.0
; QxlDod.inf
;
; Abstract:
;
; Inf file for Kernel mode display only QXL driver
;
;--
[Version]
Signature="$Windows NT$"
Signature = "$Windows NT$"
Class=Display
ClassGUID={4d36e968-e325-11ce-bfc1-08002be10318}
Provider=%RHEL%
DriverVer=
Provider=%MNF%
DriverVer= 03/15/2011, 0.03.15.0011
CatalogFile=qxldod.cat
PnpLockdown=1
;
; Source file information
;
[SourceDisksNames]
1 = %DiskId1%,,,""
[SourceDisksFiles]
qxldod.sys = 1,,
[ControlFlags]
;ExcludeFromSelect = *
[DestinationDirs]
DefaultDestDir = 10
QxlDod_Files_Driver = 12
QxlDod.Files = 12
;
; Driver information
;
[SourceDisksNames]
0=%Desc_Sample%
[SourceDisksFiles]
QxlDod.sys=0
[Manufacturer]
%RHEL%=RHEL,NT$ARCH$.6.2
%MNF%=MNF,NTamd64
[RHEL.NT$ARCH$.6.2]
%RHELQxl.DeviceDesc% = QxlDod_Inst, PCI\VEN_1B36&DEV_0100&SUBSYS_11001AF4
[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
[QxlDod_Files_Driver]
qxldod.sys,,,2
[QxlDod_Inst]
Include=msdv.inf
FeatureScore=F9
CopyFiles=QxlDod_Files_Driver
AddReg=QxlDod_DeviceSettings
CopyFiles = QxlDod.Files
AddReg = QxlDod_SoftwareDeviceSettings
;
; Install driver service
;
[QxlDod_Inst.Services]
AddService = QxlDod,0x00000002,QxlDod_Service_Inst, QxlDod_EventLog_Inst
AddService = QxlDod,0x00000002,QxlDod_Service_Inst,
[QxlDod_Service_Inst]
ServiceType = %SERVICE_KERNEL_DRIVER%
@ -59,6 +61,19 @@ 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
@ -66,17 +81,15 @@ 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."
MNF= "SPICE"
Desc_Sample = "Data"
; *******Non Localizable Strings*******
SERVICE_BOOT_START = 0x0
SERVICE_SYSTEM_START = 0x1
SERVICE_AUTO_START = 0x2

93
qxldod/qxldod.inx Executable file
View File

@ -0,0 +1,93 @@
; 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
;
; 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

@ -1,49 +1,31 @@
//
// Include the necessary resources
//
#include <winver.h>
#include <ntdef.h>
#include <windows.h>
#ifdef RC_INVOKED
#include <ntverp.h>
//
// Set up debug information
//
#if DBG
#define VER_DBG VS_FF_DEBUG
#else
#define VER_DBG 0
#endif
#undef VER_PRODUCTBUILD
#undef VER_PRODUCTBUILD_QFE
#undef VER_PRODUCTNAME_STR
#undef VER_PRODUCTMAJORVERSION
#undef VER_PRODUCTMINORVERSION
#undef VER_COMPANYNAME_STR
#undef VER_LEGALTRADEMARKS_STR
#undef VER_LEGALCOPYRIGHT_STR
// ------- version info -------------------------------------------------------
#define VER_COMPANYNAME_STR "Red Hat Inc."
#define VER_LEGALTRADEMARKS_STR ""
#define VER_LEGALCOPYRIGHT_STR "Copyright (C) 2008-2016 Red Hat Inc."
VS_VERSION_INFO VERSIONINFO
FILEVERSION 10,0,1,0
PRODUCTVERSION 10,0,1,0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS VER_DBG
FILEOS VOS_NT
FILETYPE VFT_DRV
FILESUBTYPE VFT2_DRV_DISPLAY
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "Comments", "QXL WDDM DOD"
VALUE "CompanyName", "Red Hat Inc., Nefarius Software Solutions e.U."
VALUE "FileDescription", "QXL WDDM DOD"
VALUE "FileVersion", "10.0.1.0"
VALUE "InternalName", "QXL WDDM DOD"
VALUE "LegalCopyright", "Copyright (C) 2008-2016 Red Hat Inc., 2024 Nefarius Software Solutions e.U."
VALUE "OriginalFilename", "qxldod.sys"
VALUE "ProductName", "QXL WDDM DOD"
VALUE "ProductVersion", "10.0.1.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409,1200
END
END
#endif
#define VER_PRODUCTMAJORVERSION VERSION_V1
#define VER_PRODUCTMINORVERSION VERSION_V2
#define VER_PRODUCTBUILD VERSION_V3
#define VER_PRODUCTBUILD_QFE VERSION_V4
#define VER_FILETYPE VFT_DRV
#define VER_FILESUBTYPE VFT2_DRV_DISPLAY
#define VER_FILEDESCRIPTION_STR "QXL WDDM DOD"
#define VER_INTERNALNAME_STR "qxldod.sys"
#define VER_ORIGINALFILENAME_STR "qxldod.sys"
#define VER_PRODUCTNAME_STR VER_FILEDESCRIPTION_STR
#define VER_LANGNEUTRAL
#include "common.ver"

View File

@ -1,14 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Win10Debug_NoSign|Win32">
<Configuration>Win10Debug_NoSign</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Win10Debug_NoSign|x64">
<Configuration>Win10Debug_NoSign</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Win10Debug|Win32">
<Configuration>Win10Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Win10Debug|x64">
<Configuration>Win10Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Win10Release|Win32">
<Configuration>Win10Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Win10Release|x64">
<Configuration>Win10Release</Configuration>
<Platform>x64</Platform>
@ -33,26 +45,47 @@
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project="$(MSBuildProjectDirectory)\Version.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug|x64'" Label="Configuration">
<TargetVersion>Windows10</TargetVersion>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug|Win32'" Label="Configuration">
<TargetVersion>
</TargetVersion>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ALLOW_DATE_TIME>1</ALLOW_DATE_TIME>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug_NoSign|Win32'" Label="Configuration">
<TargetVersion />
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ALLOW_DATE_TIME>1</ALLOW_DATE_TIME>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Release|Win32'" Label="Configuration">
<TargetVersion />
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ALLOW_DATE_TIME>1</ALLOW_DATE_TIME>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug|x64'" Label="Configuration">
<TargetVersion>
</TargetVersion>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ALLOW_DATE_TIME>1</ALLOW_DATE_TIME>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug_NoSign|x64'" Label="Configuration">
<TargetVersion>Windows10</TargetVersion>
<TargetVersion />
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ALLOW_DATE_TIME>1</ALLOW_DATE_TIME>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Release|x64'" Label="Configuration">
<TargetVersion>Windows10</TargetVersion>
<TargetVersion>
</TargetVersion>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ALLOW_DATE_TIME>1</ALLOW_DATE_TIME>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
@ -64,6 +97,21 @@
<PropertyGroup>
<DebuggerFlavor>DbgengKernelDebugger</DebuggerFlavor>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug|Win32'">
<OutDir>$(SolutionDir)\build\$(Platform)\$(ConfigurationName)\</OutDir>
<IntDir>$(Platform)\$(Configuration)\</IntDir>
<TargetName>qxldod</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug_NoSign|Win32'">
<OutDir>$(SolutionDir)\build\$(Platform)\$(ConfigurationName)\</OutDir>
<IntDir>$(Platform)\$(Configuration)\</IntDir>
<TargetName>qxldod</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Release|Win32'">
<OutDir>$(SolutionDir)\build\$(Platform)\$(ConfigurationName)\</OutDir>
<IntDir>$(Platform)\$(Configuration)\</IntDir>
<TargetName>qxldod</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug|x64'">
<OutDir>$(SolutionDir)\build\$(Platform)\$(ConfigurationName)\</OutDir>
<IntDir>$(Platform)\$(Configuration)\</IntDir>
@ -79,6 +127,78 @@
<IntDir>$(Platform)\$(Configuration)\</IntDir>
<TargetName>qxldod</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug|Win32'">
<Link>
<AdditionalDependencies>%(AdditionalDependencies);$(DDK_LIB_PATH)\displib.lib;$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\hal.lib</AdditionalDependencies>
</Link>
<ResourceCompile>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH)</AdditionalIncludeDirectories>
</ResourceCompile>
<ClCompile>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH);.\Include</AdditionalIncludeDirectories>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>DBG;_X86_=1;i386=1;STD_CALL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<PostBuildEvent>
<Command>Inf2Cat /driver:$(OutDir) /os:8_X86,6_3_X86</Command>
</PostBuildEvent>
<Inf>
<EnableVerbose>true</EnableVerbose>
<KmdfVersionNumber>
</KmdfVersionNumber>
<UmdfVersionNumber>
</UmdfVersionNumber>
</Inf>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug_NoSign|Win32'">
<Link>
<AdditionalDependencies>%(AdditionalDependencies);$(DDK_LIB_PATH)\displib.lib;$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\hal.lib</AdditionalDependencies>
</Link>
<ResourceCompile>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH)</AdditionalIncludeDirectories>
</ResourceCompile>
<ClCompile>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH);.\Include</AdditionalIncludeDirectories>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>DBG;_X86_=1;i386=1;STD_CALL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<PostBuildEvent>
<Command>Inf2Cat /driver:$(OutDir) /os:8_X86,6_3_X86</Command>
</PostBuildEvent>
<Inf>
<EnableVerbose>true</EnableVerbose>
<KmdfVersionNumber>
</KmdfVersionNumber>
<UmdfVersionNumber>
</UmdfVersionNumber>
</Inf>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10Release|Win32'">
<Link>
<AdditionalDependencies>%(AdditionalDependencies);$(DDK_LIB_PATH)\displib.lib;$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\hal.lib</AdditionalDependencies>
</Link>
<ResourceCompile>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH)</AdditionalIncludeDirectories>
</ResourceCompile>
<ClCompile>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH);.\Include</AdditionalIncludeDirectories>
<WarningLevel>Level3</WarningLevel>
<WppScanConfigurationData>WppTrace.h</WppScanConfigurationData>
<WppEnabled>true</WppEnabled>
</ClCompile>
<PostBuildEvent>
<Command>Inf2Cat /driver:$(OutDir) /os:8_X86,6_3_X86</Command>
</PostBuildEvent>
<Inf>
<EnableVerbose>false</EnableVerbose>
<KmdfVersionNumber>
</KmdfVersionNumber>
<UmdfVersionNumber>
</UmdfVersionNumber>
</Inf>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug|x64'">
<Link>
<AdditionalDependencies>%(AdditionalDependencies);$(DDK_LIB_PATH)\displib.lib;$(DDK_LIB_PATH)\ntoskrnl.lib;$(DDK_LIB_PATH)\hal.lib</AdditionalDependencies>
@ -87,7 +207,7 @@
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH)</AdditionalIncludeDirectories>
</ResourceCompile>
<ClCompile>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH);$(ProjectDir)\Include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH);.\Include</AdditionalIncludeDirectories>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>DBG;_WIN64;_AMD64_;AMD64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@ -101,7 +221,6 @@
</KmdfVersionNumber>
<UmdfVersionNumber>
</UmdfVersionNumber>
<TimeStamp>10.0.1.0</TimeStamp>
</Inf>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug_NoSign|x64'">
@ -112,7 +231,7 @@
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH)</AdditionalIncludeDirectories>
</ResourceCompile>
<ClCompile>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH);$(ProjectDir)\Include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH);.\Include</AdditionalIncludeDirectories>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>DBG;_WIN64;_AMD64_;AMD64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@ -126,7 +245,6 @@
</KmdfVersionNumber>
<UmdfVersionNumber>
</UmdfVersionNumber>
<TimeStamp>10.0.1.0</TimeStamp>
</Inf>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Win10Release|x64'">
@ -137,7 +255,7 @@
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH)</AdditionalIncludeDirectories>
</ResourceCompile>
<ClCompile>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH);$(ProjectDir)\Include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DDK_INC_PATH);$(SDK_INC_PATH);.\Include</AdditionalIncludeDirectories>
<WarningLevel>Level3</WarningLevel>
<WppScanConfigurationData>WppTrace.h</WppScanConfigurationData>
<WppEnabled>true</WppEnabled>
@ -151,7 +269,6 @@
</KmdfVersionNumber>
<UmdfVersionNumber>
</UmdfVersionNumber>
<TimeStamp>10.0.1.0</TimeStamp>
</Inf>
</ItemDefinitionGroup>
<ItemGroup>
@ -163,6 +280,7 @@
<ClInclude Include="compat.h" />
<ClInclude Include="driver.h" />
<ClInclude Include="QxlDod.h" />
<ClInclude Include="resource.h" />
<ClInclude Include="WppTrace.h" />
</ItemGroup>
<ItemGroup>
@ -176,7 +294,7 @@
<ResourceCompile Include="qxldod.rc" />
</ItemGroup>
<ItemGroup>
<Inf Include="qxldod.inf" />
<Inf Include="qxldod.inx" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">

View File

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

View File

@ -3,7 +3,13 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Release|x64'">
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Release|Win32'">
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug_NoSign|x64'">
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10Debug_NoSign|Win32'">
<SignMode>Off</SignMode>
</PropertyGroup>
</Project>

14
qxldod/resource.h Executable file
View File

@ -0,0 +1,14 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by qxldod.rc
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

View File

@ -1,18 +0,0 @@
; qxldod cab file for attestation submission
.OPTION EXPLICIT
.Set CabinetFileCountThreshold=0
.Set FolderFileCountThreshold=0
.Set FolderSizeThreshold=0
.Set MaxCabinetSize=0
.Set MaxDiskFileCount=0
.Set MaxDiskSize=0
.Set CompressionType=MSZIP
.Set Cabinet=on
.Set Compress=on
; x64
.Set CabinetNameTemplate=qxldod_x64.cab
.Set DestinationDir=qxldod_x64
LICENSE
build\x64\Win10Release\qxldod.pdb
build\x64\Win10Release\qxldod\qxldod.inf
build\x64\Win10Release\qxldod\qxldod.sys

View File

@ -1,23 +0,0 @@
@echo off
@setlocal
set MYDIR=%~dp0
pushd "%MYDIR%"
if "%1"=="" (
echo Error: missing version value argument.
exit /b 1
)
where vpatch >nul 2>&1
if errorlevel 1 (
echo Error: vpatch command not found.
exit /b 1
)
vpatch --stamp-version "%1" --target-file ".\qxldod\qxldod.rc" --resource.file-version --resource.product-version
vpatch --stamp-version "%1" --target-file ".\qxldod\qxldod.vcxproj" --vcxproj.inf-time-stamp
popd
endlocal