mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Added stubs for HttpEndRequestA/W, InternetReadFileExA/W,
SetUrlCacheEntryGroup, CreateUrlCacheGroup, DeleteUrlCacheGroup.
This commit is contained in:
parent
2d0acacb45
commit
a8b3216670
6 changed files with 122 additions and 9 deletions
|
@ -876,6 +876,19 @@ HRESULT WINAPI CoInternetGetSession(DWORD dwSessionMode, /*IInternetSession*/voi
|
|||
return E_OUTOFMEMORY;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* FindMimeFromData (URLMON.@)
|
||||
*
|
||||
* Determines the Multipurpose Internet Mail Extensions (MIME) type from the data provided.
|
||||
*
|
||||
*/
|
||||
HRESULT FindMimeFromData(LPBC pBC, LPCWSTR pwzUrl, LPVOID pBuffer,
|
||||
DWORD cbSize, LPCWSTR pwzMimeProposed, DWORD dwMimeFlags,
|
||||
LPWSTR* ppwzMimeOut, DWORD dwReserved)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
return E_OUTOFMEMORY;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* RegisterBindStatusCallback (URLMON.@)
|
||||
|
@ -949,6 +962,17 @@ HRESULT WINAPI RevokeBindStatusCallback(
|
|||
return hr;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* ReleaseBindInfo (URLMON.@)
|
||||
*
|
||||
* Releases the resources used by the specified BINDINFO structure
|
||||
*
|
||||
*/
|
||||
void ReleaseBindInfo(BINDINFO* pbindinfo)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* Extract (URLMON.@)
|
||||
*
|
||||
|
|
|
@ -32,7 +32,7 @@ init URLMON_DllEntryPoint
|
|||
@ stub FaultInIEFeature
|
||||
@ stub FindMediaType
|
||||
@ stub FindMediaTypeClass
|
||||
@ stub FindMimeFromData
|
||||
@ stdcall FindMimeFromData(long ptr ptr long ptr long ptr long) FindMimeFromData
|
||||
@ stub GetClassFileOrMime
|
||||
@ stub GetClassURL
|
||||
@ stub GetComponentIDFromCLSSPEC
|
||||
|
@ -55,7 +55,7 @@ init URLMON_DllEntryPoint
|
|||
@ stub RegisterFormatEnumerator
|
||||
@ stub RegisterMediaTypeClass
|
||||
@ stub RegisterMediaTypes
|
||||
@ stub ReleaseBindInfo
|
||||
@ stdcall ReleaseBindInfo(ptr) ReleaseBindInfo
|
||||
@ stdcall RevokeBindStatusCallback(ptr ptr) RevokeBindStatusCallback
|
||||
@ stub RevokeFormatEnumerator
|
||||
@ stub SetSoftwareUpdateAdvertisementState
|
||||
|
|
|
@ -147,6 +147,39 @@ BOOL WINAPI HttpAddRequestHeadersA(HINTERNET hHttpRequest,
|
|||
return bSuccess;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* HttpEndRequestA (WININET.@)
|
||||
*
|
||||
* Ends an HTTP request that was started by HttpSendRequestEx
|
||||
*
|
||||
* RETURNS
|
||||
* TRUE if successful
|
||||
* FALSE on failure
|
||||
*
|
||||
*/
|
||||
BOOL WINAPI HttpEndRequestA(HINTERNET hRequest, LPINTERNET_BUFFERSA lpBuffersOut,
|
||||
DWORD dwFlags, DWORD dwContext)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* HttpEndRequestW (WININET.@)
|
||||
*
|
||||
* Ends an HTTP request that was started by HttpSendRequestEx
|
||||
*
|
||||
* RETURNS
|
||||
* TRUE if successful
|
||||
* FALSE on failure
|
||||
*
|
||||
*/
|
||||
BOOL WINAPI HttpEndRequestW(HINTERNET hRequest, LPINTERNET_BUFFERSW lpBuffersOut,
|
||||
DWORD dwFlags, DWORD dwContext)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* HttpOpenRequestA (WININET.@)
|
||||
|
|
|
@ -940,6 +940,41 @@ BOOL WINAPI InternetReadFile(HINTERNET hFile, LPVOID lpBuffer,
|
|||
return retval;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* InternetReadFileExA (WININET.@)
|
||||
*
|
||||
* Read data from an open internet file
|
||||
*
|
||||
* RETURNS
|
||||
* TRUE on success
|
||||
* FALSE on failure
|
||||
*
|
||||
*/
|
||||
BOOL WINAPI InternetReadFileExA(HINTERNET hFile, LPINTERNET_BUFFERSA lpBuffer,
|
||||
DWORD dwFlags, DWORD dwContext)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* InternetReadFileExW (WININET.@)
|
||||
*
|
||||
* Read data from an open internet file
|
||||
*
|
||||
* RETURNS
|
||||
* TRUE on success
|
||||
* FALSE on failure
|
||||
*
|
||||
*/
|
||||
BOOL WINAPI InternetReadFileExW(HINTERNET hFile, LPINTERNET_BUFFERSW lpBuffer,
|
||||
DWORD dwFlags, DWORD dwContext)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
|
||||
INTERNET_SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* InternetQueryOptionA (WININET.@)
|
||||
|
|
|
@ -36,6 +36,12 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(wininet);
|
||||
|
||||
INTERNETAPI GROUPID WINAPI CreateUrlCacheGroup(DWORD dwFlags, LPVOID
|
||||
lpReserved)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
INTERNETAPI HANDLE WINAPI FindFirstUrlCacheEntryA(LPCSTR lpszUrlSearchPattern,
|
||||
LPINTERNET_CACHE_ENTRY_INFOA lpFirstCacheEntryInfo, LPDWORD lpdwFirstCacheEntryInfoBufferSize)
|
||||
|
@ -66,3 +72,18 @@ BOOL WINAPI DeleteUrlCacheEntry(LPCSTR lpszUrlName)
|
|||
SetLastError(ERROR_FILE_NOT_FOUND);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL WINAPI DeleteUrlCacheGroup(GROUPID GroupId, DWORD dwFlags, LPVOID lpReserved)
|
||||
{
|
||||
FIXME("STUB\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL WINAPI SetUrlCacheEntryGroup(LPCSTR lpszUrlName, DWORD dwFlags,
|
||||
GROUPID GroupId, LPBYTE pbGroupAttributes, DWORD cbGroupAttributes,
|
||||
LPVOID lpReserved)
|
||||
{
|
||||
FIXME("STUB\n");
|
||||
SetLastError(ERROR_FILE_NOT_FOUND);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -8,12 +8,12 @@ init WININET_LibMain
|
|||
@ stub CreateUrlCacheContainerW
|
||||
@ stub CreateUrlCacheEntryA
|
||||
@ stub CreateUrlCacheEntryW
|
||||
@ stub CreateUrlCacheGroup
|
||||
@ stdcall CreateUrlCacheGroup(long ptr) CreateUrlCacheGroup
|
||||
@ stub DeleteIE3Cache
|
||||
@ stub DeleteUrlCacheContainerA
|
||||
@ stub DeleteUrlCacheContainerW
|
||||
@ stdcall DeleteUrlCacheEntry(str) DeleteUrlCacheEntry
|
||||
@ stub DeleteUrlCacheGroup
|
||||
@ stdcall DeleteUrlCacheGroup(long long ptr) DeleteUrlCacheGroup
|
||||
@ stdcall DllInstall(long ptr) WININET_DllInstall
|
||||
@ stub FindCloseUrlCache
|
||||
@ stub FindFirstUrlCacheContainerA
|
||||
|
@ -69,8 +69,8 @@ init WININET_LibMain
|
|||
@ stub GopherOpenFileW
|
||||
@ stdcall HttpAddRequestHeadersA(ptr str long long) HttpAddRequestHeadersA
|
||||
@ stub HttpAddRequestHeadersW
|
||||
@ stub HttpEndRequestA
|
||||
@ stub HttpEndRequestW
|
||||
@ stdcall HttpEndRequestA(ptr ptr long long) HttpEndRequestA
|
||||
@ stdcall HttpEndRequestW(ptr ptr long long) HttpEndRequestW
|
||||
@ stdcall HttpOpenRequestA(ptr str str str str ptr long long) HttpOpenRequestA
|
||||
@ stub HttpOpenRequestW
|
||||
@ stdcall HttpQueryInfoA(ptr long ptr ptr ptr) HttpQueryInfoA
|
||||
|
@ -121,8 +121,8 @@ init WININET_LibMain
|
|||
@ stdcall InternetQueryOptionA(ptr long ptr ptr) InternetQueryOptionA
|
||||
@ stub InternetQueryOptionW
|
||||
@ stdcall InternetReadFile(ptr ptr long ptr) InternetReadFile
|
||||
@ stub InternetReadFileExA
|
||||
@ stub InternetReadFileExW
|
||||
@ stdcall InternetReadFileExA(ptr ptr long long) InternetReadFileExA
|
||||
@ stdcall InternetReadFileExW(ptr ptr long long) InternetReadFileExW
|
||||
@ stub InternetServerPushParse
|
||||
@ stdcall InternetSetCookieA(str str str) InternetSetCookieA
|
||||
@ stub InternetSetCookieW
|
||||
|
@ -151,7 +151,7 @@ init WININET_LibMain
|
|||
@ stub RunOnceUrlCache
|
||||
@ stub SetUrlCacheConfigInfoA
|
||||
@ stub SetUrlCacheConfigInfoW
|
||||
@ stub SetUrlCacheEntryGroup
|
||||
@ stdcall SetUrlCacheEntryGroup(str long long ptr long ptr) SetUrlCacheEntryGroup
|
||||
@ stub SetUrlCacheEntryInfoA
|
||||
@ stub SetUrlCacheEntryInfoW
|
||||
@ stub SetUrlCacheHeaderData
|
||||
|
|
Loading…
Reference in a new issue