Commit 24f78d73 authored by Kirill K. Smirnov's avatar Kirill K. Smirnov Committed by Alexandre Julliard

kernel32: Convert newborn wineserver handle to kernel32 console handle.

parent 43dc80e6
...@@ -1792,7 +1792,7 @@ HANDLE WINAPI CreateConsoleScreenBuffer(DWORD dwDesiredAccess, DWORD dwShareMode ...@@ -1792,7 +1792,7 @@ HANDLE WINAPI CreateConsoleScreenBuffer(DWORD dwDesiredAccess, DWORD dwShareMode
req->access = dwDesiredAccess; req->access = dwDesiredAccess;
req->attributes = (sa && sa->bInheritHandle) ? OBJ_INHERIT : 0; req->attributes = (sa && sa->bInheritHandle) ? OBJ_INHERIT : 0;
req->share = dwShareMode; req->share = dwShareMode;
if (!wine_server_call_err( req )) ret = reply->handle_out; if (!wine_server_call_err( req )) ret = console_handle_map(reply->handle_out);
} }
SERVER_END_REQ; SERVER_END_REQ;
......
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