Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
VxDcall
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
VxDcall Service
 
The VxDcall macro pushes the specified parameters on the stack, creates a
dynamic link to the specified virtual device service, and calls the service.
When the service returns, the macro pops the parameters from the stack.
 
Parameter   Description
────────────────────────────────────────────────────────────────────────────
 
Service     Specifies the name of the service to link to and call. This
            parameter can be any service that is explicitly defined in the
            service table for a given virtual device.
 
Parameters  Specifies the parameters to pass to the specified service. 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, VxDjmp