kernel32: GetConsoleAliasW is a stub, make sure it acts like one
Austin English
austinenglish at gmail.com
Fri Jun 12 12:03:53 CDT 2009
See bug 16386.
--
-Austin
-------------- next part --------------
diff --git a/dlls/kernel32/console.c b/dlls/kernel32/console.c
index 0caa0ea..34994af 100644
--- a/dlls/kernel32/console.c
+++ b/dlls/kernel32/console.c
@@ -2680,14 +2680,7 @@ BOOL CONSOLE_GetEditionMode(HANDLE hConIn, int* mode)
DWORD WINAPI GetConsoleAliasW(LPWSTR lpSource, LPWSTR lpTargetBuffer,
DWORD TargetBufferLength, LPWSTR lpExename)
{
- static const WCHAR empty[] = {' ',0};
-
FIXME("(%s,%p,%d,%s): stub\n", debugstr_w(lpSource), lpTargetBuffer, TargetBufferLength, debugstr_w(lpExename));
-
- if(TargetBufferLength < sizeof(empty)/sizeof(WCHAR))
- return 0;
-
- lstrcpyW(lpTargetBuffer, empty);
-
- return 1;
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return 0;
}
More information about the wine-patches
mailing list