IRpcStubBuffer::Invoke method

Invokes the interface that a stub represents.

Syntax


HRESULT Invoke(
  [in, out] RPCOLEMESSAGE     *prpcmsg,
  [in]      IRpcChannelBuffer *pRpcChannelBuffer
);

Parameters

prpcmsg [in, out]

A pointer to an RPCOLEMESSAGE data structure containing the marshaled invocation arguments.

pRpcChannelBuffer [in]

A pointer to an IRpcChannelBuffer interface that controls an RPC marshaling channel.

Return value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | UWP apps]

Minimum supported server

Windows 2000 Server [desktop apps | UWP apps]

Header

ObjIdl.h

IDL

ObjIdl.idl

IID

IID_IRpcStubBuffer is defined as D5F56AFC-593B-101A-B569-08002B2DBF7A

See also

IRpcStubBuffer

 

 

Show: