StackArgsSize
Returns the total size, in bytes, of the arguments passed on the stack of the enclosing procedure.
Syntax: StackArgsSize() As Long
The result is resolved at compile time and folded into the generated code as a numeric constant. Used inside a Naked procedure when the assembly needs to know how much to clean off the stack on return — for example, to issue the right ret n opcode under the _stdcall convention.
See Also
- StackOffset function
- Emit, EmitAny procedures
- Direct Assembly Insertion