[Windows] Drop support for Windows 7/8/8.1.

This commit is contained in:
Pāvels Nadtočajevs
2025-05-30 11:15:06 +03:00
parent b89c47bb85
commit 617e12a6b4
11 changed files with 45 additions and 376 deletions

View File

@@ -45,7 +45,7 @@ static Error set_name(const String &p_name) {
HANDLE hThread = GetCurrentThread();
HRESULT res = E_FAIL;
if (w10_SetThreadDescription) {
res = w10_SetThreadDescription(hThread, (LPCWSTR)p_name.utf16().get_data());
res = w10_SetThreadDescription(hThread, (LPCWSTR)p_name.utf16().get_data()); // Windows 10 Redstone (1607) only.
}
return SUCCEEDED(res) ? OK : ERR_INVALID_PARAMETER;
}