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 RPC_ENTRY NdrClearOutParameters(
  _In_    PMIDL_STUB_MESSAGE *pStubMsg,
  _In_    PFORMAT_STRING     *pFormat,
  _Inout_ void               *ArgAddr
);

Parameters

pStubMsg [in]

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

Pointer to the format string description.

ArgAddr [in, out]

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 | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Rpcndr.h (include Rpc.h)

Library

RpcRT4.lib

DLL

RpcRT4.dll

 

 

Show: