NdrStubGetBuffer function (rpcproxy.h)

The NdrStubGetBuffer function retrieves a buffer from the RPC channel.

Syntax

void NdrStubGetBuffer(
  [in]      IRpcStubBuffer     *This,
  [in]      IRpcChannelBuffer  *pRpcChannelBuffer,
  [in, out] PMIDL_STUB_MESSAGE pStubMsg
);

Parameters

[in] This

Pointer to the stub.

[in] pRpcChannelBuffer

Pointer to RPC channel.

[in, out] pStubMsg

Pointer to a MIDL_STUB_MESSAGE structure that maintains the current status of the RPC stub. The pRpcMsg member points to a structure whose Buffer member points to the newly allocated buffer. Structure is for internal use only; do not modify.

Return value

None

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 rpcproxy.h
Library Rpcrt4.lib
DLL Rpcrt4.dll

See also

IRpcChannelBuffer

IRpcStubBuffer