Export (0) Print
Expand All

NdrStubInitialize function

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

Syntax


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

Parameters

pRpcMsg [in]

Pointer to the RPC_MESSAGE structure which contains the RPC message.

pStubMsg [in, out]

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 [in]

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 [in]

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]

Header

Rpcproxy.h

Library

RpcRT4.lib

DLL

RpcRT4.dll

See also

IRpcChannelBuffer

 

 

Community Additions

ADD
Show:
© 2014 Microsoft