3.4.4.3 An RPC Client Application Reads from a Named Pipe
The caller supplies the following:
The ClientGenericContext structure returned by the interface specified in section 3.4.4.1.
The buffer to be filled with data read from the named pipe.
If the ClientGenericContext.ProtocolDialect is that specified in [MS-CIFS] or in [MS-SMB], the request MUST be handled as specified in section 3.2.4.14 with the following as input parameters:
Client.Open: The ProtocolSpecificOpen field from the ClientGenericContext structure supplied by the caller.
Offset: zero.
The size of the caller-supplied buffer, in bytes.
The minimum number of bytes to read, which is the same as the size of the caller-supplied buffer.
Timeout: zero.
If the ClientGenericContext.ProtocolDialect is that specified in [MS-SMB2], the request MUST be handled as specified in [MS-SMB2] section 3.2.4.6 with the following as input parameters:
Open: The ProtocolSpecificOpen field from the ClientGenericContext structure supplied by the caller.
Offset: zero.
The size of the caller-supplied buffer, in bytes.
An optional minimum number of bytes to read: Not provided.