Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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.
 
                                      ♦