IPipeLong interface (objidlbase.h)

Transfers data of the long integer type (which is 32 bits wide).

Inheritance

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

Methods

The IPipeLong interface has these methods.

 
IPipeLong::Pull

The IPipeLong::Pull (objidlbase.h) method retrieves data of the long integer type from the pipe source.
IPipeLong::Push

The IPipeLong::Push (objidlbase.h) method sends data of the long integer 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

IPipeByte

IPipeDouble