From eff816b55ca1a8ad2506e1c0d4fc398f8742ad80 Mon Sep 17 00:00:00 2001 From: Austin English Date: Thu, 19 Jan 2012 15:49:08 -0600 Subject: [PATCH] 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 72389367487..facdf20d50f 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 456fb1ab6df..77c54d6315f 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