mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
fix a kernel32 console winetest crash
svn path=/trunk/; revision=38851
This commit is contained in:
parent
bdcc1ced8f
commit
f143177d3b
1 changed files with 6 additions and 0 deletions
|
@ -2850,6 +2850,12 @@ GetConsoleCursorInfo(
|
|||
|
||||
NTSTATUS Status;
|
||||
|
||||
if (!lpConsoleCursorInfo)
|
||||
{
|
||||
SetLastError(ERROR_INVALID_ACCESS);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
CsrRequest = MAKE_CSR_API(GET_CURSOR_INFO, CSR_CONSOLE);
|
||||
Request.Data.GetCursorInfoRequest.ConsoleHandle = hConsoleOutput;
|
||||
Status = CsrClientCallServer( &Request, NULL, CsrRequest, sizeof( CSR_API_MESSAGE ) );
|
||||
|
|
Loading…
Reference in a new issue