Win32 console needs SYNCHRONIZE access.

This commit is contained in:
Marcus Meissner 1999-01-20 14:46:49 +00:00 committed by Alexandre Julliard
parent 592ba10565
commit fbc56256c6
1 changed files with 1 additions and 1 deletions

View File

@ -680,7 +680,7 @@ BOOL32 WINAPI AllocConsole(VOID)
}
req.output = 0;
req.access = GENERIC_READ | GENERIC_WRITE;
req.access = GENERIC_READ | GENERIC_WRITE | SYNCHRONIZE;
req.inherit = FALSE;
CLIENT_SendRequest( REQ_OPEN_CONSOLE, -1, 1, &req, sizeof(req) );
if (CLIENT_WaitSimpleReply( &reply, sizeof(reply), NULL ) != ERROR_SUCCESS)