Commit 056131f6 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

kernel32: GetConsoleAliasW is a stub, make sure it acts like one.

parent 397e7ed3
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment