Skip to content

Commit 9992fb1

Browse files
[SDK] d3dkmthk.h: Fix an '#ifdef __REACTOS__' (reactos#7474)
Addendum to commit 6907831. - Reverse inclusion. - Remove copypasta about WDDM version.
1 parent 2834e5b commit 9992fb1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

sdk/include/ddk/d3dkmthk.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5649,15 +5649,13 @@ typedef _Check_return_ NTSTATUS (APIENTRY *PFND3DKMT_CANCELPRESENTS)(_In_ D3DKMT
56495649

56505650
#endif
56515651

5652-
#ifdef __REACTOS__
5653-
#if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WDDM2_2)
5652+
#if !defined(__REACTOS__) || (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WDDM2_2)
56545653
EXTERN_C _Check_return_ NTSTATUS APIENTRY D3DKMTShareObjectWithHost(_Inout_ D3DKMT_SHAREOBJECTWITHHOST*);
56555654
EXTERN_C _Check_return_ NTSTATUS APIENTRY D3DKMTCreateSyncFile(_Inout_ D3DKMT_CREATESYNCFILE*);
56565655

56575656
// Used in WSL to close the internal file descriptor to /dev/dxg
56585657
EXTERN_C VOID APIENTRY D3DKMTCloseDxCoreDevice();
5659-
#endif // DXGKDDI_INTERFACE_VERSION_WDDM3_0
5660-
#endif // __REACTOS__
5658+
#endif
56615659

56625660
#if !defined(D3DKMDT_SPECIAL_MULTIPLATFORM_TOOL)
56635661

0 commit comments

Comments
 (0)