ICallIndirect::GetStackSize method

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

iMethod [in]

The method number.

cbArgs [out]

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 codeDescription
S_OK

The method completed successfully.

E_UNEXPECTED

An unexpected error has occurred.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Callobj.h

IDL

Callobj.idl

IID

IID_ICallIndirect is defined as D573B4B1-894E-11d2-B8B6-00C04FB9618A

See also

ICallIndirect

 

 

Show: