3.2.4.31 Application Requests Querying Named Pipe Handle State

A client queries named pipe state by issuing an SMB_COM_TRANSACTION request (section 2.2.4.33.1) with the subcommand TRANS_QUERY_NMPIPE_STATE. The application MUST provide a FID indicating the open named pipe for which the state is being queried.

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

A client queries named pipe state by issuing an SMB_COM_TRANSACTION Request (section 2.2.4.33.1) with the subcommand TRANS_QUERY_NMPIPE_STATE (section 2.2.5.3). The application MUST provide a Client.Open identifying the open to the named pipe.

The client MUST construct the TRANS_QUERY_NMPIPE_STATE Request message, using the Client.Open.FID from the supplied open. The request MUST be sent to the server as specified in section 3.2.4.1. The TRANS_QUERY_NMPIPE_STATE Response (section 2.2.5.3.2) MUST be processed as specified in section 3.2.5.38.3. If the ReadMode bits (see section 2.2.1.3) of the NMPipeStatus field in the TRANS_QUERY_NMPIPE_STATE Response are zero, the client MUST set Client.Open.NamedPipeMessageMode to FALSE; otherwise, the client MUST set Client.Open.NamedPipeMessageMode to TRUE.