Commit 6f97e1a3 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

winhttp/tests: Add another test for IWinHttpRequest_Invoke.

This test intentionally uses fallback path of IWinHttpRequest_Invoke implementation that passes the call to typelib marshaller. Signed-off-by: 's avatarDmitry Timoshkov <dmitry@baikal.ru>
parent ce24b284
......@@ -3773,6 +3773,16 @@ todo_wine
ok(hr == DISP_E_PARAMNOTFOUND, "error %#x\n", hr);
SysFreeString(utf8);
params.cArgs = 1;
V_VT(&arg[0]) = VT_I4;
V_I4(&arg[0]) = AutoLogonPolicy_Never;
VariantInit(&ret);
hr = IWinHttpRequest_Invoke(request, DISPID_HTTPREQUEST_SETAUTOLOGONPOLICY, &IID_NULL, 0,
DISPATCH_METHOD, &params, &ret, NULL, NULL);
todo_wine
ok(hr == S_OK, "error %#x\n", hr);
IWinHttpRequest_Release(request);
CoUninitialize();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment