FS_NamedPipeHandleInfo

FS_NamedPipeHandleInfo(
 PIOREQ pir
 )
 

This call gets and sets the handle buffering information for the named pipe handle that is passed in.

ir_rh
Supplies the handle to the named pipe resource.
ir_fh
Supplies the named pipe FSD file handle.
ir_flags
Supplies the command to perform.
Command Values:  
Value Meaning
HINFO_GET Get the current handle buffering information.
HINFO_SETALL Set all of the handle buffering parameters.
HINFO_SETCHARTIME Set the handle buffer timeout alone.
HINFO_SETCHARCOUNT Set value for the maximum handle buffer count alone.

ir_options
Supplies the information level requested ( must be 1 for now ).
ir_data
Supplies pointer to the information buffer.
ir_length
Supplies size of the information buffer.
ir_error Returns status of the operation ( 0 if no error, errorcode otherwise ).
ir_length Returns the size of the information copied into the information buffer for the HINFO_GET command. This is not a return on any of the other commands.

An error is returned if the information buffer is not large enough to receive the information for the HINFO_GET command, or if the size does not match the expected size of the data for the appropriate set information commands.