Austin English : kernel32: Add a stub for AddConsoleAliasA/W.

Alexandre Julliard julliard at winehq.org
Wed Jan 25 15:14:03 CST 2012


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

Author: Austin English <austinenglish at gmail.com>
Date:   Tue Jan 24 16:11:52 2012 -0800

kernel32: Add a stub for AddConsoleAliasA/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 47e829e..6d429f0 100644
--- a/dlls/kernel32/console.c
+++ b/dlls/kernel32/console.c
@@ -3201,3 +3201,17 @@ VOID WINAPI ExpungeConsoleCommandHistoryW(LPCWSTR unknown)
     FIXME(": (%s) stub!\n", debugstr_w(unknown));
     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
 }
+
+BOOL WINAPI AddConsoleAliasA(LPSTR source, LPSTR target, LPSTR exename)
+{
+    FIXME(": (%s, %s, %s) stub!\n", debugstr_a(source), debugstr_a(target), debugstr_a(exename));
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}
+
+BOOL WINAPI AddConsoleAliasW(LPWSTR source, LPWSTR target, LPWSTR exename)
+{
+    FIXME(": (%s, %s, %s) stub!\n", debugstr_w(source), debugstr_w(target), debugstr_w(exename));
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec
index b1946ac..072cfa1 100644
--- a/dlls/kernel32/kernel32.spec
+++ b/dlls/kernel32/kernel32.spec
@@ -138,8 +138,8 @@
 @ stdcall ActivateActCtx(ptr ptr)
 @ stdcall AddAtomA(str)
 @ stdcall AddAtomW(wstr)
-@ stub AddConsoleAliasA
-@ stub AddConsoleAliasW
+@ stdcall AddConsoleAliasA(str str str)
+@ stdcall AddConsoleAliasW(wstr wstr wstr)
 # @ stub AddLocalAlternateComputerNameA
 # @ stub AddLocalAlternateComputerNameW
 @ stdcall AddRefActCtx(ptr)




More information about the wine-cvs mailing list