winhttp: Forward WinHttpCrackUrl and WinHttpCreateUrl to wininet for the time being.
This commit is contained in:
parent
587162c3b6
commit
877d6c95c6
|
@ -4,7 +4,7 @@ SRCDIR = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
MODULE = winhttp.dll
|
MODULE = winhttp.dll
|
||||||
IMPORTLIB = winhttp
|
IMPORTLIB = winhttp
|
||||||
IMPORTS = kernel32
|
IMPORTS = wininet kernel32
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
handle.c \
|
handle.c \
|
||||||
|
|
|
@ -209,3 +209,24 @@ BOOL WINAPI WinHttpAddRequestHeaders (HINTERNET hRequest, LPCWSTR pwszHeaders,
|
||||||
SetLastError(ERROR_NOT_SUPPORTED);
|
SetLastError(ERROR_NOT_SUPPORTED);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI InternetCrackUrlW( LPCWSTR, DWORD, DWORD, LPURL_COMPONENTSW );
|
||||||
|
BOOL WINAPI InternetCreateUrlW( LPURL_COMPONENTS, DWORD, LPWSTR, LPDWORD );
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* WinHttpCrackUrl (winhttp.@)
|
||||||
|
*/
|
||||||
|
BOOL WINAPI WinHttpCrackUrl( LPCWSTR url, DWORD len, DWORD flags, LPURL_COMPONENTSW components )
|
||||||
|
{
|
||||||
|
TRACE("%s, %d, %x, %p\n", debugstr_w(url), len, flags, components);
|
||||||
|
return InternetCrackUrlW( url, len, flags, components );
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* WinHttpCreateUrl (winhttp.@)
|
||||||
|
*/
|
||||||
|
BOOL WINAPI WinHttpCreateUrl( LPURL_COMPONENTS comps, DWORD flags, LPWSTR url, LPDWORD len )
|
||||||
|
{
|
||||||
|
TRACE("%p, 0x%08x, %p, %p\n", comps, flags, url, len);
|
||||||
|
return InternetCreateUrlW( comps, flags, url, len );
|
||||||
|
}
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
@ stdcall WinHttpCheckPlatform()
|
@ stdcall WinHttpCheckPlatform()
|
||||||
@ stdcall WinHttpCloseHandle(ptr)
|
@ stdcall WinHttpCloseHandle(ptr)
|
||||||
@ stdcall WinHttpConnect(ptr wstr long long)
|
@ stdcall WinHttpConnect(ptr wstr long long)
|
||||||
@ stub WinHttpCrackUrl
|
@ stdcall WinHttpCrackUrl(wstr long long ptr)
|
||||||
@ stub WinHttpCreateUrl
|
@ stdcall WinHttpCreateUrl(ptr long ptr ptr)
|
||||||
@ stdcall WinHttpDetectAutoProxyConfigUrl(long ptr)
|
@ stdcall WinHttpDetectAutoProxyConfigUrl(long ptr)
|
||||||
@ stdcall WinHttpGetDefaultProxyConfiguration(ptr)
|
@ stdcall WinHttpGetDefaultProxyConfiguration(ptr)
|
||||||
@ stdcall WinHttpGetIEProxyConfigForCurrentUser(ptr)
|
@ stdcall WinHttpGetIEProxyConfigForCurrentUser(ptr)
|
||||||
|
|
Loading…
Reference in New Issue