IPipeLong interface (objidl.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 method (objidl.h) retrieves data of the long integer type from the pipe source.
IPipeLong::Push

The IPipeLong::Push method (objidl.h) 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 objidl.h (include ObjIdl.h)

See also

IPipeByte

IPipeDouble