Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 117 of file process.c.
Referenced by myCreateProcessStart().
{ CHAR chBuf[2]; LONG pos; pos=0; if (!CloseHandle(hStdoutWr)) { return 0; /* fail */ } for (;;) { LONG dwRead; if( !ReadFile( hStdoutRd, chBuf, 1, (LPDWORD)&dwRead, NULL) || dwRead == 0) { break; } else { srvlst[pos++] = chBuf[0] ; } } return 0; }