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: Dmitry Timoshkov <dmitry@baikal.ru>
This commit is contained in:
Dmitry Timoshkov 2015-10-02 10:24:58 +08:00 committed by Alexandre Julliard
parent ce24b284ee
commit 6f97e1a30c
1 changed files with 10 additions and 0 deletions

View File

@ -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();