From 9a2c2ed5c2c515dc5a2077c0f0449843da83e2dd Mon Sep 17 00:00:00 2001 From: Austin English Date: Tue, 24 Jan 2012 16:11:52 -0800 Subject: [PATCH] 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 47e829effb..6d429f095f 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 b1946ac082..072cfa114a 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)