ExtendedTools: Fix building with legacy v142 toolset
#include "framemon.h"
// d3dkmddi requires the WDK (dmex)
+#if defined(NTDDI_WIN10_CO) && (NTDDI_VERSION >= NTDDI_WIN10_CO)
#ifdef __has_include
#if __has_include (<dxmini.h>) && \
__has_include (<d3dkmddi.h>) && \
@@ -48,6 +49,9 @@ __has_include (<d3dkmthk.h>)
#else
#include "d3dkmt/d3dkmthk.h"
#endif
+#else
+#include "d3dkmt/d3dkmthk.h"
+#endif
#define PH_RECORD_MAX_USAGE 1
