kernel32: Add stub for GetConsoleAliasW.
This commit is contained in:
parent
adb5eb9c11
commit
93488b19dc
|
@ -2666,3 +2666,26 @@ BOOL CONSOLE_GetEditionMode(HANDLE hConIn, int* mode)
|
||||||
SERVER_END_REQ;
|
SERVER_END_REQ;
|
||||||
return ret;
|
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 GetConsoleAliasExesLengthA
|
||||||
@ stub GetConsoleAliasExesLengthW
|
@ stub GetConsoleAliasExesLengthW
|
||||||
@ stub GetConsoleAliasExesW
|
@ stub GetConsoleAliasExesW
|
||||||
@ stub GetConsoleAliasW
|
@ stdcall GetConsoleAliasW(wstr ptr long wstr)
|
||||||
@ stub GetConsoleAliasesA
|
@ stub GetConsoleAliasesA
|
||||||
@ stub GetConsoleAliasesLengthA
|
@ stub GetConsoleAliasesLengthA
|
||||||
@ stub GetConsoleAliasesLengthW
|
@ stub GetConsoleAliasesLengthW
|
||||||
|
|
Loading…
Reference in New Issue