Commit 93488b19 authored by Alexander Nicolaysen Sørnes's avatar Alexander Nicolaysen Sørnes Committed by Alexandre Julliard

kernel32: Add stub for GetConsoleAliasW.

parent adb5eb9c
......@@ -2666,3 +2666,26 @@ BOOL CONSOLE_GetEditionMode(HANDLE hConIn, int* mode)
SERVER_END_REQ;
return ret;
}
/******************************************************************
* GetConsoleAliasW
*
*
* RETURNS
* 0 if an error occurred, non-zero for success
*
*/
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;
}
......@@ -452,7 +452,7 @@
@ stub GetConsoleAliasExesLengthA
@ stub GetConsoleAliasExesLengthW
@ stub GetConsoleAliasExesW
@ stub GetConsoleAliasW
@ stdcall GetConsoleAliasW(wstr ptr long wstr)
@ stub GetConsoleAliasesA
@ stub GetConsoleAliasesLengthA
@ stub GetConsoleAliasesLengthW
......
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