mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Removed dbgprints
svn path=/trunk/; revision=2221
This commit is contained in:
parent
c6548b080f
commit
145dc8c01d
1 changed files with 2 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: process.c,v 1.14 2001/09/01 15:36:45 chorns Exp $
|
/* $Id: process.c,v 1.15 2001/09/02 12:19:34 chorns Exp $
|
||||||
*
|
*
|
||||||
* reactos/subsys/csrss/api/process.c
|
* reactos/subsys/csrss/api/process.c
|
||||||
*
|
*
|
||||||
|
@ -156,7 +156,7 @@ CSR_API(CsrCreateProcess)
|
||||||
NewProcessData->Console = ProcessData->Console;
|
NewProcessData->Console = ProcessData->Console;
|
||||||
InterlockedIncrement( &(ProcessData->Console->Header.ReferenceCount) );
|
InterlockedIncrement( &(ProcessData->Console->Header.ReferenceCount) );
|
||||||
}
|
}
|
||||||
DbgPrint("Before type\n");
|
|
||||||
if( NewProcessData->Console )
|
if( NewProcessData->Console )
|
||||||
{
|
{
|
||||||
CLIENT_ID ClientId;
|
CLIENT_ID ClientId;
|
||||||
|
@ -168,13 +168,6 @@ CSR_API(CsrCreateProcess)
|
||||||
&Reply->Data.CreateProcessReply.OutputHandle,
|
&Reply->Data.CreateProcessReply.OutputHandle,
|
||||||
&(NewProcessData->Console->ActiveBuffer->Header) );
|
&(NewProcessData->Console->ActiveBuffer->Header) );
|
||||||
|
|
||||||
|
|
||||||
DbgPrint("OutputHandle %x\n", Reply->Data.CreateProcessReply.OutputHandle);
|
|
||||||
DbgPrint("Console %x\n", NewProcessData->Console);
|
|
||||||
DbgPrint("Console->ActiveBuffer %x\n", NewProcessData->Console->ActiveBuffer);
|
|
||||||
DbgPrint("Type %x\n", NewProcessData->Console->ActiveBuffer->Header.Type);
|
|
||||||
|
|
||||||
|
|
||||||
RtlLeaveCriticalSection( &ActiveConsoleLock );
|
RtlLeaveCriticalSection( &ActiveConsoleLock );
|
||||||
ClientId.UniqueProcess = (HANDLE)NewProcessData->ProcessId;
|
ClientId.UniqueProcess = (HANDLE)NewProcessData->ProcessId;
|
||||||
Status = NtOpenProcess( &Process, PROCESS_DUP_HANDLE, 0, &ClientId );
|
Status = NtOpenProcess( &Process, PROCESS_DUP_HANDLE, 0, &ClientId );
|
||||||
|
|
Loading…
Reference in a new issue