include vmm.inc VMMcall Service, Parameters |
The VMMcall macro pushes the specified parameters on the stack, creates a dynamic link to the specified VMM service, and calls the service. When the service returns, the macro pops the parameters from the stack.
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 the VMM.
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.
The return value is as specified for the given service.
This macro pushes the parameters using the C-language calling convention, in order from right to left.