mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 13:16:07 +00:00
- Fix 1 wine console test
svn path=/trunk/; revision=39211
This commit is contained in:
parent
e1e7e5586d
commit
01eaa29cb3
1 changed files with 6 additions and 2 deletions
|
@ -2893,14 +2893,18 @@ GetConsoleCursorInfo(HANDLE hConsoleOutput,
|
||||||
|
|
||||||
if (!lpConsoleCursorInfo)
|
if (!lpConsoleCursorInfo)
|
||||||
{
|
{
|
||||||
SetLastError(ERROR_INVALID_ACCESS);
|
if (!hConsoleOutput)
|
||||||
|
SetLastError(ERROR_INVALID_HANDLE);
|
||||||
|
else
|
||||||
|
SetLastError(ERROR_INVALID_ACCESS);
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
CsrRequest = MAKE_CSR_API(GET_CURSOR_INFO, CSR_CONSOLE);
|
CsrRequest = MAKE_CSR_API(GET_CURSOR_INFO, CSR_CONSOLE);
|
||||||
Request.Data.GetCursorInfoRequest.ConsoleHandle = hConsoleOutput;
|
Request.Data.GetCursorInfoRequest.ConsoleHandle = hConsoleOutput;
|
||||||
|
|
||||||
Status = CsrClientCallServer( &Request, NULL, CsrRequest, sizeof( CSR_API_MESSAGE ) );
|
Status = CsrClientCallServer(&Request, NULL, CsrRequest, sizeof(CSR_API_MESSAGE));
|
||||||
|
|
||||||
if (!NT_SUCCESS(Status) || !NT_SUCCESS(Status = Request.Status))
|
if (!NT_SUCCESS(Status) || !NT_SUCCESS(Status = Request.Status))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue