kernel32: Add stub for GetConsoleAliasW.

This commit is contained in:
Alexander Nicolaysen Sørnes 2008-12-07 20:41:06 +01:00 committed by Alexandre Julliard
parent adb5eb9c11
commit 93488b19dc
2 changed files with 24 additions and 1 deletions

View File

@ -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;
}

View File

@ -452,7 +452,7 @@
@ stub GetConsoleAliasExesLengthA
@ stub GetConsoleAliasExesLengthW
@ stub GetConsoleAliasExesW
@ stub GetConsoleAliasW
@ stdcall GetConsoleAliasW(wstr ptr long wstr)
@ stub GetConsoleAliasesA
@ stub GetConsoleAliasesLengthA
@ stub GetConsoleAliasesLengthW