Huw Davies : msxml3/tests: Windows 10 no longer supports variants by reference, so pass it directly.
Alexandre Julliard
julliard at winehq.org
Wed Jan 18 16:34:19 CST 2017
Module: wine
Branch: master
Commit: 5124eb99fea49ac83b16778d348e81510d1d4f4b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5124eb99fea49ac83b16778d348e81510d1d4f4b
Author: Huw Davies <huw at codeweavers.com>
Date: Wed Jan 18 14:57:54 2017 +0000
msxml3/tests: Windows 10 no longer supports variants by reference, so pass it directly.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msxml3/tests/httpreq.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/dlls/msxml3/tests/httpreq.c b/dlls/msxml3/tests/httpreq.c
index b50b153..55ea8b6 100644
--- a/dlls/msxml3/tests/httpreq.c
+++ b/dlls/msxml3/tests/httpreq.c
@@ -1433,7 +1433,7 @@ static void test_XMLHTTP(void)
IXMLHttpRequest *xhr;
IObjectWithSite *obj_site, *obj_site2;
BSTR bstrResponse, str, str1;
- VARIANT varbody, varbody_ref;
+ VARIANT varbody;
VARIANT dummy;
LONG state, status, bound;
IDispatch *event;
@@ -1619,12 +1619,11 @@ static void test_XMLHTTP(void)
SysFreeString(bstrResponse);
}
- /* POST: VT_VARIANT|VT_BYREF body */
+ /* POST: VT_VARIANT body */
+ /* VT_VARIANT|VT_BYREF fails on Windows 10 */
test_open(xhr, "POST", urlA, S_OK);
- V_VT(&varbody_ref) = VT_VARIANT|VT_BYREF;
- V_VARIANTREF(&varbody_ref) = &varbody;
- hr = IXMLHttpRequest_send(xhr, varbody_ref);
+ hr = IXMLHttpRequest_send(xhr, varbody);
EXPECT_HR(hr, S_OK);
/* GET request */
More information about the wine-cvs
mailing list