[SDK] d3dkmthk.h: Fix an '#ifdef __REACTOS__' (#7474)

Addendum to commit 6907831.

- Reverse inclusion.
- Remove copypasta about WDDM version.
This commit is contained in:
Serge Gautherie 2024-11-18 21:24:24 +01:00 committed by GitHub
parent 2834e5b3c8
commit 9992fb183a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5649,15 +5649,13 @@ typedef _Check_return_ NTSTATUS (APIENTRY *PFND3DKMT_CANCELPRESENTS)(_In_ D3DKMT
#endif
#ifdef __REACTOS__
#if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WDDM2_2)
#if !defined(__REACTOS__) || (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WDDM2_2)
EXTERN_C _Check_return_ NTSTATUS APIENTRY D3DKMTShareObjectWithHost(_Inout_ D3DKMT_SHAREOBJECTWITHHOST*);
EXTERN_C _Check_return_ NTSTATUS APIENTRY D3DKMTCreateSyncFile(_Inout_ D3DKMT_CREATESYNCFILE*);
// Used in WSL to close the internal file descriptor to /dev/dxg
EXTERN_C VOID APIENTRY D3DKMTCloseDxCoreDevice();
#endif // DXGKDDI_INTERFACE_VERSION_WDDM3_0
#endif // __REACTOS__
#endif
#if !defined(D3DKMDT_SPECIAL_MULTIPLATFORM_TOOL)