kernel32: Add a stub for AddConsoleAliasA/W.
authorAustin English <austinenglish@gmail.com>
Wed, 25 Jan 2012 00:11:52 +0000 (16:11 -0800)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 25 Jan 2012 12:53:59 +0000 (13:53 +0100)
dlls/kernel32/console.c
dlls/kernel32/kernel32.spec

index 47e829e..6d429f0 100644 (file)
@@ -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;
+}
index b1946ac..072cfa1 100644 (file)
 @ 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)