VxDcall

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.

Parameters

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