PageSwap_Get_Version

include pageswap.inc

VxDcall PageSwap_Get_Version


The PageSwap_Get_Version service returns the virtual page swap device version number, the type of paging in effect, and the maximum size of the paging file in pages.

Parameters

This service has no parameters.

Return Value

The carry flag is clear if the virtual page swap 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. The pager type can be 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