IPipeByte interface (objidlbase.h)

Transfers data of the byte type (which is 8 bits wide).

Inheritance

The IPipeByte interface inherits from the IUnknown interface. IPipeByte also has these types of members:

Methods

The IPipeByte interface has these methods.

 
IPipeByte::Pull

The IPipeByte::Pull (objidlbase.h) method retrieves data of the byte type from the pipe source.
IPipeByte::Push

The IPipeByte::Push (objidlbase.h) method sends data of the byte type to the pipe source.

Remarks

The IPipeByte, IPipeDouble, and IPipeLong interfaces are similar to the standard DCE/RPC pipes. However, the COM implementation of pipes offers more flexibility. With the COM implementation, the basic idea is that the pipe is simply another interface with two methods: Pull and Push. This results in three main benefits:

  • A COM pipe is another interface, so it can be received as an out parameter from a method call and then either Pull or Push can be called.
  • There are no restrictions on when to call the Pull and Push methods, so a pipe is in reality bidirectional.
  • Pipes are interfaces, so the method calls can be asynchronous and follow those rules.
For more information, see Pipes in the RPC documentation.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header objidlbase.h (include ObjIdl.h)

See also

IPipeDouble

IPipeLong