#include#include#defineNUM_PIPES5#defineBUFFER_SIZE256voidmain(void){HANDLEPipeHandles[NUM_PIPES];DWORDBytesTransferred;CHARBuffer[NUM_PIPES][BUFFER_SIZE];INTi;OVERLAPPEDOvlap[NUM_PIPES];HANDLEEvent[NUM_PIPES];//对每一个通道句柄实例来说,当它进行在读写操作时,代码必须维持通道的当前状态//这个可以用DataRead这个变量数组来实