NdrUserMarshalFree function (rpcndr.h)

The NdrUserMarshalFree function frees the user marshal object.

Syntax

void NdrUserMarshalFree(
  [in, out] PMIDL_STUB_MESSAGE pStubMsg,
  [in]      unsigned char      *pMemory,
  [in]      PFORMAT_STRING     pFormat
);

Parameters

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

Pointer to be freed.

[in] pFormat

Pointer's format string description.

Return value

None

Remarks

You should never free the top level object, it is freed by the system.

Requirements

Requirement Value
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