From 552c5b28694a0d186c1259a4f9c230bcfb81e020 Mon Sep 17 00:00:00 2001 From: Lawson Whitney Date: Wed, 1 Nov 2000 01:46:24 +0000 Subject: [PATCH] Stubs for UrlMkSetSessionOption, SHLWAPI_132, SHGetInverseCMAP. Redirected forward of shlwapi.54 to gdi32.CreateICW. --- dlls/shlwapi/ordinal.c | 18 +++++++++++++++++- dlls/shlwapi/shlwapi.spec | 8 ++++---- dlls/urlmon/urlmon.spec | 2 +- dlls/urlmon/urlmon_main.c | 12 ++++++++++++ 4 files changed, 34 insertions(+), 6 deletions(-) diff --git a/dlls/shlwapi/ordinal.c b/dlls/shlwapi/ordinal.c index 0df667edc6..2fd5798a63 100644 --- a/dlls/shlwapi/ordinal.c +++ b/dlls/shlwapi/ordinal.c @@ -92,7 +92,15 @@ DWORD WINAPI SHLWAPI_24 ( guid->Data4[4], guid->Data4[5], guid->Data4[6], guid->Data4[7] ); return MultiByteToWideChar( CP_ACP, 0, xguid, -1, str, cmax ); } - +/************************************************************************* + * SHLWAPI_137 + */ +DWORD WINAPI SHLWAPI_137( + UINT what) +{ + FIXME("(%#x)stub\n", what); + return 0; +} /************************************************************************* * SHLWAPI_151 [SHLWAPI.151] */ @@ -450,6 +458,14 @@ HPALETTE WINAPI SHCreateShellPalette(HDC hdc) return CreateHalftonePalette(hdc); } +/************************************************************************* + * SHGetInverseCMAP + */ +DWORD WINAPI SHGetInverseCMAP (LPVOID x, DWORD why) +{ + FIXME("(%p, %#lx)stub\n", x, why); + return 0; +} /************************************************************************* * SHIsLowMemoryMachine [SHLWAPI.@] */ diff --git a/dlls/shlwapi/shlwapi.spec b/dlls/shlwapi/shlwapi.spec index a71ec6419f..d4d31b6855 100644 --- a/dlls/shlwapi/shlwapi.spec +++ b/dlls/shlwapi/shlwapi.spec @@ -60,7 +60,7 @@ import kernel32 51 stub @ 52 stub @ 53 stub @ -54 forward @ user32.CreateICW +54 forward @ gdi32.CreateICW 55 forward @ user32.CreateWindowExW 56 forward @ user32.DefWindowProcW 57 stub @ @@ -138,12 +138,12 @@ import kernel32 129 stub @ 130 stub @ 131 forward @ user32.RegisterClassW -132 stub @ +132 forward @ user32.RegisterClipboardFormatW 133 stub @ 134 stub @ 135 stub @ 136 stub @ -137 stub @ +137 stdcall @(long) SHLWAPI_137 138 stub @ 139 stub @ 140 stub @ @@ -570,7 +570,7 @@ import kernel32 @ stub SHEnumKeyExW @ stub SHEnumValueA @ stub SHEnumValueW -@ stub SHGetInverseCMAP +@ stdcall SHGetInverseCMAP ( ptr long ) SHGetInverseCMAP @ stdcall SHGetValueA ( long str str ptr ptr ptr ) SHGetValueA @ stdcall SHGetValueW ( long wstr wstr ptr ptr ptr ) SHGetValueW @ stdcall SHIsLowMemoryMachine(long)SHIsLowMemoryMachine diff --git a/dlls/urlmon/urlmon.spec b/dlls/urlmon/urlmon.spec index 405dcdc700..0a86c52ddc 100644 --- a/dlls/urlmon/urlmon.spec +++ b/dlls/urlmon/urlmon.spec @@ -76,7 +76,7 @@ import ole32.dll @ stub URLOpenStreamW @ stub UrlMkBuildVersion @ stub UrlMkGetSessionOption -@ stub UrlMkSetSessionOption +@ stdcall UrlMkSetSessionOption(long ptr long long) UrlMkSetSessionOption @ stub WriteHitLogging @ stub ZonesReInit diff --git a/dlls/urlmon/urlmon_main.c b/dlls/urlmon/urlmon_main.c index e4246958b7..ef3dc5186b 100644 --- a/dlls/urlmon/urlmon_main.c +++ b/dlls/urlmon/urlmon_main.c @@ -76,3 +76,15 @@ HRESULT WINAPI URLMON_DllUnregisterServer(void) return S_OK; } +/************************************************************************** + * UrlMkSetSessionOption (URLMON.@) + */ + HRESULT WINAPI UrlMkSetSessionOption(long lost, LPVOID *splat, long time, + long nosee) +{ + FIXME("(%#lx, %p, %#lx, %#lx): stub\n", lost, splat, time, nosee); + + return S_OK; +} + + -- 2.32.0.93.g670b81a890