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.
PageSwap_Get_Version
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include pageswap.inc
 
VxDcall PageSwap_Get_Version
 
The PageSwap_Get_Version service returns the virtual PageSwap device version
number, the type of paging in effect, and the maximum size of the paging
file in pages.
 
This service has no parameters.
 
Return Value
 
The carry flag is clear if the virtual pageswap device is installed. The EAX
register contains version number, the ECX register contains the maximum size
of swap file in pages, and the BL register contains the pager type which is
one of the following values:
 
Value  Meaning
────────────────────────────────────────────────────────────────────────────
1      No pager
 
2      MS-DOS pager
 
3      Direct hardware pager
 
The carry flag is set and the EAX register contains zero if the virtual
device is not installed.
 
Comments
 
The maximum swap file size will not be valid until after the Device_Init
message is processed.
 
Uses
 
Flags
 
                                      ♦