EndProc

include vmm.inc

EndProc ProcName
EndProc ProcName, NoCheck
 

Marks the end of a procedure definition. This macro is used in conjunction with the BeginProc macro to define a procedure in a virtual device.

ProcName
Name of the procedure. This name must have been used in the BeginProc macro that started the procedure definition.
NoCheck
If the optional NoCheck keyword is provided, then the normal compile-time checks for stack balance and proper use of the ArgVar, LocalVar, EnterProc, LeaveProc, and Return macros is suppressed. The default value performs the checks.

See Also

BeginProc