NdrAsyncClientCall function (rpcndr.h)

The NdrAsyncClientCall function is the asynchronous client-side entry point for the /Oi and /Oic mode stub.

Syntax

CLIENT_CALL_RETURN RPC_VAR_ENTRY NdrAsyncClientCall(
  PMIDL_STUB_DESC pStubDescriptor,
  PFORMAT_STRING  pFormat,
  ...             
);

Parameters

pStubDescriptor

Pointer to the MIDL-generated MIDL_STUB_DESC structure that contains information about the description of the remote interface.

pFormat

Pointer to the MIDL-generated procedure format string that describes the method and parameters.

...

Pointer to the client-side calling stack.

Return value

Return value of the remote call. The maximum size of a return value is equivalent to the register size of the system. MIDL switches to the /Os mode stub if the return value size is larger than the register size.

Depending on the method definition, this function can throw an exception if there is a network or server failure.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header rpcndr.h (include Rpc.h)
Library RpcRT4.lib
DLL RpcRT4.dll