NdrProxyInitialize function (rpcproxy.h)

The NdrProxyInitialize function initializes the proxy for an object method.

Syntax

void NdrProxyInitialize(
  [in]      void               *This,
  [in]      PRPC_MESSAGE       pRpcMsg,
  [in, out] PMIDL_STUB_MESSAGE pStubMsg,
  [in]      PMIDL_STUB_DESC    pStubDescriptor,
  [in]      unsigned int       ProcNum
);

Parameters

[in] This

Pointer to the interface proxy.

[in] pRpcMsg

Pointer to an RPC_MESSAGE structure that contains information about the RPC request.

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

Procedure number for the object method.

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