NdrProxyInitialize function

The NdrProxyInitialize function initializes the proxy for an object method.

Syntax

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

Parameters

This

Pointer to the interface proxy.

pRpcMsg

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

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.

ProcNum

Procedure number for the object method.

Return Value

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

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