Austin English : kernel32: Add GetConsoleScreenBufferInfoEx/ SetConsoleScreenBufferInfoEx stubs.

Alexandre Julliard julliard at wine.codeweavers.com
Sat Jan 9 03:32:17 CST 2016


Module: wine
Branch: master
Commit: 57d1171208b2114d82422c1d1af2be9b3c86495b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=57d1171208b2114d82422c1d1af2be9b3c86495b

Author: Austin English <austinenglish at gmail.com>
Date:   Sat Dec 26 21:56:10 2015 -0600

kernel32: Add GetConsoleScreenBufferInfoEx/SetConsoleScreenBufferInfoEx stubs.

Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/kernel32/console.c     | 14 ++++++++++++++
 dlls/kernel32/kernel32.spec |  4 ++--
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/dlls/kernel32/console.c b/dlls/kernel32/console.c
index 5db37a0..4767fb2 100644
--- a/dlls/kernel32/console.c
+++ b/dlls/kernel32/console.c
@@ -3331,3 +3331,17 @@ COORD WINAPI GetConsoleFontSize(HANDLE hConsole, DWORD index)
     return get_console_font_size(hConsole, index);
 }
 #endif /* !defined(__i386__) */
+
+BOOL WINAPI GetConsoleScreenBufferInfoEx(HANDLE hConsole, CONSOLE_SCREEN_BUFFER_INFOEX *csbix)
+{
+    FIXME("(%p %p): stub!\n", hConsole, csbix);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}
+
+BOOL WINAPI SetConsoleScreenBufferInfoEx(HANDLE hConsole, CONSOLE_SCREEN_BUFFER_INFOEX *csbix)
+{
+    FIXME("(%p %p): stub!\n", hConsole, csbix);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index d10e6bb..68325ba 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -615,7 +615,7 @@
 @ stdcall GetConsoleOutputCP()
 @ stdcall GetConsoleProcessList(ptr long)
 @ stdcall GetConsoleScreenBufferInfo(long ptr)
-# @ stub GetConsoleScreenBufferInfoEx
+@ stdcall GetConsoleScreenBufferInfoEx(long ptr)
 # @ stub GetConsoleSelectionInfo
 @ stdcall GetConsoleTitleA(ptr long)
 @ stdcall GetConsoleTitleW(ptr long)
@@ -1361,7 +1361,7 @@
 @ stub SetConsoleOS2OemFormat
 @ stdcall SetConsoleOutputCP(long)
 @ stub SetConsolePalette
-# @ stub SetConsoleScreenBufferInfoEx
+@ stdcall SetConsoleScreenBufferInfoEx(long ptr)
 @ stdcall SetConsoleScreenBufferSize(long long)
 @ stdcall SetConsoleTextAttribute(long long)
 @ stdcall SetConsoleTitleA(str)




More information about the wine-cvs mailing list