NdrStubInitialize function

The NdrStubInitialize function is called by the server stub before unmarshalling. It sets up some stub message fields.

Syntax

void NdrStubInitialize(
  PRPC_MESSAGE       pRpcMsg,
  PMIDL_STUB_MESSAGE pStubMsg,
  PMIDL_STUB_DESC    pStubDescriptor,
  IRpcChannelBuffer  *pRpcChannelBuffer
);

Parameters

pRpcMsg

Pointer to the RPC_MESSAGE structure which contains the RPC message.

pStubMsg

Pointer to a MIDL_STUB_MESSAGE structure that maintains the current status of the RPC stub. Structure is for internal use only; do not modify.

pStubDescriptor

Pointer to a MIDL_STUB_DESC structure that contains a descriptor for the RPC stub. Structure is for internal use only; do not modify.

pRpcChannelBuffer

Pointer to RPC channel buffer.

Return Value

This function does not return a value.

Requirements

   
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