3.2.4.30 Application Requests Setting Named Pipe State

A client requests setting the state of a named pipe by issuing an SMB_COM_TRANSACTION Request with the subcommand TRANS_SET_NMPIPE_STATE. The application MUST provide a Client.Open of the named pipe to which the state change is to be applied. The application provides the pipe state as specified in section 2.2.5.1.1.

The client MUST construct the TRANS_SET_NMPIPE_STATE request message. The request MUST be sent to the server as specified in section 3.2.4.1.

If the ReadMode bits (see section 2.2.1.3) of the PipeState field in the TRANS_SET_NMPIPE_STATE Request (section 2.2.5.1.1) are zero, the client MUST set Client.Open.NamedPipeMessageMode to FALSE; otherwise, the client MUST set Client.Open.NamedPipeMessageMode to TRUE.