Trivial fixes for shlwapi and Internet routines.
This commit is contained in:
parent
7a364bb8aa
commit
d83dfd0173
|
@ -327,7 +327,7 @@ LPSTR WINAPI StrRChrA( LPCSTR lpStart, LPCSTR lpEnd, WORD wMatch )
|
||||||
BOOL dbcs = IsDBCSLeadByte( LOBYTE(wMatch) );
|
BOOL dbcs = IsDBCSLeadByte( LOBYTE(wMatch) );
|
||||||
|
|
||||||
TRACE("(%p, %p, %x)\n", lpStart, lpEnd, wMatch);
|
TRACE("(%p, %p, %x)\n", lpStart, lpEnd, wMatch);
|
||||||
|
if (!lpStart && !lpEnd) return NULL;
|
||||||
if (!lpEnd) lpEnd = lpStart + strlen(lpStart);
|
if (!lpEnd) lpEnd = lpStart + strlen(lpStart);
|
||||||
|
|
||||||
for(; lpStart < lpEnd; lpStart = CharNextA(lpStart))
|
for(; lpStart < lpEnd; lpStart = CharNextA(lpStart))
|
||||||
|
@ -349,6 +349,7 @@ LPWSTR WINAPI StrRChrW( LPCWSTR lpStart, LPCWSTR lpEnd, WORD wMatch)
|
||||||
LPCWSTR lpGotIt = NULL;
|
LPCWSTR lpGotIt = NULL;
|
||||||
|
|
||||||
TRACE("(%p, %p, %x)\n", lpStart, lpEnd, wMatch);
|
TRACE("(%p, %p, %x)\n", lpStart, lpEnd, wMatch);
|
||||||
|
if (!lpStart && !lpEnd) return NULL;
|
||||||
if (!lpEnd) lpEnd = lpStart + strlenW(lpStart);
|
if (!lpEnd) lpEnd = lpStart + strlenW(lpStart);
|
||||||
|
|
||||||
for(; lpStart < lpEnd; lpStart = CharNextW(lpStart))
|
for(; lpStart < lpEnd; lpStart = CharNextW(lpStart))
|
||||||
|
@ -368,7 +369,7 @@ LPSTR WINAPI StrRChrIA( LPCSTR lpStart, LPCSTR lpEnd, WORD wMatch )
|
||||||
BOOL dbcs = IsDBCSLeadByte( LOBYTE(wMatch) );
|
BOOL dbcs = IsDBCSLeadByte( LOBYTE(wMatch) );
|
||||||
|
|
||||||
TRACE("(%p, %p, %x)\n", lpStart, lpEnd, wMatch);
|
TRACE("(%p, %p, %x)\n", lpStart, lpEnd, wMatch);
|
||||||
|
if (!lpStart && !lpEnd) return NULL;
|
||||||
if (!lpEnd) lpEnd = lpStart + strlen(lpStart);
|
if (!lpEnd) lpEnd = lpStart + strlen(lpStart);
|
||||||
|
|
||||||
for(; lpStart < lpEnd; lpStart = CharNextA(lpStart))
|
for(; lpStart < lpEnd; lpStart = CharNextA(lpStart))
|
||||||
|
@ -396,6 +397,7 @@ LPWSTR WINAPI StrRChrIW( LPCWSTR lpStart, LPCWSTR lpEnd, WORD wMatch)
|
||||||
LPCWSTR lpGotIt = NULL;
|
LPCWSTR lpGotIt = NULL;
|
||||||
|
|
||||||
TRACE("(%p, %p, %x)\n", lpStart, lpEnd, wMatch);
|
TRACE("(%p, %p, %x)\n", lpStart, lpEnd, wMatch);
|
||||||
|
if (!lpStart && !lpEnd) return NULL;
|
||||||
if (!lpEnd) lpEnd = lpStart + strlenW(lpStart);
|
if (!lpEnd) lpEnd = lpStart + strlenW(lpStart);
|
||||||
|
|
||||||
for(; lpStart < lpEnd; lpStart = CharNextW(lpStart))
|
for(; lpStart < lpEnd; lpStart = CharNextW(lpStart))
|
||||||
|
|
|
@ -18,6 +18,22 @@ DEFAULT_DEBUG_CHANNEL(urlmon);
|
||||||
/* native urlmon.dll uses this key, too */
|
/* native urlmon.dll uses this key, too */
|
||||||
static WCHAR BSCBHolder[] = { '_','B','S','C','B','_','H','o','l','d','e','r','_',0 };
|
static WCHAR BSCBHolder[] = { '_','B','S','C','B','_','H','o','l','d','e','r','_',0 };
|
||||||
|
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* CreateAsyncBindCtxEx (URLMON.@)
|
||||||
|
*
|
||||||
|
* not implemented
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx *ibind, DWORD options,
|
||||||
|
IBindStatusCallback *callback, IEnumFORMATETC *format, IBindCtx** pbind,
|
||||||
|
DWORD reserved)
|
||||||
|
{
|
||||||
|
FIXME("stub, returns failure\n");
|
||||||
|
return E_INVALIDARG;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* CreateURLMoniker (URLMON.@)
|
* CreateURLMoniker (URLMON.@)
|
||||||
*
|
*
|
||||||
|
|
|
@ -25,7 +25,7 @@ debug_channels (urlmon win32)
|
||||||
@ stub CopyBindInfo
|
@ stub CopyBindInfo
|
||||||
@ stub CopyStgMedium
|
@ stub CopyStgMedium
|
||||||
@ stub CreateAsyncBindCtx
|
@ stub CreateAsyncBindCtx
|
||||||
@ stub CreateAsyncBindCtxEx
|
@ stdcall CreateAsyncBindCtxEx(ptr long ptr ptr ptr long) CreateAsyncBindCtxEx
|
||||||
@ stub CreateFormatEnumerator
|
@ stub CreateFormatEnumerator
|
||||||
@ stdcall CreateURLMoniker(ptr str ptr) CreateURLMoniker
|
@ stdcall CreateURLMoniker(ptr str ptr) CreateURLMoniker
|
||||||
@ stdcall DllCanUnloadNow() URLMON_DllCanUnloadNow
|
@ stdcall DllCanUnloadNow() URLMON_DllCanUnloadNow
|
||||||
|
|
|
@ -699,6 +699,31 @@ BOOL WINAPI InternetCrackUrlA(LPCSTR lpszUrl, DWORD dwUrlLength, DWORD dwFlags,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* GetUrlCacheEntryInfoA (WININET.@)
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
BOOL WINAPI GetUrlCacheEntryInfoA(LPCSTR lpszUrl,
|
||||||
|
LPINTERNET_CACHE_ENTRY_INFOA lpCacheEntry,
|
||||||
|
LPDWORD lpCacheEntrySize)
|
||||||
|
{
|
||||||
|
FIXME("stub\n");
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* CommitUrlCacheEntryA (WININET.@)
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
BOOL WINAPI CommitUrlCacheEntryA(LPCSTR lpszUrl, LPCSTR lpszLocalName,
|
||||||
|
FILETIME ExpireTime, FILETIME lastModified, DWORD cacheEntryType,
|
||||||
|
LPBYTE lpHeaderInfo, DWORD headerSize, LPCSTR fileExtension,
|
||||||
|
DWORD originalUrl)
|
||||||
|
{
|
||||||
|
FIXME("stub\n");
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* InternetAttemptConnect (WININET.@)
|
* InternetAttemptConnect (WININET.@)
|
||||||
*
|
*
|
||||||
|
|
|
@ -11,7 +11,7 @@ debug_channels (wininet)
|
||||||
|
|
||||||
@ stub InternetInitializeAutoProxyDll
|
@ stub InternetInitializeAutoProxyDll
|
||||||
@ stub ShowCertificate
|
@ stub ShowCertificate
|
||||||
@ stub CommitUrlCacheEntryA
|
@ stdcall CommitUrlCacheEntryA(str str long long long str long str str) CommitUrlCacheEntryA
|
||||||
@ stub CommitUrlCacheEntryW
|
@ stub CommitUrlCacheEntryW
|
||||||
@ stub CreateUrlCacheContainerA
|
@ stub CreateUrlCacheContainerA
|
||||||
@ stub CreateUrlCacheContainerW
|
@ stub CreateUrlCacheContainerW
|
||||||
|
@ -61,7 +61,7 @@ debug_channels (wininet)
|
||||||
@ stub FtpSetCurrentDirectoryW
|
@ stub FtpSetCurrentDirectoryW
|
||||||
@ stub GetUrlCacheConfigInfoA
|
@ stub GetUrlCacheConfigInfoA
|
||||||
@ stub GetUrlCacheConfigInfoW
|
@ stub GetUrlCacheConfigInfoW
|
||||||
@ stub GetUrlCacheEntryInfoA
|
@ stdcall GetUrlCacheEntryInfoA(str ptr long) GetUrlCacheEntryInfoA
|
||||||
@ stub GetUrlCacheEntryInfoExA
|
@ stub GetUrlCacheEntryInfoExA
|
||||||
@ stub GetUrlCacheEntryInfoExW
|
@ stub GetUrlCacheEntryInfoExW
|
||||||
@ stub GetUrlCacheEntryInfoW
|
@ stub GetUrlCacheEntryInfoW
|
||||||
|
|
Loading…
Reference in New Issue