ICallFrame::GetParam method (callobj.h)

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

Syntax

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

Parameters

[in] iparam

The parameter number.

[out] pvar

The value of 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