kernel32: add a stub for SetConsoleIcon
Austin English
austinenglish at gmail.com
Tue Jun 5 02:59:49 CDT 2012
Fixes http://bugs.winehq.org/show_bug.cgi?id=30842
--
-Austin
-------------- next part --------------
diff --git a/dlls/kernel32/console.c b/dlls/kernel32/console.c
index 4410a31..c713c2c 100644
--- a/dlls/kernel32/console.c
+++ b/dlls/kernel32/console.c
@@ -3216,3 +3216,11 @@ BOOL WINAPI AddConsoleAliasW(LPWSTR source, LPWSTR target, LPWSTR exename)
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
+
+
+BOOL WINAPI SetConsoleIcon(HICON icon)
+{
+ FIXME(": (%p) stub!\n", icon);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index ec865cc..bad71a9 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -1080,7 +1080,7 @@
@ stdcall SetConsoleDisplayMode(long long ptr)
@ stub SetConsoleFont
@ stub SetConsoleHardwareState
-@ stub SetConsoleIcon
+@ stdcall SetConsoleIcon(ptr)
@ stdcall SetConsoleInputExeNameA(ptr)
@ stdcall SetConsoleInputExeNameW(ptr)
@ stub SetConsoleKeyShortcuts
More information about the wine-patches
mailing list