FS_TransactNamedPipe(
PIOREQ pir
)
Data is written to and read from a named pipe in a single request through FS_TransactNamedPipe. This routine handles the Win32 function: TransactNamedPipe().
ir_error | Returns status of the operation ( 0 if no error, errorcode otherwise ). |
ir_length | Returns number of bytes actually read from the pipe. |
This operation may take place asynchronously, and it is recommended that the implementation of this function be async when ever possible. To do this, the function may return STATUS_PENDING to allow the caller to continue processing while the operation completes. If STATUS_PENDING is returned, the Complete_Async() service in the IFSMGR must be called when the operation completes. The address of the I/O request packet must be passed to identify the completed request.