Combining Pipe and Non-pipe Parameters

When you combine pipe types and other types in a remote procedure call, the data is transmitted differently depending on the direction of the parameter:

The following restriction applies to this (MIDL 3.0) implementation of pipes: When you combine pipe types and other types in a single remote procedure call, the non-pipe parameters must have a well-defined size in order to allow the MIDL compiler to calculate the buffer size needed. For example, you cannot combine pipe parameters with a unique pointer or a conformant structure, since their sizes cannot be determined at compile time.

See Also

pipe, /Oi