Update minimum Windows version to 10 (to match .NET 8)

This commit is contained in:
Wojtek Figat
2025-06-12 08:31:32 +02:00
parent 0fa53f860a
commit 4240646ec7
3 changed files with 7 additions and 13 deletions

View File

@@ -17,7 +17,7 @@
// Fix compilation for Windows 8.1 on the latest Windows SDK
typedef enum _MFVideoSphericalFormat { } MFVideoSphericalFormat;
#endif
#if !defined(MF_SOURCE_READER_CURRENT_TYPE_INDEX) && !defined(PLATFORM_GDK)
#if !defined(MF_SOURCE_READER_CURRENT_TYPE_INDEX) && !defined(PLATFORM_GDK) && WINVER < _WIN32_WINNT_WIN10
// Fix compilation for Windows 7 on the latest Windows SDK
#define MF_SOURCE_READER_CURRENT_TYPE_INDEX 0xFFFFFFFF
#endif