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.
BlockDev_Get_Version
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include blockdev.inc
 
VXDcall BlockDev_Get_Version
 
mov     dword ptr [version], eax    ; block device version number
mov     dword ptr [flags], ecx      ; block device flags
 
The BlockDev_Get_Version service returns the version number and flags for
the virtual block device.
 
Parameter                              Description
────────────────────────────────────────────────────────────────────────────
 
 
This service has no entry parameters.  Return Value
 
The service returns values in the following registers:
 
Register  Value
────────────────────────────────────────────────────────────────────────────
EAX       Specifies the version number for the virtual block device.
 
ECX       Specifies the flags for the virtual block device. Bit 0 must be
          set to 0 for compatibility with Windows 3.0. All other bits
          currently reserved and must be 0.
 
Uses
 
EAX, ECX
 
                                      ♦