Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

NdrStubGetBuffer function

The NdrStubGetBuffer function retrieves a buffer from the RPC channel.

Syntax


RPCRTAPI void RPC_ENTRY NdrStubGetBuffer(
  _In_    IRpcStubBuffer     *This,
  _In_    IRpcChannelBuffer  *pRpcChannelBuffer,
  _Inout_ PMIDL_STUB_MESSAGE pStubMsg
);

Parameters

This [in]

Pointer to the stub.

pRpcChannelBuffer [in]

Pointer to RPC channel.

pStubMsg [in, out]

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

This function has no return value. Throws an exception upon error.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Rpcproxy.h

Library

RpcRT4.lib

DLL

RpcRT4.dll

See also

IRpcChannelBuffer
IRpcStubBuffer

 

 

Community Additions

ADD
Show:
© 2015 Microsoft