LeaveProc
include vmm.inc
LeaveProc
LeaveProc PRESERVE_FLAGS
Prepares to exit a procedure by removing local stack variables.
- PRESERVE_FLAGS
- An optional parameter, normally omitted. If present and identical to the word PRESERVE_FLAGS, indicates that the act of removing local stack variables should not modify the flags register. This is in violation of the C, Pascal, and StdCall calling conventions (that flags are unimportant) and generates slower code, so it should be avoided if at all possible.
This macro is used in writing assembly-language procedures which use the C, Pascal, or StdCall calling convention. See the description of the ArgVar macro for additional information.
See Also
Debug_Test_Valid_Handle