Added WIN_IsWindows8OrGreater() for internal use

This commit is contained in:
Sam Lantinga
2021-01-27 21:30:13 -08:00
parent 808249a5ca
commit d95a9eaedc
3 changed files with 15 additions and 0 deletions

View File

@@ -69,6 +69,9 @@ extern BOOL WIN_IsWindowsVistaOrGreater(void);
/* Returns SDL_TRUE if we're running on Windows 7 and newer */
extern BOOL WIN_IsWindows7OrGreater(void);
/* Returns SDL_TRUE if we're running on Windows 8 and newer */
extern BOOL WIN_IsWindows8OrGreater(void);
/* You need to SDL_free() the result of this call. */
extern char *WIN_LookupAudioDeviceName(const WCHAR *name, const GUID *guid);