Rein Klazes wijn@wanadoo.nl writes:
@@ -210,7 +212,12 @@ static int set_process_console( struct p if (process->create_flags & CREATE_NEW_CONSOLE) { /* let the process init do the allocation */
return 1;
/* unless the startup info specifies to use */
/* the io handles in the startup info */
if( !info || !info->data ||
!((((RTL_USER_PROCESS_PARAMETERS *)info->data)->dwFlags) &
STARTF_USESTDHANDLES))
return 1;
The server must not know about the process parameters structure, the STARTF_USESTDHANDLES flag has to be handled on the client side.