Added some stubs.

This commit is contained in:
Michael Cardenas 2002-03-21 01:25:42 +00:00 committed by Alexandre Julliard
parent 7dbce65bb2
commit cc7c1c0b93
2 changed files with 37 additions and 3 deletions

View File

@ -19,7 +19,7 @@ debug_channels (urlmon win32)
@ stub CoInternetCreateZoneManager
@ stub CoInternetGetProtocolFlags
@ stub CoInternetGetSecurityUrl
@ stub CoInternetGetSession
@ stdcall CoInternetGetSession(long ptr long) CoInternetGetSession
@ stub CoInternetParseUrl
@ stub CoInternetQueryInfo
@ stub CopyBindInfo
@ -55,7 +55,7 @@ debug_channels (urlmon win32)
@ stub IsLoggingEnabledW
@ stub IsValidURL
@ stub MkParseDisplayNameEx
@ stub ObtainUserAgentString
@ stdcall ObtainUserAgentString(long str ptr) ObtainUserAgentString
@ stub PrivateCoInstall
@ stdcall RegisterBindStatusCallback(ptr ptr ptr long) RegisterBindStatusCallback
@ stub RegisterFormatEnumerator

View File

@ -100,4 +100,38 @@ HRESULT WINAPI URLMON_DllUnregisterServer(void)
return S_OK;
}
/**************************************************************************
* CoInternetGetSession (URLMON.@)
*/
HRESULT WINAPI CoInternetGetSession(DWORD dwSessionMode,
LPVOID /* IInternetSession ** */ ppIInternetSession,
DWORD dwReserved)
{
FIXME("(%ld, %p, %ld): stub\n", dwSessionMode, ppIInternetSession,
dwReserved);
if(dwSessionMode) {
ERR("dwSessionMode: %ld, must be zero\n", dwSessionMode);
}
if(dwReserved) {
ERR("dwReserved: %ld, must be zero\n", dwReserved);
}
return S_OK;
}
/**************************************************************************
* ObtainUserAgentString (URLMON.@)
*/
HRESULT WINAPI ObtainUserAgentString(DWORD dwOption, LPCSTR pcszUAOut, DWORD *cbSize)
{
FIXME("(%ld, %p, %p): stub\n", dwOption, pcszUAOut, cbSize);
if(dwOption) {
ERR("dwOption: %ld, must be zero\n", dwOption);
}
return S_OK;
}