msxml3/tests: Windows 10 no longer supports variants by reference, so pass it directly.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2017-01-18 14:57:54 +00:00 committed by Alexandre Julliard
parent 332a6ff916
commit 5124eb99fe
1 changed files with 4 additions and 5 deletions

View File

@ -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 */