NdrClearOutParameters function

The NdrClearOutParameters function frees resources of the out parameter and clears its memory if the RPC call to the server fails.

Syntax

void NdrClearOutParameters(
  PMIDL_STUB_MESSAGE pStubMsg,
  PFORMAT_STRING     pFormat,
  void               *ArgAddr
);

Parameters

pStubMsg

Pointer to MIDL_STUB_MESSAGE structure that maintains the current status of the RPC stub. The structure is for internal use only and should not be modified.

pFormat

Pointer to the format string description.

ArgAddr

Pointer to the out parameter to be freed.

Return Value

This function does not return a value.

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