ICallFrame::SetParam method (callobj.h)

Sets the value of a specified parameter in the call frame.

Syntax

HRESULT SetParam(
  [in] ULONG   iparam,
  [in] VARIANT *pvar
);

Parameters

[in] iparam

The parameter number.

[in] pvar

The new value for the parameter.

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