[1/2] winhttp/tests: Add another test for IWinHttpRequest_Invoke.
Dmitry Timoshkov
dmitry at baikal.ru
Thu Oct 1 21:24:58 CDT 2015
This test intentionally uses fallback path of IWinHttpRequest_Invoke
implementation that passes the call to typelib marshaller.
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
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
More information about the wine-patches
mailing list