Module: wine Branch: master Commit: 2ef724113a1a80c7305a176625bd190bae346007 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2ef724113a1a80c7305a176625...
Author: Jacek Caban jacek@codeweavers.com Date: Thu Oct 23 16:19:27 2008 -0700
urlmon: Added IsLoggingEnabled[AW] stub implementation.
---
dlls/urlmon/urlmon.spec | 4 ++-- dlls/urlmon/urlmon_main.c | 18 ++++++++++++++++++ include/urlmon.idl | 4 ++++ 3 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/dlls/urlmon/urlmon.spec b/dlls/urlmon/urlmon.spec index 0f3c9c2..2001f0b 100644 --- a/dlls/urlmon/urlmon.spec +++ b/dlls/urlmon/urlmon.spec @@ -51,8 +51,8 @@ @ stub HlinkSimpleNavigateToMoniker @ stdcall HlinkSimpleNavigateToString(wstr wstr wstr ptr ptr ptr long long) @ stdcall IsAsyncMoniker(ptr) -@ stub IsLoggingEnabledA -@ stub IsLoggingEnabledW +@ stdcall IsLoggingEnabledA(str) +@ stdcall IsLoggingEnabledW(wstr) @ stdcall IsValidURL(ptr wstr long) @ stdcall MkParseDisplayNameEx(ptr wstr ptr ptr) @ stdcall ObtainUserAgentString(long str ptr) diff --git a/dlls/urlmon/urlmon_main.c b/dlls/urlmon/urlmon_main.c index bc3de93..15944b6 100644 --- a/dlls/urlmon/urlmon_main.c +++ b/dlls/urlmon/urlmon_main.c @@ -767,3 +767,21 @@ HRESULT WINAPI Extract(void *dest, LPCSTR szCabName)
return pExtract(dest, szCabName); } + +/*********************************************************************** + * IsLoggingEnabledA (URLMON.@) + */ +BOOL WINAPI IsLoggingEnabledA(LPCSTR url) +{ + FIXME("(%s)\n", debugstr_a(url)); + return FALSE; +} + +/*********************************************************************** + * IsLoggingEnabledW (URLMON.@) + */ +BOOL WINAPI IsLoggingEnabledW(LPCWSTR url) +{ + FIXME("(%s)\n", debugstr_w(url)); + return FALSE; +} diff --git a/include/urlmon.idl b/include/urlmon.idl index 5ac78f2..866f9a8 100644 --- a/include/urlmon.idl +++ b/include/urlmon.idl @@ -1461,6 +1461,10 @@ cpp_quote("#define OInetCombineUrl CoInternetCombineUrl") cpp_quote("#define OInetCompareUrl CoInternetCompareUrl") cpp_quote("#define OInetGetSession CoInternetGetSession")
+cpp_quote("BOOL WINAPI IsLoggingEnabledA(LPCSTR);") +cpp_quote("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);") +cpp_quote("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)") + cpp_quote("#define MKSYS_URLMONIKER 6") cpp_quote("#define URL_MK_LEGACY 0") cpp_quote("#define URL_MK_UNIFORM 1")