ICallIndirect::GetStackSize method (callobj.h)

Retrieves the number of bytes that should be popped from the stack in order to return from an invocation of the method.

Syntax

HRESULT GetStackSize(
  [in]  ULONG iMethod,
  [out] ULONG *cbArgs
);

Parameters

[in] iMethod

The method number.

[out] cbArgs

The number of bytes to be popped from the stack to clear the stack of arguments to an invocation.

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

ICallIndirect