From 43ea66e330a54a7fd4b783c4bfc231c6ff0a8490 Mon Sep 17 00:00:00 2001 From: Justin Miller Date: Thu, 17 Oct 2024 13:10:06 -0700 Subject: [PATCH] Accept code review suggestions --- media/doc/3rd Party Files.txt | 8 ++++++++ sdk/include/ddk/d3dkmthk.h | 2 +- sdk/include/psdk/d3dkmdt.h | 2 +- sdk/include/psdk/d3dukmdt.h | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/media/doc/3rd Party Files.txt b/media/doc/3rd Party Files.txt index bd86c57550f9c..1139bc05a07eb 100644 --- a/media/doc/3rd Party Files.txt +++ b/media/doc/3rd Party Files.txt @@ -295,3 +295,11 @@ Path: modules/rosapps/lib/vfdlib Used Version: 2.1.2008.206 License: GPL-2.0 (https://spdx.org/licenses/GPL-2.0.html) URL: https://vfd.sourceforge.net/ + +Title: libdxg - WDDM Headers +Path: sdk/include/psdk/d3dukmdt.h +Path: sdk/include/psdk/d3dkmdt.h +Path: sdk/include/ddk/d3dkmthk.h +Used Version: git commit 045831e +License: MIT (https://spdx.org/licenses/MIT.html) +URL: https://github.com/microsoft/libdxg diff --git a/sdk/include/ddk/d3dkmthk.h b/sdk/include/ddk/d3dkmthk.h index 1ab3524f69aaa..bf76168171af5 100644 --- a/sdk/include/ddk/d3dkmthk.h +++ b/sdk/include/ddk/d3dkmthk.h @@ -29,7 +29,7 @@ typedef OBJECT_ATTRIBUTES *POBJECT_ATTRIBUTES; // Available only for Vista (LONGHORN) and later and for // multiplatform tools such as debugger extensions // -#ifdef __REACTOS__ +#if defined(__REACTOS__) || ((NTDDI_VERSION >= NTDDI_LONGHORN) || defined(D3DKMDT_SPECIAL_MULTIPLATFORM_TOOL)) typedef struct _D3DKMT_CREATEDEVICEFLAGS { diff --git a/sdk/include/psdk/d3dkmdt.h b/sdk/include/psdk/d3dkmdt.h index fb77e14e08264..8f254c5800bda 100644 --- a/sdk/include/psdk/d3dkmdt.h +++ b/sdk/include/psdk/d3dkmdt.h @@ -39,7 +39,7 @@ typedef LONG NTSTATUS; // Available only for Vista (LONGHORN) and later and for // multiplatform tools such as debugger extensions // -#ifdef __REACTOS__ +#if defined(__REACTOS__) || ((NTDDI_VERSION >= NTDDI_LONGHORN) || defined(D3DKMDT_SPECIAL_MULTIPLATFORM_TOOL)) // // Hardcoded overlay count diff --git a/sdk/include/psdk/d3dukmdt.h b/sdk/include/psdk/d3dukmdt.h index 85a5fd0dd7b5d..b43f17d6de706 100644 --- a/sdk/include/psdk/d3dukmdt.h +++ b/sdk/include/psdk/d3dukmdt.h @@ -194,7 +194,7 @@ typedef union _D3DKMT_PTR_TYPE // Available only for Vista (LONGHORN) and later and for // multiplatform tools such as debugger extensions // -#ifdef __REACTOS__ +#if defined(__REACTOS__) || ((NTDDI_VERSION >= NTDDI_LONGHORN) || defined(D3DKMDT_SPECIAL_MULTIPLATFORM_TOOL)) typedef ULONGLONG D3DGPU_VIRTUAL_ADDRESS; typedef ULONGLONG D3DGPU_SIZE_T;