NdrStubInitialize function (rpcproxy.h)
The NdrStubInitialize function is called by the server stub before unmarshalling. It sets up some stub message fields.
Syntax
void NdrStubInitialize(
[in] PRPC_MESSAGE pRpcMsg,
[in, out] PMIDL_STUB_MESSAGE pStubMsg,
[in] PMIDL_STUB_DESC pStubDescriptor,
[in] IRpcChannelBuffer *pRpcChannelBuffer
);
Parameters
[in] pRpcMsg
Pointer to the RPC_MESSAGE structure which contains the RPC message.
[in, out] 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.
[in] 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.
[in] pRpcChannelBuffer
Pointer to RPC channel buffer.
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 |