Add the Windows notification driver

Notifications are supported on Win10 and above.
This commit is contained in:
Frank Praznik
2026-04-06 12:45:56 -04:00
parent 8275f6e90d
commit 984b03680f
6 changed files with 1202 additions and 2 deletions

View File

@@ -379,6 +379,11 @@ BOOL WIN_IsWindows81OrGreater(void)
CHECKWINVER(TRUE, IsWindowsVersionOrGreater(HIBYTE(_WIN32_WINNT_WINBLUE), LOBYTE(_WIN32_WINNT_WINBLUE), 0));
}
BOOL WIN_IsWindows10OrGreater(void)
{
CHECKWINVER(TRUE, IsWindowsVersionOrGreater(HIBYTE(_WIN32_WINNT_WIN10), LOBYTE(_WIN32_WINNT_WIN10), 0));
}
BOOL WIN_IsWindows11OrGreater(void)
{
return IsWindowsBuildVersionAtLeast(22000);

View File

@@ -196,6 +196,9 @@ extern BOOL WIN_IsWindows8OrGreater(void);
// Returns true if we're running on Windows 8.1 and newer
extern BOOL WIN_IsWindows81OrGreater(void);
// Returns true if we're running on Windows 10 and newer
extern BOOL WIN_IsWindows10OrGreater(void);
// Returns true if we're running on Windows 11 and newer
extern BOOL WIN_IsWindows11OrGreater(void);

File diff suppressed because it is too large Load Diff