SHELL_Get_Version

include shell.inc
VxDcall SHELL_Get_Version
jc  error
mov [Major], ah
mov [Minor], al
 

Returns the version number for the virtual shell device. Uses EAX and Flags.