Commit c1815263 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

winedbg: Use RtlGetVersion to fix displayed Windows version on Win8.1 or 10 prefix.

parent e8f16fcb
......@@ -728,11 +728,11 @@ version_table[] =
static const char *get_windows_version(void)
{
OSVERSIONINFOEXW info = { sizeof(OSVERSIONINFOEXW) };
RTL_OSVERSIONINFOEXW info = { sizeof(RTL_OSVERSIONINFOEXW) };
static char str[64];
int i;
GetVersionExW( (OSVERSIONINFOW *)&info );
RtlGetVersion( &info );
for (i = 0; i < ARRAY_SIZE(version_table); i++)
{
......
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