[4/6] wbemprox: Return 64-bit property values as strings.
Hans Leidekker
hans at codeweavers.com
Fri Jun 29 06:40:11 CDT 2012
---
dlls/wbemprox/query.c | 8 ++++----
1 file 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);
--
1.7.10
More information about the wine-patches
mailing list