urlmon/tests: Fix timeout for tests on win9x.
This commit is contained in:
parent
bd6b394e84
commit
3a3246527a
|
@ -449,6 +449,7 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
|
||||||
LPWSTR additional_headers = (LPWSTR)0xdeadbeef;
|
LPWSTR additional_headers = (LPWSTR)0xdeadbeef;
|
||||||
BYTE sec_id[100];
|
BYTE sec_id[100];
|
||||||
DWORD fetched = 256, size = 100;
|
DWORD fetched = 256, size = 100;
|
||||||
|
DWORD tid;
|
||||||
|
|
||||||
static const WCHAR wszMimes[] = {'*','/','*',0};
|
static const WCHAR wszMimes[] = {'*','/','*',0};
|
||||||
|
|
||||||
|
@ -518,7 +519,7 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
|
||||||
|
|
||||||
IInternetProtocolSink_AddRef(pOIProtSink);
|
IInternetProtocolSink_AddRef(pOIProtSink);
|
||||||
protocol_sink = pOIProtSink;
|
protocol_sink = pOIProtSink;
|
||||||
CreateThread(NULL, 0, thread_proc, NULL, 0, NULL);
|
CreateThread(NULL, 0, thread_proc, NULL, 0, &tid);
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue