Commit 22ea4cd2 authored by Jactry Zeng's avatar Jactry Zeng Committed by Alexandre Julliard

dbghelp: Use RtlGetVersion() for system version detection instead.

parent b35faeb5
......@@ -607,7 +607,7 @@ static unsigned dump_system_info(struct dump_context* dc)
{
MINIDUMP_SYSTEM_INFO mdSysInfo;
SYSTEM_INFO sysInfo;
OSVERSIONINFOW osInfo;
RTL_OSVERSIONINFOEXW osInfo;
DWORD written;
ULONG slen;
DWORD wine_extra = 0;
......@@ -620,7 +620,7 @@ static unsigned dump_system_info(struct dump_context* dc)
GetSystemInfo(&sysInfo);
osInfo.dwOSVersionInfoSize = sizeof(osInfo);
GetVersionExW(&osInfo);
RtlGetVersion(&osInfo);
wine_get_build_id = (void *)GetProcAddress(GetModuleHandleA("ntdll.dll"), "wine_get_build_id");
wine_get_host_version = (void *)GetProcAddress(GetModuleHandleA("ntdll.dll"), "wine_get_host_version");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment