Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
cCall
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
cCall Procedure, Parameters
 
The cCall macro pushes the specified parameters on the stack and calls the
specified procedure. When the procedure returns, the macro pops the
parameters from the stack.
 
Parameter   Description
────────────────────────────────────────────────────────────────────────────
 
Procedure   Specifies the name of the procedure to call. This parameter can
            be either a local or public procedure, but must be defined
            within the virtual device making the call.
 
Parameters  Specifies the parameters to pass to the specified procedure. If
            more than one parameter is given, they must be separated with
            commas and enclosed in angle brackets (<>). This parameter is
            optional.
 
Return Value
 
The return value is as specified for the given service.
 
Comments
 
This macro pushes the parameters using the C-language calling convention, in
order from right to left.
 
See Also
 
VMMcall, VxDcall