Hans Leidekker : wbemprox: Return 64-bit property values as strings.

Alexandre Julliard julliard at winehq.org
Fri Jun 29 14:24:30 CDT 2012


Module: wine
Branch: master
Commit: d2661b802556e073760af5d70869fb55a8d93b61
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d2661b802556e073760af5d70869fb55a8d93b61

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Fri Jun 29 13:40:11 2012 +0200

wbemprox: Return 64-bit property values as strings.

---

 dlls/wbemprox/query.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/wbemprox/query.c b/dlls/wbemprox/query.c
index 0ac5a3e..f54fcc3 100644
--- a/dlls/wbemprox/query.c
+++ b/dlls/wbemprox/query.c
@@ -702,12 +702,12 @@ HRESULT get_propval( const struct view *view, UINT index, const WCHAR *name, VAR
         V_UI4( ret ) = val;
         break;
     case CIM_SINT64:
-        V_VT( ret ) = VT_I8;
-        V_I8( ret ) = val;
+        V_VT( ret ) = VT_BSTR;
+        V_BSTR( ret ) = get_value_bstr( view->table, row, column );
         break;
     case CIM_UINT64:
-        V_VT( ret ) = VT_UI8;
-        V_UI8( ret ) = val;
+        V_VT( ret ) = VT_BSTR;
+        V_BSTR( ret ) = get_value_bstr( view->table, row, column );
         break;
     default:
         ERR("unhandled column type %u\n", view->table->columns[column].type);




More information about the wine-cvs mailing list