VMD_Get_Version

include vmd.inc
 
VxDcall VMD_Get_Version
mov     byte ptr [MajorVersion], ah
mov     byte ptr [MinorVersion], al
 

Retrieves the version number of VMOUSE. Uses EAX and Flags; clears the carry flag.

A VxD can use this service to determine whether VMOUSE is loaded. This is the only service that will not cause an invalid link error to occur if VMOUSE is not loaded.