Commit 61cd0648 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

urlmon: Skip more tests on too old IEs.

parent 1fe1676a
...@@ -370,6 +370,11 @@ static void test_URLOpenStreamW(void) ...@@ -370,6 +370,11 @@ static void test_URLOpenStreamW(void)
START_TEST(stream) START_TEST(stream)
{ {
if(!GetProcAddress(GetModuleHandleA("urlmon.dll"), "CompareSecurityIds")) {
win_skip("Too old IE\n");
return;
}
create_file(); create_file();
test_URLOpenBlockingStreamW(); test_URLOpenBlockingStreamW();
test_URLOpenStreamW(); test_URLOpenStreamW();
......
...@@ -3141,6 +3141,11 @@ START_TEST(url) ...@@ -3141,6 +3141,11 @@ START_TEST(url)
hurlmon = GetModuleHandle("urlmon.dll"); hurlmon = GetModuleHandle("urlmon.dll");
pCreateAsyncBindCtxEx = (void*) GetProcAddress(hurlmon, "CreateAsyncBindCtxEx"); pCreateAsyncBindCtxEx = (void*) GetProcAddress(hurlmon, "CreateAsyncBindCtxEx");
if(!GetProcAddress(hurlmon, "CompareSecurityIds")) {
win_skip("Too old IE\n");
return;
}
complete_event = CreateEvent(NULL, FALSE, FALSE, NULL); complete_event = CreateEvent(NULL, FALSE, FALSE, NULL);
complete_event2 = CreateEvent(NULL, FALSE, FALSE, NULL); complete_event2 = CreateEvent(NULL, FALSE, FALSE, NULL);
thread_id = GetCurrentThreadId(); thread_id = GetCurrentThreadId();
......
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