Austin English : kernel32: Add stubs for GetConsoleAliasesLengthA/W.

Alexandre Julliard julliard at winehq.org
Mon Jan 23 13:01:11 CST 2012


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

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Jan 19 15:49:08 2012 -0600

kernel32: Add stubs for GetConsoleAliasesLengthA/W.

---

 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 7238936..facdf20 100644
--- a/dlls/kernel32/console.c
+++ b/dlls/kernel32/console.c
@@ -3175,3 +3175,17 @@ DWORD WINAPI GetConsoleCommandHistoryLengthW(LPCWSTR unknown)
     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     return 0;
 }
+
+DWORD WINAPI GetConsoleAliasesLengthA(LPSTR unknown)
+{
+    FIXME(": (%s) stub!\n", debugstr_a(unknown));
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
+
+DWORD WINAPI GetConsoleAliasesLengthW(LPWSTR unknown)
+{
+    FIXME(": (%s) stub!\n", debugstr_w(unknown));
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return 0;
+}
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index 456fb1a..77c54d6 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -460,8 +460,8 @@
 @ stub GetConsoleAliasExesW
 @ stdcall GetConsoleAliasW(wstr ptr long wstr)
 @ stub GetConsoleAliasesA
-@ stub GetConsoleAliasesLengthA
-@ stub GetConsoleAliasesLengthW
+@ stdcall GetConsoleAliasesLengthA(str)
+@ stdcall GetConsoleAliasesLengthW(wstr)
 @ stub GetConsoleAliasesW
 @ stdcall GetConsoleCP()
 @ stub GetConsoleCharType




More information about the wine-cvs mailing list