mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +00:00
dbghelp: Use RtlGetVersion() for system version detection instead.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b35faeb503
commit
22ea4cd29e
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue