Hans Leidekker : wbemprox: Report the real OS version.
Alexandre Julliard
julliard at winehq.org
Mon Jun 7 15:02:05 CDT 2021
Module: wine
Branch: stable
Commit: 18ab8254e98dc05cb60396c381ae383373bb808e
URL: https://source.winehq.org/git/wine.git/?a=commit;h=18ab8254e98dc05cb60396c381ae383373bb808e
Author: Hans Leidekker <hans at codeweavers.com>
Date: Tue Feb 2 14:25:20 2021 +0100
wbemprox: Report the real OS version.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50580
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit ba06f7a541c44343a9751cc6105211c1ef058c49)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/wbemprox/builtin.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c
index 9ae34a50c0d..f1cf75ab380 100644
--- a/dlls/wbemprox/builtin.c
+++ b/dlls/wbemprox/builtin.c
@@ -3514,13 +3514,13 @@ static enum fill_status fill_operatingsystem( struct table *table, const struct
{
struct record_operatingsystem *rec;
enum fill_status status = FILL_STATUS_UNFILTERED;
- OSVERSIONINFOEXW ver;
+ RTL_OSVERSIONINFOEXW ver;
UINT row = 0;
if (!resize_table( table, 1, sizeof(*rec) )) return FILL_STATUS_FAILED;
ver.dwOSVersionInfoSize = sizeof(ver);
- GetVersionExW( (OSVERSIONINFOW *)&ver );
+ RtlGetVersion( &ver );
rec = (struct record_operatingsystem *)table->data;
rec->buildnumber = get_osbuildnumber( &ver );
More information about the wine-cvs
mailing list