From 2ef724113a1a80c7305a176625bd190bae346007 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 23 Oct 2008 16:19:27 -0700 Subject: [PATCH] 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 0f3c9c250c3..2001f0b3bc1 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 bc3de934b35..15944b6d8f8 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 5ac78f27b7b..866f9a8a65d 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")