I\'m spawning a process from Win32 using CreateProcess, setting the hStdOutput and hStdError properties of STARTUPINFO to
CreateProcess
hStdOutput
hStdError
STARTUPINFO
There's SetNamedPipeHandleState, but it only controls buffering for remote pipes, not when both ends are on the same computer.