wasapi: Fixed OSVERSIONINFO initialization (patch provided by Carlo Bramini).
This commit is contained in:
parent
c5d2c51bd6
commit
799a6834a5
1 changed files with 1 additions and 1 deletions
|
|
@ -1081,7 +1081,7 @@ static EWindowsVersion GetWindowsVersion()
|
|||
// by GetVersion API)
|
||||
if ((fnRtlGetVersion = (LPFN_RTLGETVERSION)GetProcAddress(GetModuleHandleA("ntdll"), "RtlGetVersion")) != NULL)
|
||||
{
|
||||
OSVERSIONINFOW ver = { sizeof(OSVERSIONINFOW), 0, 0, 0, {0} };
|
||||
OSVERSIONINFOW ver = { sizeof(OSVERSIONINFOW), 0, 0, 0, 0, {0} };
|
||||
|
||||
PRINT(("WASAPI: getting Windows version with RtlGetVersion()\n"));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue