From: Dmitry Timoshkov Subject: [1/2] winhttp/tests: Add another test for IWinHttpRequest_Invoke. Message-Id: <20151002102458.4e6016bb.dmitry@baikal.ru> Date: Fri, 2 Oct 2015 10:24:58 +0800 This test intentionally uses fallback path of IWinHttpRequest_Invoke implementation that passes the call to typelib marshaller. Signed-off-by: Dmitry Timoshkov --- dlls/winhttp/tests/winhttp.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dlls/winhttp/tests/winhttp.c b/dlls/winhttp/tests/winhttp.c index 381a9c4..e221809 100644 --- a/dlls/winhttp/tests/winhttp.c +++ b/dlls/winhttp/tests/winhttp.c @@ -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, ¶ms, &ret, NULL, NULL); +todo_wine + ok(hr == S_OK, "error %#x\n", hr); + IWinHttpRequest_Release(request); CoUninitialize(); -- 2.6.0