3.4.4.2 An RPC Client Application Writes to 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 written to 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.15 with the following as input parameters:

  • Client.Open: The ProtocolSpecificOpen field from the ClientGenericContext structure supplied by the caller.

  • Offset: zero.

  • A buffer supplied by the caller.

  • Write-through mode: TRUE.

  • 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.7 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.

  • A buffer supplied by the caller.