windows: added WIN_IsWindows7OrGreater().

This commit is contained in:
Ryan C. Gordon
2018-02-21 21:36:10 -05:00
parent 6e3d0a133c
commit ed64d54dfd
2 changed files with 12 additions and 0 deletions

View File

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