urlmon: Skip more tests on too old IEs.

This commit is contained in:
Jacek Caban 2010-10-08 17:49:04 +02:00 committed by Alexandre Julliard
parent 1fe1676ae9
commit 61cd0648f2
2 changed files with 10 additions and 0 deletions

View File

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

View File

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