Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
VPICD_API_Get_Ver
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include bimodint.inc
 
mov     ax, VPICD_API_Get_Ver
call    [lpfnVPICD]             ; VPICD entry point address
 
jc      error                   ; carry set on error
mov     [Major], ah             ; major version number
mov     [Minor], al             ; minor version number
 
The VPICD_API_Get_Ver function returns the major and minor version numbers
for the virtual PIC device.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
lpfnVPICD  Specifies the entry point address of the API handler for the
           virtual PIC device.
 
Return Value
 
The carry flag is clear and the AX register contains the major and minor
version numbers, if the function is successful.
 
                                      ♦