windows: Added WIN_IsWindowsXP, for extreme runtime compatibility checks.

Reference Issue #8666.
This commit is contained in:
Ryan C. Gordon committed 2024-01-27 20:15:08 -05:00
1 parent 56fa22c63b
commit 2144c2ac71
2 files changed
+12

No files matched your search

+3
View File
@@ -145,6 +145,9 @@ extern void WIN_CoUninitialize(void);
extern HRESULT WIN_RoInitialize(void);
extern void WIN_RoUninitialize(void);
/* Returns SDL_TRUE if we're running on Windows XP (any service pack). DOES NOT CHECK XP "OR GREATER"! */
extern BOOL WIN_IsWindowsXP(void);
/* Returns SDL_TRUE if we're running on Windows Vista and newer */
extern BOOL WIN_IsWindowsVistaOrGreater(void);