ICallFrame::FreeParam method (callobj.h)

Frees the specified parameter in the frame.

Syntax

HRESULT FreeParam(
  [in] ULONG            iparam,
  [in] DWORD            freeFlags,
  [in] ICallFrameWalker *pWalkerFree,
  [in] DWORD            nullFlags
);

Parameters

[in] iparam

The number of the parameter to be freed.

[in] freeFlags

Represents flags from the CALLFRAME_FREE enumeration.

[in] pWalkerFree

A pointer to an instance of the ICallFrameWalker interface. When specified, a callback is made for each interface pointer encountered while freeing occurs. If this parameter is not specified, then the interface pointers are freed by the Release method.

[in] nullFlags

Represents flags from the CALLFRAME_NULL enumeration.

Return value

This method can return the following values.

Return code Description
S_OK
The method completed successfully.
E_UNEXPECTED
An unexpected error has occurred.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header callobj.h

See also

ICallFrame